/* GiftPromo — odizolowane style, te same na wszystkich 3 domenach. */
#gift-promo,
#gift-promo * {
  box-sizing: border-box;
}

#gift-promo {
  --gp-accent: #174b39;
  --gp-accent-hover: #067700;
  --gp-text: #24302b;
  --gp-muted: #535b60;

  position: fixed;
  bottom: 80px; /* nad sticky-contact */
  right: 18px;
  left: auto;
  z-index: 2147483000; /* poniżej bannera cookies */
  width: min(425px, calc(100vw - 36px));
  max-width: 425px;
  padding: 0;
  margin: 0;
  border: 1px solid #dce1db;
  border-radius: 14px;
  background: #fff;
  color: var(--gp-text);
  text-align: left;
  box-shadow: 0 13px 39px rgb(0 0 0 / 19%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(180px);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
}

#gift-promo.gift-promo--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 1s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#gift-promo[hidden] {
  display: none !important;
}

#gift-promo.gift-promo--mikolajki,
#gift-promo.gift-promo--swieta {
  border-top: 3px solid #96242b;
  border-bottom: 3px solid #96242b;
  /* border-right: 3px solid #96242b; */
}

#gift-promo .gift-promo__link,
#gift-promo .gift-promo__link:hover,
#gift-promo .gift-promo__link:focus {
  display: block;
  padding: 16px 17px 15px;
  background: transparent;
  color: var(--gp-text);
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  outline-offset: -3px;
}
#gift-promo .gift-promo__link::before,
#gift-promo .gift-promo__link::after {
  content: none;
  display: none;
}

#gift-promo .gift-promo__body {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

#gift-promo .gift-promo__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 127px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: 1px solid #f0f0ee;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}

#gift-promo .gift-promo__content {
  min-width: 0;
}
#gift-promo .gift-promo__eyebrow {
  display: block;
  margin: 0 0 5px;
  color: var(--gp-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
}
#gift-promo .gift-promo__title {
  display: block;
  margin: 0 0 7px;
  color: #212824;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.14;
}
#gift-promo .gift-promo__description {
  display: block;
  margin: 0;
  color: var(--gp-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.38;
}

#gift-promo .gift-promo__button {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--gp-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: filter 0.2s;

  &&:hover {
    background: var(--gp-accent-hover);
  }
}

#gift-promo .gift-promo__link:hover .gift-promo__button,
#gift-promo .gift-promo__link:focus-visible .gift-promo__button {
  filter: brightness(1.09);
}

#gift-promo .gift-promo__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 3px;
  right: 4px;
  z-index: 1;
  width: 31px;
  height: 31px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: #49504b;
  background: rgb(255 255 255 / 92%);
  box-shadow: none;
  font:
    24px/1 Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
  opacity: 1;
  transform: none;
}
#gift-promo .gift-promo__close:hover {
  background: #f2f2f2;
  color: #131713;
}
#gift-promo .gift-promo__close:focus-visible {
  outline: 2px solid var(--gp-accent);
  outline-offset: 1px;
}

@media (max-width: 600px) {
  #gift-promo {
    right: 12px;
    left: auto;
    bottom: 76px;
    width: calc(100vw - 24px);
    max-width: 425px;
    border-radius: 12px;
  }
  #gift-promo .gift-promo__link {
    padding: 13px 12px 12px;
  }
  #gift-promo .gift-promo__body {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 10px;
  }
  #gift-promo .gift-promo__title {
    font-size: 17px;
  }
  #gift-promo .gift-promo__description {
    font-size: 12px;
  }
  #gift-promo .gift-promo__eyebrow {
    font-size: 9px;
  }
}

@media (max-width: 350px) {
  #gift-promo .gift-promo__body {
    grid-template-columns: 36% minmax(0, 1fr);
    gap: 8px;
  }
  #gift-promo .gift-promo__title {
    font-size: 16px;
  }
  #gift-promo .gift-promo__link {
    padding: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gift-promo {
    transition: none;
  }
  #gift-promo .gift-promo__button {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Promo prices — universal classes for golf.wroclaw.pl,
   lekcjegolfa.pl and nauka-golfa.pl. No changes to the original cards.
   The root class is added by giftPromo.js during the promotion.
   ------------------------------------------------------------------ */
.gp-price {
  --gp-price-accent: var(--package-background-title-color, #174b39);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.gp-price__regular {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.gp-price__promo {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 12px 6px 9px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
}

html.gp-price-promo-active .gp-price__regular {
  display: none;
}
html.gp-price-promo-active .gp-price__promo {
  display: flex;
}

.gp-price__line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  width: 100%;
  white-space: nowrap;
  line-height: 1.12;
}

.gp-price__old {
  position: relative;
  flex: 0 0 auto;
  color: #777f7c;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;

  /* 
  text-decoration: line-through;
  text-decoration-color: #ad5050;
  text-decoration-thickness: 1.5px;
 */
}

.gp-price__old::after {
  content: '';
  position: absolute;
  left: -4%;
  top: 50%;
  width: 108%;
  height: 2px;
  background: #ad5050;
  transform: rotate(-12deg);
}

.gp-price__new {
  flex: 0 0 auto;
  color: var(--gp-price-accent);
  font-family: inherit;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.gp-price__unit {
  display: inline;
  margin-left: 4px;
  font-size: 0.37em;
  font-weight: 600;
  letter-spacing: normal;
}

.gp-price__lowest {
  display: block;
  max-width: 100%;
  margin: 5px 2px 0;
  color: #626c68;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-wrap: balance;
}

@media (max-width: 390px) {
  .gp-price__line {
    gap: 9px;
  }
  .gp-price__old {
    font-size: 14px;
  }
  .gp-price__new {
    font-size: 34px;
  }
  .gp-price__lowest {
    font-size: 10px;
  }
}
