@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --r40-black: #050505;
  --r40-ink: #0b0b0d;
  --r40-graphite: #161618;
  --r40-white: #ffffff;
  --r40-soft: #f5f5f7;
  --r40-light: #fafafa;
  --r40-line: rgba(5, 5, 5, 0.12);
  --r40-line-dark: rgba(255, 255, 255, 0.14);
  --r40-muted: rgba(5, 5, 5, 0.62);
  --r40-muted-dark: rgba(255, 255, 255, 0.68);

  --r40-accent: #d7ff00;
  --r40-accent-dark: #afcf00;
  --r40-accent-soft: rgba(215, 255, 0, 0.16);
  --r40-accent-shadow: rgba(215, 255, 0, 0.28);

  --r40-radius: 24px;
  --r40-radius-sm: 14px;
  --r40-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --r40-max: 1240px;
  --r40-header: 76px;
}

/* ==========================================================================
   BASE
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.recode40-page {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--r40-ink);
  background: var(--r40-white);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}


body.recode40-page a {
  color: inherit;
}

body.recode40-page p {
  margin: 0;
  line-height: 1.75;
}

.naglowek-listingu{
	font-size:18px;
}

body.recode40-page h1,
body.recode40-page h2,
body.recode40-page h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

body.recode40-page h1 {
  font-size: clamp(46px, 5.1vw, 72px);
  font-weight: 600;
}

body.recode40-page h2 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
}

body.recode40-page h3 {
  font-size: clamp(23px, 1.8vw, 30px);
  font-weight: 600;
}

.r40-container {
  width: min(calc(100% - 48px), var(--r40-max));
  margin-inline: auto;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.r40-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: var(--r40-radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  appearance: none;
  font-family: inherit;
  white-space: nowrap;
}

.r40-btn span {
  transition: transform 0.25s ease;
}

.r40-btn:hover {
  transform: translateY(-2px);
}

.r40-btn:hover span {
  transform: translateX(4px);
}

.r40-btn--primary {
  background: var(--r40-black);
  color: var(--r40-white);
  border-color: var(--r40-black);
}

.r40-btn--primary:hover {
  background: var(--r40-accent);
  color: var(--r40-black);
  border-color: var(--r40-accent);
  box-shadow: 0 18px 48px var(--r40-accent-shadow);
}

.r40-btn--secondary {
  background: transparent;
  color: var(--r40-black);
  border-color: rgba(5, 5, 5, 0.18);
}

.r40-btn--secondary:hover {
  border-color: var(--r40-black);
  background: var(--r40-white);
  box-shadow: var(--r40-shadow);
}

.r40-btn--light {
  background: var(--r40-white);
  color: var(--r40-black);
  border-color: var(--r40-white);
}

.r40-btn--outline-light {
  background: transparent;
  color: var(--r40-white);
  border-color: rgba(255, 255, 255, 0.26);
}

.r40-btn--outline-light:hover {
  background: var(--r40-accent);
  color: var(--r40-black);
  border-color: var(--r40-accent);
  box-shadow: 0 18px 48px var(--r40-accent-shadow);
}

.r40-btn--full {
  width: 100%;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.r40-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--r40-header));
  background: var(--r40-white);
}

.r40-hero__media,
.r40-hero__content {
  min-height: calc(100vh - var(--r40-header));
}

.r40-hero__media {
  background: var(--r40-black);
}

.r40-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) clamp(34px, 7vw, 105px);
}

.r40-hero__content p:not(.r40-eyebrow):not(.r40-lead) {
  max-width: 610px;
  color: rgba(5, 5, 5, 0.78);
  font-size: 18px;
}

.r40-lead {
  max-width: 680px;
  margin-top: 30px !important;
  margin-bottom: 22px !important;
  color: var(--r40-black);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.45 !important;
  letter-spacing: 0;
}

.r40-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

/* ==========================================================================
   IMAGES
   ========================================================================== */

.r40-image {
  position: relative;
  overflow: hidden;
  
}

.r40-image--hero {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--r40-header));
}

.r40-image--portrait,
.r40-image--about {
  min-height: 660px;
  border-radius: 0;
}

.r40-image--about {
  background: #111;
}

.r40-image__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
}

.r40-image__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(120deg, #1d1d1f, #070707 45%, #232323);
}

.r40-image__placeholder::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  z-index: -1;
}

.r40-image__placeholder span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.r40-image__placeholder small {
  color: rgba(255, 255, 255, 0.5);
}

.r40-image__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.r40-image__photo img{
border-radius:20px}


.r40-image__placeholder:has(.r40-image__photo)::before,
.r40-image__placeholder:has(.r40-image__photo)::after {
  display: none;
}

.r40-image--hero .r40-image__placeholder {
  background: var(--r40-black);
}

.r40-image--hero .r40-image__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--r40-black);
}


/* ==========================================================================
   RECODE40 — ABOUT GALLERY
   ========================================================================== */

.r40-about-gallery {
  position: relative;
  min-height: 660px;
  border-radius: 20px;
  background: #111;
  overflow: hidden;
  isolation: isolate;
}

.r40-about-gallery__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #111;
}

.r40-about-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 1.25s ease,
    transform 1.8s ease;
  pointer-events: none;
}

.r40-about-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.r40-about-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.r40-about-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 58%, rgba(5, 5, 5, 0.28) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 34%);
}

.r40-about-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.46);
  color: var(--r40-white);
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.r40-about-gallery__arrow:hover {
  background: var(--r40-accent);
  border-color: var(--r40-accent);
  color: var(--r40-black);
}

.r40-about-gallery__arrow--prev {
  left: 18px;
}

.r40-about-gallery__arrow--next {
  right: 18px;
}

.r40-about-gallery__arrow--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.r40-about-gallery__arrow--next:hover {
  transform: translateY(-50%) translateX(2px);
}

.r40-about-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.r40-about-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.r40-about-gallery__dot.is-active {
  width: 22px;
  background: var(--r40-accent);
}

@media (max-width: 980px) {
  .r40-about-gallery {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .r40-about-gallery {
    min-height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .r40-about-gallery__arrow {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .r40-about-gallery__arrow--prev {
    left: 12px;
  }

  .r40-about-gallery__arrow--next {
    right: 12px;
  }

  .r40-about-gallery__dots {
    bottom: 14px;
  }
}


/* ==========================================================================
   WORDMARK
   ========================================================================== */

.r40-wordmark {
  overflow: hidden;
  background: var(--r40-black);
  color: var(--r40-white);
  padding: clamp(36px, 6vw, 74px) 0 clamp(44px, 6.4vw, 88px);
}

.r40-wordmark__track {
  display: flex;
  width: max-content;
  gap: 0.25em;
  animation: r40-marquee 22s linear infinite;
  will-change: transform;
}

.r40-wordmark span {
  display: inline-block;
  padding-inline: 0.18em;
  font-size: clamp(72px, 14vw, 218px);
  font-weight: 300;
  letter-spacing: 0.13em;
  line-height: 0.82;
  white-space: nowrap;
}

@keyframes r40-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.r40-section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.r40-section--white {
  background: var(--r40-white);
}

.r40-section--light {
  background: var(--r40-light);
}

.r40-section--soft {
  background: var(--r40-soft);
}

.r40-section--black {
  background: var(--r40-black);
  color: var(--r40-white);
}

.r40-section--black p {
  color: var(--r40-muted-dark);
}

.r40-eyebrow {
  margin-bottom: 24px !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1.2 !important;
  color: var(--r40-accent-dark);
}

.r40-section-head {
  max-width: 860px;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.r40-section-head p:not(.r40-eyebrow) {
  margin-top: 28px;
  max-width: 760px;
  font-size: 20px;
  color: var(--r40-muted);
}

.r40-section--black .r40-section-head p:not(.r40-eyebrow) {
  color: var(--r40-muted-dark);
}

/* ==========================================================================
   LAYOUT BLOCKS
   ========================================================================== */

.r40-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.r40-split--divider .r40-split__title {
  border-right: 1px solid rgba(5, 5, 5, 0.42);
  padding-right: clamp(40px, 7vw, 100px);
}

.r40-split__content {
  max-width: 600px;
}

.r40-strong {
  font-weight: 700;
  color: var(--r40-black);
}

.r40-arrow-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(5, 5, 5, 0.76);
  font-size: 18px;
}

.r40-arrow-list li::before {
  content: '→';
  margin-right: 7px;
  color: var(--r40-black);
}

.r40-section-punch {
  margin-top: clamp(60px, 6vw, 92px) !important;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.05 !important;
  letter-spacing: 0;
}

.r40-media-copy {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.r40-media-copy--reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.r40-media-copy__content p:not(.r40-eyebrow):not(.r40-quote) {
  margin-top: 22px;
  max-width: 720px;
  font-size: 18px;
  color: var(--r40-muted);
}

.r40-section--black .r40-media-copy__content p:not(.r40-eyebrow):not(.r40-quote) {
  color: var(--r40-muted-dark);
}

.r40-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.r40-pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: var(--r40-soft);
  border: 1px solid var(--r40-line);
  color: var(--r40-black);
}

.r40-not-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.r40-not-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--r40-line-dark);
  color: var(--r40-white);
  background: rgba(255, 255, 255, 0.05);
}

.r40-quote {
  margin-top: 34px !important;
  padding-left: 26px;
  border-left: 3px solid var(--r40-accent);
  color: var(--r40-white) !important;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: 0;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.r40-card-grid {
  display: grid;
  gap: 18px;
}

.r40-card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.r40-card {
  min-height: 330px;
  padding: 34px;
  border-radius: var(--r40-radius);
  border: 1px solid var(--r40-line);
  background: var(--r40-white);
}

.r40-card--dark {
  border-color: var(--r40-line-dark);
  background: rgba(255, 255, 255, 0.055);
}

.r40-card__number {
  display: block;
  margin-bottom: 35px;
  color: var(--r40-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.r40-card h3 {
  margin-bottom: 22px;
}

.r40-card p {
  color: var(--r40-muted-dark);
}

/* ==========================================================================
   RESULTS
   ========================================================================== */

.r40-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.r40-result {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--r40-line);
  border-radius: 22px;
  background: var(--r40-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.r40-result span {
  color: var(--r40-accent-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.r40-result__icon {
  width: 90px;
  height: 90px;
  margin: auto 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--r40-black);
}

.r40-result__icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.r40-result__icon img {
  width: 70px;
  height: 70px;
  display: block;
}

.r40-result p {
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.r40-section--testimonials {
  position: relative;
  overflow: hidden;
}

.r40-section--testimonials::before,
.r40-section--testimonials::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.r40-section--testimonials::before {
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(215, 255, 0, 0.12) 0%, rgba(215, 255, 0, 0.05) 34%, rgba(215, 255, 0, 0) 72%);
  filter: blur(30px);
}

.r40-section--testimonials::after {
  right: -140px;
  bottom: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(215, 255, 0, 0.1) 0%, rgba(215, 255, 0, 0.04) 34%, rgba(215, 255, 0, 0) 72%);
  filter: blur(34px);
}

.r40-section--testimonials .r40-container {
  position: relative;
  z-index: 1;
}

.r40-testimonials {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.r40-testimonials__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: r40-testimonials-marquee 42s linear infinite;
  will-change: transform;
}

.r40-testimonials:hover .r40-testimonials__track {
  animation-play-state: paused;
}

.r40-testimonial-card {
 position: relative;
  width: 580px;
  min-height: 260px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.98));
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}


.r40-testimonial-card__text,
.r40-testimonial-card__author {
  position: relative;
  z-index: 1;
}

.r40-testimonial-card__text {
  font-size: 18px;
  line-height: 1.75 !important;
  color: rgba(5, 5, 5, 0.8);
}

.r40-testimonial-card__author {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
  display: grid;
  gap: 6px;
}

.r40-testimonial-card__author strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--r40-black);
}

.r40-testimonial-card__author span {
  display: block;
  font-size: 14px;
  color: var(--r40-muted);
  letter-spacing: 0.04em;
}

@keyframes r40-testimonials-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

/* ==========================================================================
   WOO OFFER / PRODUCT CARDS
   ========================================================================== */

.r40-offer-section {
  position: relative;
  overflow: hidden;
  background: var(--r40-soft);
}

.r40-offer-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 255, 0, 0.13) 0%, rgba(215, 255, 0, 0.04) 34%, rgba(215, 255, 0, 0) 72%);
  filter: blur(34px);
  pointer-events: none;
}

.r40-offer-section .r40-container {
  position: relative;
  z-index: 1;
}

.r40-packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
}

.r40-package-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1.05fr;
  gap: 0;
  min-height: auto;
  padding: 0;
  border-radius: 32px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.13), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
  color: var(--r40-black);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
}

.r40-package-card__top {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(5, 5, 5, 0.08);
}

.r40-package-card__content {
  display: contents;
}

.r40-package-card__top h3 {
  margin-bottom: 28px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 0.98;
  font-weight: 700;
  color: var(--r40-black);
}

.r40-package-price {
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.1;
  color: rgba(5, 5, 5, 0.62);
}

.r40-consultation-product__main .r40-package-price .woocommerce-Price-amount{
color:#fff!important;
}

.r40-package-price .woocommerce-Price-amount,
.r40-package-price bdi {
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 700;
  color: var(--r40-black);
  letter-spacing: 0;
}

.r40-package-price del {
  opacity: 0.45;
  margin-right: 8px;
}

.r40-package-price ins {
  text-decoration: none;
}

.r40-product-form {
  display: grid;
  gap: 18px;
  max-width: 440px;
  margin-bottom: 0;
}

.r40-product-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.r40-product-variant {
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(5, 5, 5, 0.14);
  background: rgba(255, 255, 255, 0.75);
  color: var(--r40-black);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.r40-product-variant:hover {
  transform: translateY(-1px);
  background: var(--r40-white);
  border-color: rgba(5, 5, 5, 0.36);
}

.r40-product-variant.is-active {
  background: var(--r40-accent);
  border-color: var(--r40-accent);
  color: var(--r40-black);
  box-shadow: 0 12px 34px rgba(215, 255, 0, 0.24);
}

.r40-product-submit {
  width: 100%;
  min-height: 58px;
}

.r40-package-card .r40-product-submit {
  background: var(--r40-black);
  border-color: var(--r40-black);
  color: var(--r40-white) !important;
  box-shadow: none;
}

.r40-package-card .r40-product-submit:hover {
  background: var(--r40-accent) !important;
  border-color: var(--r40-accent) !important;
  color: var(--r40-black) !important;
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.28) !important;
}

.r40-product-short,
.r40-product-long {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
  color: rgba(5, 5, 5, 0.72);
  font-size: 17px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.r40-product-short {
  border-right: 1px solid rgba(5, 5, 5, 0.08);
}

.r40-product-long {
  font-size: 16px;
}

.r40-product-short p,
.r40-product-long p {
  margin: 0 0 16px;
  color: rgba(5, 5, 5, 0.72);
  line-height: 1.65 !important;
}

.r40-product-short p:last-child,
.r40-product-long p:last-child {
  margin-bottom: 0;
}

.r40-product-short ul,
.r40-product-long ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r40-product-short li,
.r40-product-long li {
  position: relative;
  padding-left: 26px;
  color: rgba(5, 5, 5, 0.72);
  line-height: 1.55;
}

.r40-product-short li::before,
.r40-product-long li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--r40-accent-dark);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.r40-product-unavailable {
  padding: 16px;
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.05);
  color: rgba(5, 5, 5, 0.7);
  font-weight: 700;
}

/* ==========================================================================
   CONSULTATION PRODUCT
   ========================================================================== */

.r40-consultation-product {
  position: relative;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.92fr 1fr 1.05fr;
  border-radius: 34px;
  border: 1px solid rgba(215, 255, 0, 0.22);
  background: var(--r40-black);
  color: var(--r40-white);
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.16);
}

.r40-consultation-product::before {
  content: '';
  position: absolute;
  left: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 255, 0, 0.18) 0%, rgba(215, 255, 0, 0.06) 36%, rgba(215, 255, 0, 0) 72%);
  filter: blur(30px);
  pointer-events: none;
}

.r40-consultation-product__main,
.r40-consultation-product__short,
.r40-consultation-product__long {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
}

.r40-consultation-product__main,
.r40-consultation-product__short {
  border-right: 1px solid rgba(215, 255, 0, 0.18);
}

.r40-consultation-product .r40-eyebrow {
  color: var(--r40-accent);
  margin-bottom: 24px !important;
}

.r40-consultation-product h3 {
  margin-bottom: 28px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 0.98;
  font-weight: 700;
  color: var(--r40-white);
}

.r40-package-price--consultation {
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.68);
}

.r40-package-price--consultation .woocommerce-Price-amount,
.r40-package-price--consultation bdi {
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 700;
  color: var(--r40-white);
  letter-spacing: 0;
}

.r40-package-price--consultation del {
  opacity: 0.45;
  margin-right: 8px;
}

.r40-package-price--consultation ins {
  text-decoration: none;
}

.r40-consultation-product__main .r40-product-form {
  display: grid;
  gap: 18px;
  max-width: 440px;
  margin-bottom: 0;
}

.r40-consultation-product__short,
.r40-consultation-product__long {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.r40-consultation-product__short p,
.r40-consultation-product__long p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65 !important;
}

.r40-consultation-product__short p:last-child,
.r40-consultation-product__long p:last-child {
  margin-bottom: 0;
}

.r40-consultation-product__short ul,
.r40-consultation-product__long ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r40-consultation-product__short li,
.r40-consultation-product__long li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.r40-consultation-product__short li::before,
.r40-consultation-product__long li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--r40-accent);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.r40-consultation-product .r40-btn--primary,
.r40-consultation-product .r40-product-submit {
  background: var(--r40-accent);
  border-color: var(--r40-accent);
  color: var(--r40-black) !important;
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.18);
}

.r40-consultation-product .r40-btn--primary:hover,
.r40-consultation-product .r40-product-submit:hover {
  background: var(--r40-white) !important;
  border-color: var(--r40-white) !important;
  color: var(--r40-black) !important;
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.16) !important;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.r40-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.r40-process-step {
  min-height: 300px;
  padding: 28px;
  border-radius: 24px;
  background: var(--r40-soft);
  border: 1px solid var(--r40-line);
}

.r40-process-step span {
  display: block;
  color: var(--r40-accent-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 70px;
}

.r40-process-step h3 {
  font-size: 27px;
  margin-bottom: 18px;
}

.r40-process-step p {
  color: var(--r40-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.r40-final-cta {
  padding: clamp(92px, 11vw, 170px) 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(215, 255, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #050505, #121214 58%, #050505);
  color: var(--r40-white);
  overflow: hidden;
}

.r40-final-cta__inner {
  max-width: 900px;
}

.r40-final-cta p:not(.r40-eyebrow) {
  margin-top: 28px;
  max-width: 720px;
  color: var(--r40-muted-dark);
  font-size: 20px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.r40-contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.r40-contact__content p:not(.r40-eyebrow) {
  margin-top: 26px;
  max-width: 600px;
  color: var(--r40-muted);
  font-size: 19px;
}

.r40-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.r40-contact-cards a {
  padding: 20px;
  min-height: 108px;
  border-radius: 20px;
  border: 1px solid var(--r40-line);
  background: var(--r40-soft);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.r40-contact-cards a:hover {
  transform: translateY(-2px);
  background: var(--r40-white);
  border-color: var(--r40-accent-dark);
}

.r40-contact-cards span {
  display: block;
  color: var(--r40-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.r40-form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 32px;
  border: 1px solid var(--r40-line);
  background: var(--r40-soft);
  display: grid;
  gap: 16px;
}

.r40-form label {
  display: grid;
  gap: 8px;
}

.r40-form label span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.62);
}

.r40-form input,
.r40-form select,
.r40-form textarea {
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 16px;
  background: var(--r40-white);
  color: var(--r40-black);
  min-height: 56px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.r40-form textarea {
  resize: vertical;
  min-height: 130px;
}

.r40-form input:focus,
.r40-form select:focus,
.r40-form textarea:focus {
  border-color: var(--r40-accent-dark);
  box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.22);
}

.r40-form-note {
  color: var(--r40-muted);
  font-size: 13px;
  line-height: 1.5 !important;
}


/* ==========================================================================
   RECODE40 — Contact form alerts / consent
   ========================================================================== */

.r40-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.r40-form-alert {
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.r40-form-alert--success {
  border: 1px solid rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
}

.r40-form-alert--error {
  border: 1px solid rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.r40-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.r40-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  accent-color: var(--r40-black);
}

.r40-form-consent span {
  margin: 0;
  color: rgba(5, 5, 5, 0.66);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

/* ==========================================================================
   RECODE40 — Contact form consent fix
   ========================================================================== */

.r40-form .r40-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.r40-form .r40-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--r40-black);
  cursor: pointer;
}

.r40-form .r40-form-consent span {
  display: block;
  margin: 0;
  color: rgba(5, 5, 5, 0.66);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.r40-form .r40-form-consent a {
  color: var(--r40-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.r40-form .r40-form-consent a:hover {
  color: var(--r40-accent-dark);
}

/* ==========================================================================
   WOO ARCHIVE
   ========================================================================== */

.r40-shop-archive {
  background: var(--r40-soft);
}

.r40-shop-archive__hero {
  padding: clamp(90px, 9vw, 150px) 0 clamp(42px, 5vw, 72px);
  background: var(--r40-white);
}

.r40-shop-archive__hero-inner {
  max-width: 920px;
}

.r40-shop-archive__hero h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.03;
  font-weight: 700;
}

.r40-shop-archive__hero p {
  margin-top: 24px;
  max-width: 720px;
  color: var(--r40-muted);
  font-size: 20px;
  line-height: 1.65;
}

/* ==========================================================================
   ANIMATION
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   WORDPRESS / ELEMENTOR LINK HOTFIX
   ========================================================================== */

body.recode40-page .r40-btn,
body.recode40-page a.r40-btn,
body.recode40-page .r40-btn:link,
body.recode40-page .r40-btn:visited,
body.recode40-page .r40-btn:hover,
body.recode40-page .r40-btn:focus,
body.recode40-page .r40-btn:active {
  text-decoration: none !important;
  opacity: 1 !important;
}

body.recode40-page .r40-btn--primary,
body.recode40-page a.r40-btn--primary,
body.recode40-page .r40-btn--primary:link,
body.recode40-page .r40-btn--primary:visited,
body.recode40-page .r40-btn--outline-light,
body.recode40-page a.r40-btn--outline-light,
body.recode40-page .r40-btn--outline-light:link,
body.recode40-page .r40-btn--outline-light:visited {
  color: #ffffff !important;
}

body.recode40-page .r40-btn--secondary,
body.recode40-page a.r40-btn--secondary,
body.recode40-page .r40-btn--secondary:link,
body.recode40-page .r40-btn--secondary:visited,
body.recode40-page .r40-btn--light,
body.recode40-page a.r40-btn--light,
body.recode40-page .r40-btn--light:link,
body.recode40-page .r40-btn--light:visited {
  color: #050505 !important;
}


body.recode40-page .r40-btn span,
body.recode40-page .r40-btn strong,
body.recode40-page .r40-btn em {
  color: inherit !important;
  text-decoration: none !important;
}

body.recode40-page .r40-btn--primary:hover,
body.recode40-page a.r40-btn--primary:hover,
body.recode40-page .r40-btn--outline-light:hover,
body.recode40-page a.r40-btn--outline-light:hover {
  color: #050505 !important;
  background: #d7ff00 !important;
  border-color: #d7ff00 !important;
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.28) !important;
}

body.recode40-page .r40-package-card .r40-product-submit,
body.recode40-page .r40-package-card .r40-product-submit:link,
body.recode40-page .r40-package-card .r40-product-submit:visited {
  color: #ffffff !important;
}

body.recode40-page .r40-package-card .r40-product-submit:hover {
  color: #050505 !important;
}

body.recode40-page .r40-consultation-product .r40-product-submit,
body.recode40-page .r40-consultation-product .r40-product-submit:link,
body.recode40-page .r40-consultation-product .r40-product-submit:visited,
body.recode40-page .r40-consultation-product .r40-product-submit:hover {
  color: #050505 !important;
}


/* ==========================================================================
   LAPTOP COMPACT — 1366 x 768 / SMALL HEIGHT DESKTOPS
   ========================================================================== */

@media (min-width: 1181px) and (max-width: 1440px) and (max-height: 820px) {
  :root {
    --r40-header: 68px;
    --r40-max: 1120px;
  }

  body.recode40-page h1 {
    font-size: clamp(42px, 4.25vw, 58px);
    line-height: 1.02;
  }

  body.recode40-page h2 {
    font-size: clamp(32px, 3.25vw, 44px);
    line-height: 1.04;
  }

  body.recode40-page h3 {
    font-size: clamp(21px, 1.55vw, 25px);
    line-height: 1.08;
  }

  body.recode40-page p {
    line-height: 1.62;
  }

  .r40-container {
    width: min(calc(100% - 56px), var(--r40-max));
  }

 

  /* Buttons */

  .r40-btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 13px;
  }

  /* Hero */

  .r40-hero {
    min-height: calc(100vh - var(--r40-header));
  }

  .r40-hero__media,
  .r40-hero__content {
    min-height: calc(100vh - var(--r40-header));
  }

  .r40-hero__content {
    padding: clamp(42px, 5vw, 76px) clamp(34px, 5.4vw, 74px);
  }

  .r40-hero__content p:not(.r40-eyebrow):not(.r40-lead) {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.65;
  }

  .r40-lead {
    max-width: 590px;
    margin-top: 22px !important;
    margin-bottom: 18px !important;
    font-size: clamp(18px, 1.65vw, 23px);
    line-height: 1.35 !important;
  }

  .r40-hero__actions {
    margin-top: 30px;
    gap: 12px;
  }

  .r40-image--hero {
    min-height: calc(100vh - var(--r40-header));
  }

  .r40-image__placeholder span {
    font-size: 22px;
  }

  /* Wordmark */

  .r40-wordmark {
    padding: clamp(26px, 4vw, 48px) 0 clamp(32px, 4.5vw, 56px);
  }

  .r40-wordmark span {
    font-size: clamp(68px, 11.5vw, 150px);
    line-height: 0.82;
  }

  /* Sections */

  .r40-section {
    padding: clamp(56px, 7vw, 88px) 0;
  }

  .r40-section-head {
    max-width: 760px;
    margin-bottom: clamp(34px, 4.5vw, 54px);
  }

  .r40-section-head p:not(.r40-eyebrow) {
    margin-top: 20px;
    max-width: 660px;
    font-size: 18px;
    line-height: 1.6;
  }

  .r40-eyebrow {
    margin-bottom: 18px !important;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .r40-section-punch {
    margin-top: clamp(42px, 5vw, 62px) !important;
    font-size: clamp(24px, 2.45vw, 34px);
  }

  /* Split / media sections */

  .r40-split {
    gap: clamp(40px, 5.5vw, 78px);
  }

  .r40-split--divider .r40-split__title {
    padding-right: clamp(34px, 5vw, 70px);
  }

  .r40-split__content {
    max-width: 540px;
  }

  .r40-arrow-list {
    gap: 12px;
    margin-top: 20px;
    font-size: 16px;
  }

  .r40-media-copy,
  .r40-media-copy--reverse {
    gap: clamp(38px, 5.5vw, 76px);
  }

  .r40-media-copy__content p:not(.r40-eyebrow):not(.r40-quote) {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .r40-pill-list {
    margin-top: 22px;
    gap: 8px;
  }

  .r40-pill-list span,
  .r40-not-list span {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .r40-quote {
    margin-top: 26px !important;
    font-size: clamp(20px, 1.7vw, 24px);
  }

  /* Images */

  .r40-image--portrait,
  .r40-image--about {
    min-height: 500px;
  }

  /* Cards */

  .r40-card {
    min-height: 260px;
    padding: 26px;
    border-radius: 22px;
  }

  .r40-card__number {
    margin-bottom: 28px;
  }

  .r40-card h3 {
    margin-bottom: 16px;
  }

  /* Results */

  .r40-results-grid {
    gap: 10px;
  }

  .r40-result {
    min-height: 220px;
    padding: 22px;
    border-radius: 20px;
  }

  .r40-result__icon {
    width: 68px;
    height: 68px;
    margin: auto 0 20px;
  }

  .r40-result__icon img {
    width: 58px;
    height: 58px;
  }

  .r40-result__icon svg {
    width: 34px;
    height: 34px;
  }

  .r40-result p {
    font-size: 16px;
    line-height: 1.18 !important;
  }

  /* Testimonials */

  .r40-testimonial-card {
    width: 360px;
    min-height: 220px;
    padding: 24px;
    border-radius: 24px;
  }

  .r40-testimonial-card__text {
    font-size: 16px;
    line-height: 1.6 !important;
  }

  .r40-testimonial-card__author {
    margin-top: 20px;
    padding-top: 18px;
  }

  .r40-testimonial-card__author strong {
    font-size: 16px;
  }

  .r40-testimonial-card__author span {
    font-size: 13px;
  }

  /* Offer / packages */

  .r40-packages-grid {
    gap: 20px;
  }

  .r40-package-card,
  .r40-consultation-product {
    border-radius: 28px;
  }

  .r40-package-card__top,
  .r40-product-short,
  .r40-product-long,
  .r40-consultation-product__main,
  .r40-consultation-product__short,
  .r40-consultation-product__long {
    padding: clamp(28px, 3.2vw, 42px);
  }

  .r40-package-card__top h3,
  .r40-consultation-product h3 {
    margin-bottom: 20px;
    font-size: clamp(30px, 2.55vw, 40px);
  }

  .r40-package-price {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .r40-package-price .woocommerce-Price-amount,
  .r40-package-price bdi,
  .r40-package-price--consultation .woocommerce-Price-amount,
  .r40-package-price--consultation bdi {
    font-size: clamp(34px, 2.75vw, 44px);
  }

  .r40-product-form {
    gap: 14px;
    max-width: 380px;
  }

  .r40-product-variants {
    gap: 10px;
  }

  .r40-product-variant {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .r40-product-submit {
    min-height: 52px;
  }
  
  .r40-product-submit.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.woocommerce-message::before {
  display:none;
}

  .r40-product-short,
  .r40-product-long,
  .r40-consultation-product__short,
  .r40-consultation-product__long {
    font-size: 15px;
    line-height: 1.55;
  }

  .r40-product-short p,
  .r40-product-long p,
  .r40-consultation-product__short p,
  .r40-consultation-product__long p {
    margin-bottom: 12px;
    line-height: 1.55 !important;
  }

  .r40-product-short ul,
  .r40-product-long ul,
  .r40-consultation-product__short ul,
  .r40-consultation-product__long ul {
    gap: 8px;
  }

  .r40-product-short li,
  .r40-product-long li,
  .r40-consultation-product__short li,
  .r40-consultation-product__long li {
    padding-left: 22px;
    line-height: 1.45;
  }

  /* Process */

  .r40-process-grid {
    gap: 12px;
  }

  .r40-process-step {
    min-height: 230px;
    padding: 22px;
    border-radius: 22px;
  }

  .r40-process-step span {
    margin-bottom: 42px;
  }

  .r40-process-step h3 {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .r40-process-step p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Final CTA */

  .r40-final-cta {
    padding: clamp(70px, 8vw, 110px) 0;
  }

  .r40-final-cta__inner {
    max-width: 760px;
  }

  .r40-final-cta p:not(.r40-eyebrow) {
    margin-top: 22px;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
  }

  /* Contact */

  .r40-contact__grid {
    gap: clamp(36px, 5vw, 70px);
  }

  .r40-contact__content p:not(.r40-eyebrow) {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.6;
  }

  .r40-contact-cards {
    margin-top: 26px;
    gap: 10px;
  }

  .r40-contact-cards a {
    min-height: 92px;
    padding: 18px;
    border-radius: 18px;
  }

  .r40-form {
    padding: clamp(24px, 3vw, 34px);
    border-radius: 28px;
    gap: 14px;
  }

  .r40-form input,
  .r40-form select,
  .r40-form textarea {
    min-height: 52px;
    padding: 14px 15px;
    font-size: 15px;
    border-radius: 14px;
  }

  .r40-form textarea {
    min-height: 110px;
  }


  /* Woo archive */

  .r40-shop-archive__hero {
    padding: clamp(70px, 7vw, 110px) 0 clamp(34px, 4vw, 54px);
  }

  .r40-shop-archive__hero h1 {
    font-size: clamp(42px, 4.4vw, 58px);
  }

  .r40-shop-archive__hero p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
  }
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {


  .r40-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .r40-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .r40-package-card,
  .r40-consultation-product {
    grid-template-columns: 1fr;
  }

  .r40-package-card__top,
  .r40-product-short {
    border-right: 0;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  }

  .r40-consultation-product__main,
  .r40-consultation-product__short {
    border-right: 0;
    border-bottom: 1px solid rgba(215, 255, 0, 0.18);
  }

  .r40-package-card__content {
    display: grid;
    grid-template-columns: 1fr;
  }

  .r40-product-form {
    max-width: none;
  }
}

@media (max-width: 980px) {
  :root {
    --r40-header: 70px;
  }


  .r40-container {
    width: min(calc(100% - 36px), var(--r40-max));
  }


  .r40-hero {
    grid-template-columns: 1fr;
  }

  .r40-hero__media,
  .r40-hero__content {
    min-height: auto;
  }

  .r40-image--hero {
    min-height: auto;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .r40-image--hero .r40-image__placeholder {
    position: relative;
    inset: auto;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .r40-image--hero .r40-image__photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .r40-hero__content {
    padding: 76px 18px 80px;
  }

  .r40-hero__content p:not(.r40-eyebrow):not(.r40-lead) {
    font-size: 16px;
  }

  .r40-hero__actions {
    margin-top: 34px;
  }

  .r40-split,
  .r40-media-copy,
  .r40-media-copy--reverse,
  .r40-contact__grid {
    grid-template-columns: 1fr;
  }

  .r40-split--divider .r40-split__title {
    border-right: 0;
    padding-right: 0;
  }

  .r40-card-grid--three {
    grid-template-columns: 1fr;
  }

  .r40-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .r40-result {
    min-height: 240px;
  }

  .r40-testimonial-card {
    width: 360px;
    min-height: 240px;
  }


}

@media (max-width: 640px) {
  :root {
    --r40-header: 66px;
  }

  body.recode40-page h1 {
    font-size: clamp(40px, 10vw, 56px);
  }

  body.recode40-page h2 {
    font-size: clamp(32px, 8.6vw, 50px);
  }


  .r40-container {
    width: min(calc(100% - 30px), var(--r40-max));
  }


  .r40-image--hero {
    aspect-ratio: auto;
  }

  .r40-image--hero .r40-image__photo {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .r40-hero__content {
    padding-top: 68px;
  }

  .r40-lead {
    font-size: 20px;
  }

  .r40-btn {
    width: 100%;
    min-height: 54px;
  }

  .r40-wordmark {
    padding-block: 34px 40px;
  }

  .r40-wordmark span {
    font-size: clamp(58px, 18vw, 92px);
    letter-spacing: 0.14em;
  }

  .r40-section {
    padding: 82px 0;
  }

  .r40-section-head {
    margin-bottom: 38px;
  }

  .r40-section-head p:not(.r40-eyebrow) {
    font-size: 17px;
  }

  .r40-arrow-list {
    font-size: 17px;
    gap: 18px;
  }

  .r40-section-punch {
    text-align: left;
  }

  .r40-card {
    min-height: auto;
    padding: 28px;
  }

  .r40-card__number {
    margin-bottom: 56px;
  }

  .r40-image--portrait,
  .r40-image--about {
    min-height: 460px;
  }

  .r40-results-grid,
  .r40-process-grid,
  .r40-contact-cards {
    grid-template-columns: 1fr;
  }

  .r40-result {
    min-height: 220px;
    padding: 24px;
  }

  .r40-result__icon {
    width: 56px;
    height: 56px;
    margin: auto 0 22px;
  }

  .r40-result__icon svg {
    width: 36px;
    height: 36px;
  }

  .r40-result__icon img {
    width: 56px;
    height: 56px;
  }

  .r40-testimonials {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .r40-testimonial-card {
    width: 300px;
    min-height: 230px;
    padding: 24px;
    border-radius: 24px;
  }

  .r40-testimonial-card__text {
    font-size: 15px;
	line-height: 1.65 !important;
  }

  .r40-package-card,
  .r40-consultation-product {
    border-radius: 28px;
  }

  .r40-package-card__top,
  .r40-product-short,
  .r40-product-long,
  .r40-consultation-product__main,
  .r40-consultation-product__short,
  .r40-consultation-product__long {
    padding: 28px;
  }

  .r40-package-card__top h3 {
    font-size: 36px;
    margin-bottom: 26px;
  }

  .r40-consultation-product h3 {
    font-size: 38px;
  }

  .r40-package-price .woocommerce-Price-amount,
  .r40-package-price bdi {
    font-size: 44px;
  }

  .r40-product-variants {
    grid-template-columns: 1fr 1fr;
  }

  .r40-product-variant {
    min-height: 52px;
    font-size: 14px;
    padding-inline: 12px;
  }

  .r40-product-short,
  .r40-product-long,
  .r40-consultation-product__short,
  .r40-consultation-product__long {
    font-size: 16px;
  }

  .r40-form {
    padding: 24px;
    border-radius: 24px;
  }

  .r40-process-step {
    min-height: auto;
  }

  .r40-process-step span {
    margin-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   RECODE40 — CART PAGE
   ========================================================================== */

body.recode40-cart-page {
  background: var(--r40-soft);
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  
  width: 100%!important;
}

body.recode40-cart-page .site-main {
  width: min(calc(100% - 48px), 1140px);
  margin: 0 auto;
  padding: clamp(80px, 8vw, 130px) 0 clamp(90px, 9vw, 150px);
}

body.recode40-cart-page .page-header {
  margin-bottom: clamp(22px, 6vw, 36px);
}

body.recode40-cart-page .entry-title {
 margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(44px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--r40-black);
}

body.recode40-cart-page .page-content,
body.recode40-cart-page .woocommerce {
  width: 100%;
}

body.recode40-cart-page .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
  font-family: 'Outfit', system-ui, sans-serif;
}

body.recode40-cart-page .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

body.recode40-cart-page .woocommerce-cart-form {
  grid-column: 1;
  min-width: 0;
}

body.recode40-cart-page .cart-collaterals {
  grid-column: 2;
  display: block;
  width: 100%;
  margin: 0;
}

body.recode40-cart-page .cart_totals {
  float: none;
  width: 100%;
  position: sticky;
  top: calc(var(--r40-header) + 28px);
}

/* Notices */

body.recode40-cart-page .woocommerce-message,
body.recode40-cart-page .woocommerce-info,
body.recode40-cart-page .woocommerce-error {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.78);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.035);
}

body.recode40-cart-page .woocommerce-error {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.055);
}

/* Product table */

body.recode40-cart-page .woocommerce-cart-form table.shop_table {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--r40-white);
  table-layout: auto;
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table thead {
  background: rgba(5, 5, 5, 0.025);
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table th,
body.recode40-cart-page .woocommerce-cart-form table.shop_table td {
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  vertical-align: middle;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table th {
  padding: 22px 24px;
  color: rgba(5, 5, 5, 0.54);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table td {
  padding: 28px 24px;
  color: rgba(5, 5, 5, 0.76);
  font-size: 16px;
  line-height: 1.55;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table tr:last-child td {
  border-bottom: 0;
}

/* Remove unnecessary cart columns */

body.recode40-cart-page .woocommerce-cart-form .product-thumbnail,
body.recode40-cart-page .woocommerce-cart-form .product-quantity,
body.recode40-cart-page .woocommerce-cart-form .product-subtotal {
  display: none;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table th.product-remove,
body.recode40-cart-page .woocommerce-cart-form table.shop_table td.product-remove {
  width: 72px;
  text-align: center;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table th.product-price,
body.recode40-cart-page .woocommerce-cart-form table.shop_table td.product-price {
  width: 180px;
  text-align: left;
}

body.recode40-cart-page .woocommerce-cart-form table.shop_table th.product-name,
body.recode40-cart-page .woocommerce-cart-form table.shop_table td.product-name {
  width: auto;
}

/* Product row */

body.recode40-cart-page .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--r40-soft);
  color: var(--r40-black);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.recode40-cart-page .product-remove a.remove:hover {
  transform: translateY(-1px);
  background: var(--r40-black);
  color: var(--r40-white);
}

body.recode40-cart-page .product-name a {
  color: var(--r40-black);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

body.recode40-cart-page .product-name a:hover {
  color: var(--r40-accent-dark);
}

body.recode40-cart-page .product-price {
  color: var(--r40-black);
  font-size: 17px;
  font-weight: 700;
}

body.recode40-cart-page .variation {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  color: rgba(5, 5, 5, 0.56);
  font-size: 14px;
}

body.recode40-cart-page .variation dt,
body.recode40-cart-page .variation dd {
  display: inline;
  margin: 0;
  padding: 0;
}

body.recode40-cart-page .variation dt {
  font-weight: 700;
}

body.recode40-cart-page .variation dd p {
  display: inline;
  margin: 0;
  line-height: inherit;
}

/* Coupon row */

body.recode40-cart-page .woocommerce-cart-form table.shop_table td.actions {
  padding: 26px 28px;
  background: rgba(5, 5, 5, 0.015);
}

body.recode40-cart-page .coupon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  float: none;
  width: auto;
}

body.recode40-cart-page .coupon label {
  display: none;
}

body.recode40-cart-page .coupon input.input-text {
  width: 300px;
  min-width: 0;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 14px;
  background: var(--r40-white);
  color: var(--r40-black);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  outline: none;
}

body.recode40-cart-page .coupon input.input-text:focus {
  border-color: var(--r40-accent-dark);
  box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.22);
}

.woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
  width: 180px;
}

/* Ukrycie przycisku "Zaktualizuj koszyk" */
body.recode40-cart-page .woocommerce-cart-form button[name="update_cart"],
body.recode40-cart-page .woocommerce-cart-form button[value="Zaktualizuj koszyk"],
body.recode40-cart-page .woocommerce-cart-form button.button[name="update_cart"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Buttons */

body.recode40-cart-page button.button,
body.recode40-cart-page .woocommerce a.button,
body.recode40-cart-page .woocommerce button.button,
body.recode40-cart-page .woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 14px;
  border: 1px solid var(--r40-black);
  background: var(--r40-black);
  color: var(--r40-white);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.recode40-cart-page button.button:hover,
body.recode40-cart-page .woocommerce a.button:hover,
body.recode40-cart-page .woocommerce button.button:hover,
body.recode40-cart-page .woocommerce input.button:hover {
  transform: translateY(-2px);
  background: var(--r40-accent);
  border-color: var(--r40-accent);
  color: var(--r40-black);
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.28);
}

body.recode40-cart-page button.button:disabled,
body.recode40-cart-page button.button:disabled[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Summary */

body.recode40-cart-page .cart_totals {
  padding: 36px;
  border-radius: 32px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background:
    radial-gradient(circle at 90% 0%, rgba(215, 255, 0, 0.18), transparent 28%),
    var(--r40-white);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

body.recode40-cart-page .cart_totals h2 {
  margin: 0 0 28px;
  color: var(--r40-black);
  font-size: clamp(32px, 2.4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
}

body.recode40-cart-page .cart_totals table.shop_table {
  width: 100%;
  margin: 0 0 28px;
  border: 0;
  border-collapse: collapse;
}

body.recode40-cart-page .cart_totals table.shop_table th,
body.recode40-cart-page .cart_totals table.shop_table td {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  color: rgba(5, 5, 5, 0.72);
  font-size: 16px;
  line-height: 1.4;
}

body.recode40-cart-page .cart_totals table.shop_table th {
  text-align: left;
  font-weight: 700;
}

body.recode40-cart-page .cart_totals table.shop_table td {
  text-align: right;
  color: var(--r40-black);
  font-weight: 700;
}

body.recode40-cart-page .cart_totals .order-total th,
body.recode40-cart-page .cart_totals .order-total td {
  border-bottom: 0;
  color: var(--r40-black);
  font-size: 19px;
  font-weight: 700;
}

/* Checkout button */

body.recode40-cart-page .wc-proceed-to-checkout {
  padding: 0;
  margin: 0;
}

body.recode40-cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.recode40-cart-page .woocommerce a.button.alt.checkout-button {
  display: flex;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px solid var(--r40-black);
  background: var(--r40-black);
  color: var(--r40-white);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

body.recode40-cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body.recode40-cart-page .woocommerce a.button.alt.checkout-button:hover {
  transform: translateY(-2px);
  border-color: var(--r40-accent);
  background: var(--r40-accent);
  color: var(--r40-black);
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.28);
}

/* Empty cart */

body.recode40-cart-page .cart-empty {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.72);
  font-size: 18px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.045);
}

body.recode40-cart-page .return-to-shop {
  margin-top: 28px;
}

/* Woo Blocks fallback */

body.recode40-cart-page .wp-block-woocommerce-cart {
  font-family: 'Outfit', system-ui, sans-serif;
}

body.recode40-cart-page .wc-block-components-sidebar-layout {
  gap: 28px;
}

body.recode40-cart-page .wc-block-cart-items,
body.recode40-cart-page .wc-block-components-sidebar {
  border-radius: 32px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--r40-white);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.045);
  overflow: hidden;
}

/* Responsive */

@media (max-width: 1180px) {
  body.recode40-cart-page .woocommerce {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 32px;
  }
}

@media (max-width: 980px) {
  body.recode40-cart-page .site-main {
    width: min(calc(100% - 36px), var(--r40-max));
    padding-top: 70px;
  }

  body.recode40-cart-page .woocommerce {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body.recode40-cart-page .woocommerce-cart-form,
  body.recode40-cart-page .cart-collaterals {
    grid-column: auto;
  }

  body.recode40-cart-page .cart_totals {
    position: static;
    width: 100%;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table {
    border-radius: 26px;
  }
}

@media (max-width: 768px) {
  body.recode40-cart-page .woocommerce-cart-form table.shop_table {
    table-layout: auto;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table,
  body.recode40-cart-page .woocommerce-cart-form table.shop_table tbody,
  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr,
  body.recode40-cart-page .woocommerce-cart-form table.shop_table td {
    display: block;
    width: 100%;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    position: relative;
    padding: 24px;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr.cart_item:last-child {
    border-bottom: 0;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table td {
    padding: 8px 0;
    border-bottom: 0;
  }

  body.recode40-cart-page .product-remove {
    position: absolute;
    top: 22px;
    right: 22px;
    width: auto;
  }

  body.recode40-cart-page .product-name {
    padding-right: 56px;
  }

  body.recode40-cart-page .product-name a {
    white-space: normal;
  }

  body.recode40-cart-page .product-price::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 6px;
    color: rgba(5, 5, 5, 0.48);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table td.actions {
    padding: 24px;
  }

  body.recode40-cart-page .coupon {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.recode40-cart-page .coupon input.input-text,
  body.recode40-cart-page .coupon button.button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body.recode40-cart-page .site-main {
    width: min(calc(100% - 30px), var(--r40-max));
    padding: 58px 0 90px;
  }

  body.recode40-cart-page .entry-title {
    font-size: clamp(38px, 10vw, 54px);
  }

  body.recode40-cart-page .cart_totals {
    padding: 26px;
    border-radius: 26px;
  }

  body.recode40-cart-page .cart_totals h2 {
    font-size: 32px;
  }
}

/* ==========================================================================
   RECODE40 — CART MOBILE CARD FIX
   ========================================================================== */

@media (max-width: 768px) {
  body.recode40-cart-page .woocommerce-cart-form table.shop_table {
    display: block;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tbody {
    display: block;
    width: 100%;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 18px;
    padding: 28px;
    position: relative;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
    background: var(--r40-white);
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-remove {
    grid-column: 2;
    grid-row: 1;
    position: static;
    width: auto;
    align-self: start;
    justify-self: end;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-name {
    grid-column: 1;
    grid-row: 1;
    padding: 0 !important;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-name::before {
    content: 'Produkt';
    display: block;
    margin-bottom: 8px;
    color: rgba(5, 5, 5, 0.5);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-name a {
    display: block;
    max-width: 100%;
    font-size: 23px;
    line-height: 1.12;
    white-space: normal;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-price {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(5, 5, 5, 0.08) !important;
    font-size: 21px;
    text-align: right;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-price::before {
    content: 'Cena';
    margin: 0;
    color: rgba(5, 5, 5, 0.5);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-thumbnail,
  body.recode40-cart-page .woocommerce-cart-form .product-quantity,
  body.recode40-cart-page .woocommerce-cart-form .product-subtotal {
    display: none !important;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-remove a.remove {
    width: 48px;
    height: 48px;
    font-size: 26px;
    background: var(--r40-soft);
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr:not(.cart_item) {
    display: block;
    width: 100%;
  }

  body.recode40-cart-page .woocommerce-cart-form table.shop_table td.actions {
    display: block;
    width: 100%;
    padding: 28px !important;
    background: rgba(5, 5, 5, 0.015);
  }

  body.recode40-cart-page .coupon {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  body.recode40-cart-page .coupon input.input-text {
    width: 100%;
    min-height: 58px;
    font-size: 16px;
  }

  body.recode40-cart-page .coupon button.button {
    width: 100%;
    min-height: 58px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  body.recode40-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    padding: 24px;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-name a {
    font-size: 21px;
  }

  body.recode40-cart-page .woocommerce-cart-form .product-price {
    font-size: 20px;
  }
  
  .woocommerce table.cart td.actions .coupon .button{
  width:100%;}
  
  .woocommerce-page #content table.cart td.actions .coupon .button{
	  width:100%;}
	  
	.woocommerce-page table.cart td.actions .coupon .button{
		width:100%;}
		
	.woocommerce table.cart td.actions .coupon .input-text, .woocommerce table.cart td.actions .coupon input, .woocommerce-page #content table.cart td.actions .coupon .input-text, .woocommerce-page #content table.cart td.actions .coupon input, .woocommerce-page table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon input {
  width: 100%;
}	
  
}

/* ==========================================================================
   RECODE40 — CHECKOUT PAGE
   ========================================================================== */

body.recode40-checkout-page {
  background: var(--r40-soft);
}

body.recode40-checkout-page .site-main {
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 50px) 0 clamp(90px, 9vw, 150px);
}

body.recode40-checkout-page .page-header {
  margin-bottom: clamp(38px, 5vw, 64px);
}

body.recode40-checkout-page .entry-title {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--r40-black);
}

body.recode40-checkout-page .page-content,
body.recode40-checkout-page .woocommerce {
  width: 100%;
}

body.recode40-checkout-page .woocommerce {
  font-family: 'Outfit', system-ui, sans-serif;
}

/* ==========================================================================
   CHECKOUT — LAYOUT
   ========================================================================== */

body.recode40-checkout-page form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  grid-template-areas:
    "customer order-heading"
    "customer order-review";
  column-gap: 32px;
  row-gap: 20px;
  align-items: start;
}

body.recode40-checkout-page #customer_details {
  grid-area: customer;
  min-width: 0;
  margin: 80px 0 0 0;
}

body.recode40-checkout-page #order_review_heading {
  grid-area: order-heading;
  min-width: 0;
  align-self: end;
}

body.recode40-checkout-page #order_review {
  grid-area: order-review;
  min-width: 0;
  position: sticky;
  top: calc(var(--r40-header) + 28px);
}

body.recode40-checkout-page #customer_details .col-1,
body.recode40-checkout-page #customer_details .col-2 {
  float: none;
  width: 100%;
}

/* ==========================================================================
   CHECKOUT — CARDS
   ========================================================================== */

body.recode40-checkout-page .woocommerce-billing-fields,
body.recode40-checkout-page .woocommerce-additional-fields,
body.recode40-checkout-page #order_review {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 24px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--r40-white);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.035),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

body.recode40-checkout-page .woocommerce-additional-fields {
  margin-top: 24px;
}

body.recode40-checkout-page .woocommerce-billing-fields h3,
body.recode40-checkout-page .woocommerce-additional-fields h3,
body.recode40-checkout-page #order_review_heading {
  margin: 0 0 28px;
  color: var(--r40-black);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

body.recode40-checkout-page #order_review_heading {
  margin-bottom: 20px;
}

/* ==========================================================================
   CHECKOUT — FORM FIELDS
   ========================================================================== */

body.recode40-checkout-page .woocommerce form .form-row {
  margin: 22px 0 22px;
  padding: 0;
}

body.recode40-checkout-page .woocommerce form .form-row-first,
body.recode40-checkout-page .woocommerce form .form-row-last {
  width: calc(50% - 14px);
}

body.recode40-checkout-page .woocommerce form .form-row-first {
  float: left;
}

body.recode40-checkout-page .woocommerce form .form-row-last {
  float: right;
}

body.recode40-checkout-page .woocommerce form .form-row-wide {
  clear: both;
}

body.recode40-checkout-page .woocommerce form .form-row label {
  display: block;
  margin-bottom: 10px;
  color: rgba(5, 5, 5, 0.72);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

body.recode40-checkout-page .woocommerce form .form-row label .required {
  color: var(--r40-accent-dark);
  text-decoration: none;
}

body.recode40-checkout-page .woocommerce form .form-row input.input-text,
body.recode40-checkout-page .woocommerce form .form-row textarea,
body.recode40-checkout-page .woocommerce form .form-row select,
body.recode40-checkout-page .select2-container .select2-selection--single {
  width: 100%;
  min-height: 62px;
  padding: 16px 18px;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 12px;
  background: var(--r40-white);
  color: var(--r40-black);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.recode40-checkout-page .woocommerce form .form-row textarea {
  min-height: 130px;
  resize: vertical;
}

body.recode40-checkout-page .woocommerce form .form-row input.input-text:focus,
body.recode40-checkout-page .woocommerce form .form-row textarea:focus,
body.recode40-checkout-page .woocommerce form .form-row select:focus,
body.recode40-checkout-page .select2-container--open .select2-selection--single {
  border-color: var(--r40-accent-dark);
  box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.22);
}

body.recode40-checkout-page .woocommerce-input-wrapper {
  display: block;
}

/* Select2 */

body.recode40-checkout-page .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  height: 62px;
}

body.recode40-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: var(--r40-black);
  line-height: 1.25;
}

body.recode40-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

body.recode40-checkout-page .select2-dropdown {
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Outfit', system-ui, sans-serif;
}

/* Validation */

body.recode40-checkout-page .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.recode40-checkout-page .woocommerce form .form-row.woocommerce-invalid select,
body.recode40-checkout-page .woocommerce form .form-row.woocommerce-invalid textarea {
  border-color: rgba(220, 38, 38, 0.42);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

body.recode40-checkout-page .woocommerce form .form-row.woocommerce-validated input.input-text {
  border-color: rgba(175, 207, 0, 0.56);
}

/* ==========================================================================
   CHECKOUT — INFO / NOTICES
   ========================================================================== */

body.recode40-checkout-page .woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

body.recode40-checkout-page .woocommerce-message,
body.recode40-checkout-page .woocommerce-info,
body.recode40-checkout-page .woocommerce-error {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.78);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.035);
}

body.recode40-checkout-page .woocommerce-error {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.055);
}

body.recode40-checkout-page .woocommerce-info {
  border-color: rgba(215, 255, 0, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 255, 0, 0.14), transparent 28%),
    var(--r40-white);
}

body.recode40-checkout-page .woocommerce-info a {
  color: var(--r40-black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Inline account/info box like on reference */

body.recode40-checkout-page .woocommerce-account-fields,
body.recode40-checkout-page .woocommerce-billing-fields .woocommerce-info,
body.recode40-checkout-page .woocommerce-additional-fields .woocommerce-info {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-left: 4px solid #ff9500;
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.58);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   CHECKOUT — ORDER REVIEW
   ========================================================================== */

body.recode40-checkout-page .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 0 28px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-collapse: collapse;
  background: var(--r40-white);
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table th,
body.recode40-checkout-page .woocommerce-checkout-review-order-table td {
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
  color: rgba(5, 5, 5, 0.72);
  font-size: 16px;
  line-height: 1.45;
  vertical-align: top;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table thead th {
  color: var(--r40-black);
  font-size: 18px;
  font-weight: 700;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table td {
  text-align: right;
  color: var(--r40-black);
  font-weight: 500;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table .product-name {
  text-align: left;
  color: rgba(5, 5, 5, 0.72);
  font-weight: 400;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  color: rgba(5, 5, 5, 0.72);
  font-weight: 400;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table .cart_item .product-name {
  color: rgba(5, 5, 5, 0.72);
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table .product-name strong,
body.recode40-checkout-page .woocommerce-checkout-review-order-table .product-quantity {
  color: var(--r40-black);
  font-weight: 700;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table tfoot th {
  color: var(--r40-black);
  font-weight: 700;
  text-align: left;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  color: var(--r40-black);
  font-weight: 700;
}

body.recode40-checkout-page .woocommerce-checkout-review-order-table .order-total th,
body.recode40-checkout-page .woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  color: var(--r40-black);
  font-size: 18px;
  font-weight: 700;
}

/* ==========================================================================
   CHECKOUT — PAYMENT
   ========================================================================== */

body.recode40-checkout-page #payment {
  background: transparent;
  border-radius: 0;
}

body.recode40-checkout-page #payment > ul.payment_methods {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

/* Tylko główne metody płatności WooCommerce */
body.recode40-checkout-page #payment > ul.payment_methods > li.wc_payment_method {
  margin: 0;
  padding: 26px 28px;
  border-radius: 24px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-left: 4px solid var(--r40-accent-dark);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

body.recode40-checkout-page #payment > ul.payment_methods > li.wc_payment_method > label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: var(--r40-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

body.recode40-checkout-page #payment > ul.payment_methods > li.wc_payment_method > label img {
  display: inline-block;
  width: auto;
  max-width: 130px;
  max-height: 28px;
  margin: 0 0 0 6px;
  vertical-align: middle;
}

body.recode40-checkout-page #payment div.payment_box {
  margin: 18px 0 0;
  padding: 0;
  background: transparent;
  color: rgba(5, 5, 5, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

body.recode40-checkout-page #payment div.payment_box::before {
  display: none;
}


/* ==========================================================================
   CHECKOUT — AUTOPAY / BLUE MEDIA CHANNELS
   ========================================================================== */
   
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item.selected{

border: none!important;}

#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item.bm-selected-group {
  border: none!important;
}

   

body.recode40-checkout-page .payment_method_bluemedia .payment_box {
  display: block;
}

#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label .bm-payment-channel-method-logo{
	
max-width: 45px;}

#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label{
min-height: 80px;}


body.recode40-checkout-page .payment_method_bluemedia .payment_box p {
  margin: 0 0 16px;
  color: rgba(5, 5, 5, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

/* Resetujemy wewnętrzne listy Autopay, żeby nie dziedziczyły stylu Woo li */
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper ul,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper li,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper div {
  box-sizing: border-box;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper {
  margin-top: 18px;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channels-wrapper li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-blik,
body.recode40-checkout-page .payment_method_bluemedia .bm-group-pbl {
  margin: 0;
  padding: 0;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-blik + .bm-group-pbl {
  margin-top: 12px;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-item,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Karta kanału płatności */
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-label,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item > label {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 5px 20px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 18px;
  background: #ffffff;
  color: var(--r40-black);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-label:hover,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item > label:hover {
  border-color: rgba(5, 5, 5, 0.22);
  background: #fafafa;
  transform: translateY(-1px);
}

body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-item.selected .bm-payment-channel-label,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-label:has(input:checked),
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item > label:has(input:checked) {
  border-color: var(--r40-accent-dark);
  box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.18);
}

/* Radio */
body.recode40-checkout-page .payment_method_bluemedia input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--r40-black);
}

/* Logotypy kanałów */
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-logo,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-logo {
  display: block;
  width: auto;
  max-width: 110px;
  max-height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Nazwa kanału */
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-name,
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-name {
  margin: 0;
  color: var(--r40-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

/* Opis pod grupą banków */
body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-desc {
  display: block;
  margin: 8px 0 0;
  color: rgba(5, 5, 5, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

body.recode40-checkout-page .payment_method_bluemedia .payment-method-description {
  display: block;
  padding-left: 54px;
}

/* Lista banków po rozwinięciu */
body.recode40-checkout-page .payment_method_bluemedia .bm-group-expandable-wrapper {
  margin-top: 12px;
  padding: 0;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-expandable-wrapper .bm-payment-channel-item + .bm-payment-channel-item {
  margin-top: 10px;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-expandable-wrapper .bm-payment-channel-label {
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 16px;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-expandable-wrapper .bm-payment-channel-method-logo {
  max-width: 96px;
  max-height: 32px;
}

body.recode40-checkout-page .payment_method_bluemedia .bm-group-expandable-wrapper .bm-payment-channel-method-name {
  font-size: 15px;
}


/* ==========================================================================
   CHECKOUT — PAYMENT EMPTY / INFO
   ========================================================================== */

body.recode40-checkout-page .woocommerce-notice,
body.recode40-checkout-page #payment .woocommerce-info {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.woocommerce-info::before {
  display: none;
}


/* ==========================================================================
   CHECKOUT — PAYMENT MOBILE
   ========================================================================== */

@media (max-width: 640px) {
	
body.recode40-checkout-page #customer_details {
  
  margin: 0px 0 0 0;
}
	
  body.recode40-checkout-page #payment > ul.payment_methods > li.wc_payment_method {
    padding: 22px;
    border-radius: 22px;
  }

  body.recode40-checkout-page #payment > ul.payment_methods > li.wc_payment_method > label {
    font-size: 17px;
  }

  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-label,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item > label {
    min-height: 68px;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-logo,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-logo {
    max-width: 90px;
    max-height: 34px;
  }

  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-name,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-name {
    font-size: 15px;
  }

  body.recode40-checkout-page .payment_method_bluemedia .payment-method-description {
    padding-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-label,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-item > label {
    flex-wrap: wrap;
  }

  body.recode40-checkout-page .payment_method_bluemedia input[type="radio"] {
    order: 1;
  }

  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-logo,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-logo {
    order: 2;
  }

  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-method-name,
  body.recode40-checkout-page .payment_method_bluemedia .bm-payment-channel-group-method-name {
    order: 3;
    flex: 1 1 100%;
    padding-left: 30px;
  }
}

/* ==========================================================================
   CHECKOUT — TERMS / PRIVACY
   ========================================================================== */

body.recode40-checkout-page .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 22px;
}

body.recode40-checkout-page .woocommerce-privacy-policy-text,
body.recode40-checkout-page .woocommerce-terms-and-conditions-wrapper p {
  color: rgba(5, 5, 5, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

body.recode40-checkout-page .woocommerce-privacy-policy-text a,
body.recode40-checkout-page .woocommerce-terms-and-conditions-wrapper a {
  color: var(--r40-black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.recode40-checkout-page .woocommerce form .form-row label.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(5, 5, 5, 0.72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

body.recode40-checkout-page .woocommerce form .form-row label.checkbox input {
  margin-top: 4px;
}

/* ==========================================================================
   CHECKOUT — PLACE ORDER BUTTON
   ========================================================================== */

body.recode40-checkout-page #place_order {
  display: flex;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1px solid var(--r40-black);
  background: var(--r40-black);
  color: var(--r40-white);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.recode40-checkout-page #place_order:hover {
  transform: translateY(-2px);
  border-color: var(--r40-accent);
  background: var(--r40-accent);
  color: var(--r40-black);
  box-shadow: 0 18px 48px rgba(215, 255, 0, 0.28);
}

/* ==========================================================================
   CHECKOUT — RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  body.recode40-checkout-page form.checkout {
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas:
      "customer order-heading"
      "customer order-review";
    column-gap: 28px;
    row-gap: 20px;
  }
}

@media (max-width: 980px) {
  body.recode40-checkout-page form.checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "customer"
      "order-heading"
      "order-review";
    gap: 26px;
  }

  body.recode40-checkout-page #customer_details,
  body.recode40-checkout-page #order_review_heading,
  body.recode40-checkout-page #order_review {
    grid-column: auto;
  }

  body.recode40-checkout-page #order_review {
    position: static;
  }
}

@media (max-width: 768px) {
  body.recode40-checkout-page .woocommerce form .form-row-first,
  body.recode40-checkout-page .woocommerce form .form-row-last {
    float: none;
    width: 100%;
  }

  body.recode40-checkout-page .woocommerce-billing-fields,
  body.recode40-checkout-page .woocommerce-additional-fields,
  body.recode40-checkout-page #order_review {
    padding: 28px;
    border-radius: 24px;
  }

  body.recode40-checkout-page .woocommerce-billing-fields h3,
  body.recode40-checkout-page .woocommerce-additional-fields h3,
  body.recode40-checkout-page #order_review_heading {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  body.recode40-checkout-page .site-main {
    width: min(calc(100% - 30px), var(--r40-max));
    padding: 58px 0 90px;
  }

  body.recode40-checkout-page .entry-title {
    font-size: clamp(38px, 10vw, 54px);
  }

  body.recode40-checkout-page #place_order {
    white-space: normal;
  }
}

/* ==========================================================================
   RECODE40 — CHECKOUT CLEANUP
   ========================================================================== */

/* Ukrycie dodatkowej sekcji, jeśli WooCommerce mimo filtra nadal ją wyrenderuje */
body.recode40-checkout-page .woocommerce-additional-fields {
  display: none;
}

/* Komunikat pod danymi rozliczeniowymi */
body.recode40-checkout-page .r40-checkout-account-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-left: 4px solid var(--r40-accent-dark);
  background: var(--r40-white);
  color: rgba(5, 5, 5, 0.58);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}


/* ==========================================================================
   RECODE40 — MINI CART DRAWER
   ========================================================================== */

.r40-mini-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 5, 5, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.r40-mini-cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.r40-mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  width: min(100%, 430px);
  height: 100vh;
  background: var(--r40-white);
  color: var(--r40-black);
  transform: translateX(104%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -28px 0 90px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.r40-mini-cart.is-open {
  transform: translateX(0);
}

body.r40-mini-cart-open {
  overflow: hidden;
}

.r40-mini-cart__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 255, 0, 0.2), transparent 30%),
    var(--r40-white);
}

.r40-mini-cart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.r40-mini-cart__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--r40-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.r40-mini-cart__head h2 {
  margin: 0;
  color: var(--r40-black);
  font-size: 28px!important;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.r40-mini-cart__close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 999px;
  background: var(--r40-soft);
  color: var(--r40-black);
  font-family: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.r40-mini-cart__close:hover {
  transform: translateY(-1px);
  background: var(--r40-black);
  color: var(--r40-white);
}

.r40-mini-cart__items {
  display: grid;
  gap: 14px;
  padding: 24px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.r40-mini-cart__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.r40-mini-cart__item h3 {
  margin: 0;
  color: var(--r40-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.r40-mini-cart__item p {
  margin-top: 8px;
  color: rgba(5, 5, 5, 0.58);
  font-size: 14px;
  line-height: 1.45;
}

.r40-mini-cart__item-price {
  color: var(--r40-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.r40-mini-cart__summary {
  margin-top: auto;
  padding: 22px 0;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.r40-mini-cart__summary span {
  color: rgba(5, 5, 5, 0.62);
  font-size: 15px;
  font-weight: 700;
}

.r40-mini-cart__summary strong {
  color: var(--r40-black);
  font-size: 24px;
  font-weight: 700;
}

.r40-mini-cart__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.r40-mini-cart__actions .r40-btn {
  min-height: 54px;
}

.r40-mini-cart__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.r40-mini-cart__empty p {
  color: rgba(5, 5, 5, 0.72);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

/* Woo / Elementor button safety inside drawer */

body.recode40-page .r40-mini-cart .r40-btn--primary,
body.recode40-page .r40-mini-cart a.r40-btn--primary,
body.recode40-page .r40-mini-cart .r40-btn--primary:link,
body.recode40-page .r40-mini-cart .r40-btn--primary:visited {
  background: var(--r40-black);
  border-color: var(--r40-black);
  color: var(--r40-white) !important;
}

body.recode40-page .r40-mini-cart .r40-btn--primary:hover {
  background: var(--r40-accent) !important;
  border-color: var(--r40-accent) !important;
  color: var(--r40-black) !important;
}

body.recode40-page .r40-mini-cart .r40-btn--secondary,
body.recode40-page .r40-mini-cart a.r40-btn--secondary,
body.recode40-page .r40-mini-cart .r40-btn--secondary:link,
body.recode40-page .r40-mini-cart .r40-btn--secondary:visited {
  background: var(--r40-white);
  border-color: rgba(5, 5, 5, 0.14);
  color: var(--r40-black) !important;
}

body.recode40-page .r40-mini-cart .r40-btn--secondary:hover {
  border-color: var(--r40-black);
  background: var(--r40-white);
  color: var(--r40-black) !important;
}

/* Mobile */

@media (max-width: 640px) {
  .r40-mini-cart {
    width: min(100%, 390px);
  }

  .r40-mini-cart__inner {
    padding: 22px;
  }

  .r40-mini-cart__head h2 {
    font-size: 30px;
  }

  .r40-mini-cart__actions {
    grid-template-columns: 1fr;
  }

  .r40-mini-cart__item {
    grid-template-columns: 1fr;
  }

  .r40-mini-cart__item-price {
    font-size: 18px;
  }
}

/* ==========================================================================
   RECODE40 — iPhone / Safari marquee fix
   ========================================================================== */

.r40-wordmark__track {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Nawet jeśli iPhone ma włączone ograniczenie ruchu, logo RECODE/40 dalej jedzie */
@media (prefers-reduced-motion: reduce) {
  .r40-wordmark__track {
    animation: r40-marquee 22s linear infinite !important;
  }
}


/* ==========================================================================
   RECODE40 — Testimonials mobile swipe / iPhone fix
   ========================================================================== */

.r40-testimonials__track {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Jeśli urządzenie pozwala na animację — opinie jadą automatycznie */
@media (prefers-reduced-motion: reduce) {
  .r40-testimonials__track {
    animation: r40-testimonials-marquee 42s linear infinite !important;
  }
}

/* Mobile / iPhone — zamiast wymuszać animację, dajemy wygodne przesuwanie palcem */
@media (max-width: 768px) {
  .r40-testimonials {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .r40-testimonials::-webkit-scrollbar {
    display: none;
  }

  .r40-testimonials__track {
    animation: none !important;
    transform: none !important;
    width: max-content;
    padding-inline: 1px;
  }

  .r40-testimonial-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}