:root {
  --pfcs-evergreen: #1b2614;
  --pfcs-evergreen-soft: #32422b;
  --pfcs-champagne: #f0dcbe;
  --pfcs-cream: #fbf8f2;
  --pfcs-white: #ffffff;
  --pfcs-danger: #8b302a;
  --pfcs-danger-soft: #fff3f1;
  --pfcs-shadow: 0 20px 65px rgba(15, 24, 10, 0.2);
}

.pfcs-free-shipping-bar[hidden] {
  display: none !important;
}

.pfcs-free-shipping-bar {
  box-sizing: border-box;
  position: relative;
  z-index: 99;
  width: 100%;
  min-height: 36px;
  background: #1b2614;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.015em;
  opacity: 0;
  transform: translateY(-4px);
}

.pfcs-free-shipping-bar.is-visible {
  animation: pfcs-bar-enter 280ms ease-out forwards;
}

.pfcs-free-shipping-bar__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 20px;
  text-align: center;
}

.pfcs-free-shipping-bar__benefit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pfcs-free-shipping-bar__benefit[hidden],
.pfcs-free-shipping-bar__separator[hidden] {
  display: none !important;
}

.pfcs-free-shipping-bar__separator {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.32);
}

.pfcs-free-shipping-bar__icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.pfcs-free-shipping-bar__benefit--free .pfcs-free-shipping-bar__icon {
  animation: pfcs-truck-arrive 520ms 100ms ease-out both;
}

@keyframes pfcs-bar-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pfcs-truck-arrive {
  from {
    opacity: 0;
    transform: translateX(-7px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pfcs[hidden],
.pfcs [hidden] {
  display: none !important;
}

.pfcs {
  position: fixed;
  z-index: 999997;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.pfcs__panel {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(240px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(820px, 100%);
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(27, 38, 20, 0.1);
  border-radius: 20px;
  background: var(--pfcs-white);
  color: var(--pfcs-evergreen);
  box-shadow: var(--pfcs-shadow);
  pointer-events: auto;
}

.pfcs__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pfcs-evergreen), #6d815f, var(--pfcs-champagne));
  content: "";
}

.pfcs__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--pfcs-cream);
  color: var(--pfcs-evergreen);
}

.pfcs__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pfcs__content h2 {
  margin: 2px 34px 5px 0;
  color: var(--pfcs-evergreen);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.pfcs__content p {
  max-width: 500px;
  margin: 0;
  color: #596453;
  font-size: 14px;
  line-height: 1.5;
}

.pfcs__content .pfcs__eyebrow {
  color: #74806e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pfcs__close {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 11px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #66705f;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.pfcs__close:hover,
.pfcs__close:focus-visible {
  background: var(--pfcs-cream);
  color: var(--pfcs-evergreen);
}

.pfcs__actions,
.pfcs__form {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.pfcs__form {
  min-width: min(390px, 100%);
}

.pfcs__form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pfcs__form select {
  min-width: 190px;
  min-height: 50px;
  padding: 0 40px 0 14px;
  border: 1px solid rgba(27, 38, 20, 0.2);
  border-radius: 12px;
  outline: none;
  background-color: var(--pfcs-white);
  color: var(--pfcs-evergreen);
  font: inherit;
}

.pfcs__form select:focus {
  border-color: var(--pfcs-evergreen);
  box-shadow: 0 0 0 3px rgba(27, 38, 20, 0.08);
}

.pfcs__button {
  min-height: 50px;
  padding: 10px 17px;
  border: 1px solid var(--pfcs-evergreen);
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.pfcs__button:hover {
  transform: translateY(-1px);
}

.pfcs__button--primary {
  background: var(--pfcs-evergreen);
  color: var(--pfcs-white);
}

.pfcs__button--primary:hover,
.pfcs__button--primary:focus-visible {
  background: var(--pfcs-evergreen-soft);
  color: var(--pfcs-white) !important;
}

.pfcs__button--secondary {
  background: var(--pfcs-white);
  color: var(--pfcs-evergreen);
}

.pfcs__button--secondary:hover,
.pfcs__button--secondary:focus-visible {
  background: var(--pfcs-cream);
  color: var(--pfcs-evergreen) !important;
}

.pfcs__button--primary:hover span,
.pfcs__button--primary:hover strong,
.pfcs__button--primary:focus-visible span,
.pfcs__button--primary:focus-visible strong {
  color: var(--pfcs-white) !important;
}

.pfcs__button--secondary:hover,
.pfcs__button--secondary:focus-visible {
  border-color: var(--pfcs-evergreen);
}

.pfcs__button strong {
  display: block;
}

.pfcs__error {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--pfcs-danger);
  font-size: 13px;
}

.pfcs--loading {
  opacity: 0.72;
}

.pfcs-trigger {
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* Product availability indicators */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
}

.pfcs-restriction-badge {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  display: inline-flex;
  max-width: calc(100% - 20px);
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(139, 48, 42, 0.13);
  border-radius: 999px;
  background: rgba(255, 243, 241, 0.96);
  color: var(--pfcs-danger);
  box-shadow: 0 3px 12px rgba(73, 27, 23, 0.08);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}

.pfcs-restriction-badge svg,
.pfcs-restriction-notice__icon svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pfcs-restriction-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 10px 0 16px;
  padding: 13px 14px;
  border: 1px solid rgba(139, 48, 42, 0.13);
  border-radius: 12px;
  background: var(--pfcs-danger-soft);
  color: var(--pfcs-danger);
  font-size: 13px;
  line-height: 1.4;
}

.pfcs-restriction-notice__icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--pfcs-white);
}

.pfcs-restriction-notice__change {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pfcs-restriction-badge[hidden],
.pfcs-restriction-notice[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
	.pfcs-free-shipping-bar,
	.pfcs-free-shipping-bar__inner {
	  min-height: 32px;
	}

	.pfcs-free-shipping-bar {
	  font-size: 11px;
	  letter-spacing: 0;
	}

	.pfcs-free-shipping-bar__inner {
	  flex-direction: column;
	  gap: 3px;
	  padding: 6px 12px;
	}

	.pfcs-free-shipping-bar:not(.is-netherlands) .pfcs-free-shipping-bar__inner {
	  flex-direction: row;
	}

	.pfcs-free-shipping-bar__benefit {
	  gap: 6px;
	}

	.pfcs-free-shipping-bar.is-netherlands .pfcs-free-shipping-bar__benefit--dispatch {
	  display: none;
	}

	.pfcs-free-shipping-bar__separator {
	  display: none;
	}

	.pfcs-free-shipping-bar__icon {
	  width: 17px;
	  height: 17px;
	}

  .pfcs {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .pfcs__panel {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    width: 100%;
    padding: 22px 18px calc(92px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .pfcs__icon {
    width: 40px;
    height: 40px;
  }

  .pfcs__content h2 {
    margin-right: 30px;
    font-size: 22px;
  }

  .pfcs__actions,
  .pfcs__form,
  .pfcs__error {
    grid-column: 1 / -1;
  }

  .pfcs__actions,
  .pfcs__form {
    display: grid;
    min-width: 0;
    margin-top: 4px;
  }

  .pfcs__form select,
  .pfcs__button {
    width: 100%;
  }

  .pfcs-restriction-badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 6px 8px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfcs-free-shipping-bar,
  .pfcs-free-shipping-bar.is-visible,
  .pfcs-free-shipping-bar__benefit--free .pfcs-free-shipping-bar__icon {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
