/* =========================================================
   ClearDeal – „efekt wow” (paczka 106)
   Plik: /var/www/cleardeal.store/css/cd-wow.css
   Działa tylko na stronach z klasą body.cd-wow:
     .cd-wow-add    – formularz „Dodaj ofertę” (addOffer-see.php)
     .cd-wow-offers – oferty i prywatne kody (offers-see.php)
   Styl jak okna logowania/rejestracji: ciemne szkło + złoto.
   Aby wrócić do starego wyglądu: usuń <link … cd-wow.css> z obu plików.
   ========================================================= */

body.cd-wow {
  --w-gold: #f2b90c;
  --w-gold2: #ffd34d;
  --w-gold3: #ffe08a;
  --w-card: rgba(15, 22, 38, .92);
  --w-card2: rgba(20, 29, 49, .9);
  --w-line: rgba(255, 255, 255, .09);
  --w-text: #eef1f7;
  --w-muted: #98a1b5;
  --w-in: rgba(5, 9, 18, .6);
  --w-ok: #2fe08a;
  --w-blue: #3d9bff;
  --w-bad: #ff7b7b;
  --w-font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@keyframes cdwLine  { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes cdwIn    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cdwFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -14px); } }
@keyframes cdwShine { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(230%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { body.cd-wow * { animation: none !important; transition: none !important; } }

/* =========================================================
   1. FORMULARZ „DODAJ OFERTĘ”
   ========================================================= */
html:has(body.cd-wow-add), body.cd-wow-add {
  background: #070b14 !important;
}
body.cd-wow-add {
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(242,185,12,.13), transparent 60%),
    radial-gradient(800px 700px at 100% 40%, rgba(61,120,255,.14), transparent 60%),
    radial-gradient(700px 500px at 30% 100%, rgba(47,224,138,.08), transparent 60%),
    #070b14 !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

body.cd-wow-add #addOfferForm {
  position: relative !important; box-sizing: border-box !important;
  width: min(780px, calc(100% - 28px)) !important; max-width: none !important;
  margin: 34px auto 70px !important; padding: 0 30px 30px !important;
  background: var(--w-card) !important; color: var(--w-text) !important;
  border: 1px solid rgba(242,185,12,.32) !important; border-radius: 26px !important;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 90px rgba(242,185,12,.07) !important;
  font-family: var(--w-font) !important; overflow: hidden;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: cdwIn .45s cubic-bezier(.2,.9,.25,1.1);
}
body.cd-wow-add #addOfferForm::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--w-gold2), var(--w-gold), var(--w-ok), transparent);
  background-size: 200% 100%; animation: cdwLine 6s linear infinite;
}

/* --- nagłówek (hero) --- */
body.cd-wow-add .offer-heading-title { display: none !important; }
.cdw-hero {
  position: relative; overflow: hidden; margin: 0 -30px 24px; padding: 34px 30px 26px;
  background: linear-gradient(160deg, #141f36 0%, #0b1222 70%);
  border-bottom: 1px solid var(--w-line);
}
.cdw-hero i { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .55; pointer-events: none; animation: cdwFloat 9s ease-in-out infinite; }
.cdw-hero i.o1 { width: 240px; height: 240px; top: -90px; left: -60px; background: rgba(242,185,12,.38); }
.cdw-hero i.o2 { width: 200px; height: 200px; bottom: -110px; right: -40px; background: rgba(61,120,255,.38); animation-delay: -4s; }
.cdw-hero i.o3 { width: 120px; height: 120px; top: 20%; right: 30%; background: rgba(47,224,138,.2); animation-delay: -2s; }
.cdw-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 20% 20%, #000 10%, transparent 70%); }
.cdw-hero > :not(i) { position: relative; z-index: 1; }
.cdw-kick { font: 800 12px/1 var(--w-font); letter-spacing: 2px; text-transform: uppercase; color: var(--w-gold2); }
.cdw-hero h1 { margin: 10px 0 8px !important; font: 900 34px/1.08 var(--w-font) !important; letter-spacing: -.8px; color: #fff !important; text-align: left !important; background: none !important; -webkit-text-fill-color: #fff !important; text-shadow: none !important; }
.cdw-hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffe08a, var(--w-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cdw-hero p { margin: 0 !important; max-width: 540px; color: #b7bfd0 !important; font-size: 15px; line-height: 1.55; }
.cdw-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cdw-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #dfe4ee;
  background: rgba(255,255,255,.05); border: 1px solid var(--w-line); }
.cdw-steps b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: #181206;
  background: linear-gradient(135deg, var(--w-gold2), var(--w-gold)); }

/* --- etykiety, pola --- */
body.cd-wow-add #addOfferForm label { color: #cfd6e4 !important; font: 700 13.5px/1.4 var(--w-font) !important; letter-spacing: .2px; }
body.cd-wow-add #addOfferForm > label[for="offerType"] { display: none !important; }
body.cd-wow-add #addOfferForm input[type="text"],
body.cd-wow-add #addOfferForm input[type="number"],
body.cd-wow-add #addOfferForm input[type="date"],
body.cd-wow-add #addOfferForm input[type="email"],
body.cd-wow-add #addOfferForm select,
body.cd-wow-add #addOfferForm textarea {
  box-sizing: border-box !important; width: 100% !important; margin: 7px 0 14px !important;
  padding: 13px 15px !important; min-height: 48px; border-radius: 13px !important;
  background: var(--w-in) !important; color: #fff !important; -webkit-text-fill-color: #fff;
  border: 1px solid rgba(255,255,255,.12) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
  font: 500 15px/1.4 var(--w-font) !important; outline: none !important; color-scheme: dark;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
body.cd-wow-add #addOfferForm textarea { min-height: 96px; resize: vertical; }
body.cd-wow-add #addOfferForm input:hover, body.cd-wow-add #addOfferForm textarea:hover { border-color: rgba(242,185,12,.35) !important; }
body.cd-wow-add #addOfferForm input:focus, body.cd-wow-add #addOfferForm textarea:focus, body.cd-wow-add #addOfferForm select:focus {
  border-color: var(--w-gold) !important; background: rgba(5,9,18,.85) !important;
  box-shadow: 0 0 0 4px rgba(242,185,12,.16), 0 0 24px rgba(242,185,12,.12) !important;
}
body.cd-wow-add #addOfferForm input:disabled { opacity: .5; }
body.cd-wow-add #addOfferForm input::placeholder, body.cd-wow-add #addOfferForm textarea::placeholder { color: #6f7890 !important; }
body.cd-wow-add #addOfferForm small { color: var(--w-muted) !important; font-size: 12.5px; line-height: 1.5; }
body.cd-wow-add #addOfferForm hr { border: 0 !important; height: 1px !important; margin: 18px 0 !important; background: linear-gradient(90deg, transparent, rgba(242,185,12,.4), transparent) !important; }

/* --- wybór sposobu (3 karty) --- */
body.cd-wow-add .offer-mode-box { margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.cd-wow-add .offer-mode-title { margin: 0 0 12px !important; color: #fff !important; font: 800 17px/1.3 var(--w-font) !important; }
body.cd-wow-add .offer-mode-options { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
body.cd-wow-add .offer-mode-option { display: block !important; margin: 0 !important; cursor: pointer; }
body.cd-wow-add .offer-mode-card {
  position: relative; display: flex !important; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box;
  padding: 18px 16px 16px !important; border-radius: 18px !important; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
  border: 1px solid var(--w-line) !important; box-shadow: none !important;
  transition: transform .25s cubic-bezier(.2,.9,.25,1.2), border-color .25s, box-shadow .25s, background .25s;
}
body.cd-wow-add .offer-mode-card::before { font-size: 26px; line-height: 1; margin-bottom: 4px; }
body.cd-wow-add .offer-mode-option:nth-child(1) .offer-mode-card::before { content: "💰"; }
body.cd-wow-add .offer-mode-option:nth-child(2) .offer-mode-card::before { content: "🎁"; }
body.cd-wow-add .offer-mode-option:nth-child(3) .offer-mode-card::before { content: "🔐"; }
body.cd-wow-add .offer-mode-card strong { color: #fff !important; font: 800 15px/1.3 var(--w-font) !important; }
body.cd-wow-add .offer-mode-card span { color: var(--w-muted) !important; font-size: 13px !important; line-height: 1.5 !important; }
body.cd-wow-add .offer-mode-option:hover .offer-mode-card { transform: translateY(-3px); border-color: rgba(242,185,12,.4) !important; }
body.cd-wow-add .offer-mode-option input:checked + .offer-mode-card {
  border-color: var(--w-gold) !important; transform: translateY(-3px);
  background: linear-gradient(160deg, rgba(242,185,12,.18), rgba(242,185,12,.04)) !important;
  box-shadow: 0 14px 34px rgba(242,185,12,.16), 0 0 0 1px rgba(242,185,12,.35) inset !important;
}
body.cd-wow-add .offer-mode-option input:checked + .offer-mode-card::after {
  content: "✓"; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; font-weight: 900; font-size: 13px; color: #181206; background: linear-gradient(135deg, var(--w-gold2), var(--w-gold));
  box-shadow: 0 0 16px rgba(242,185,12,.6);
}
body.cd-wow-add .offer-mode-option input:focus-visible + .offer-mode-card { outline: 2px solid var(--w-gold2); outline-offset: 3px; }

body.cd-wow-add #recoveryPriceBox, body.cd-wow-add #privateInfoBox {
  margin-top: 16px !important; padding: 18px !important; border-radius: 18px !important;
  background: rgba(242,185,12,.05) !important; border: 1px solid rgba(242,185,12,.28) !important; box-shadow: none !important;
}
body.cd-wow-add #privateInfoBox { background: rgba(47,224,138,.05) !important; border-color: rgba(47,224,138,.3) !important; color: #dfe4ee; }
body.cd-wow-add #recoveryPriceBox label { color: #fff !important; font-size: 15px !important; }
body.cd-wow-add .cd-fee-preview { border-radius: 14px !important; background: rgba(5,9,18,.5) !important; }

/* --- sekcje (fieldset) --- */
body.cd-wow-add #addOfferForm fieldset {
  position: relative; margin: 0 0 20px !important; padding: 22px 20px 8px !important; min-width: 0;
  border: 1px solid var(--w-line) !important; border-radius: 20px !important;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.012)) !important;
}
body.cd-wow-add #addOfferForm legend {
  padding: 6px 14px !important; margin-left: -4px; border-radius: 999px;
  font: 800 13px/1.2 var(--w-font) !important; letter-spacing: .4px; color: #181206 !important;
  background: linear-gradient(135deg, var(--w-gold2), var(--w-gold)) !important; box-shadow: 0 6px 18px rgba(242,185,12,.28);
}
body.cd-wow-add #addOfferForm br { display: none; }

/* daty: Od | Do obok siebie */
body.cd-wow-add #addOfferForm fieldset:has(#valid_from) {
  display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; grid-auto-flow: column; column-gap: 14px;
}
body.cd-wow-add #addOfferForm .checkbox-wrapper {
  display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; margin: -4px 0 14px !important; padding: 0 !important;
  color: var(--w-muted) !important; font-weight: 600 !important; font-size: 13px !important; cursor: pointer; justify-self: start;
}
body.cd-wow-add #addOfferForm input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 38px !important; height: 22px !important; margin: 0 !important; flex: 0 0 38px;
  border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); position: relative; cursor: pointer; transition: background .2s;
}
body.cd-wow-add #addOfferForm input[type="checkbox"]::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #cfd6e4; transition: transform .2s, background .2s;
}
body.cd-wow-add #addOfferForm input[type="checkbox"]:checked { background: rgba(242,185,12,.35); border-color: var(--w-gold); }
body.cd-wow-add #addOfferForm input[type="checkbox"]:checked::after { transform: translateX(16px); background: var(--w-gold2); }

/* --- przyciski pomocnicze --- */
body.cd-wow-add #startVerifyBtn, body.cd-wow-add #scanButton {
  position: relative; overflow: hidden; display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100% !important; min-height: 50px; margin: 2px 0 16px !important; padding: 12px 16px !important; border-radius: 14px !important; border: 0 !important;
  font: 800 15px/1.2 var(--w-font) !important; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s;
}
body.cd-wow-add #startVerifyBtn { color: #052014 !important; background: linear-gradient(135deg, #5cf2a6, #23c777) !important; box-shadow: 0 10px 28px rgba(47,224,138,.28) !important; }
body.cd-wow-add #scanButton { margin-top: -6px !important; color: #fff !important; background: linear-gradient(135deg, #3d7bff, #2448c9) !important; box-shadow: 0 10px 28px rgba(61,120,255,.28) !important; }
body.cd-wow-add #startVerifyBtn::after, body.cd-wow-add #scanButton::after, body.cd-wow-add #submitBtn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-130%) skewX(-18deg); pointer-events: none;
}
body.cd-wow-add #startVerifyBtn:hover::after, body.cd-wow-add #scanButton:hover::after, body.cd-wow-add #submitBtn:hover::after { animation: cdwShine .8s ease; }
body.cd-wow-add #startVerifyBtn:hover, body.cd-wow-add #scanButton:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* --- zdjęcie źródła --- */
body.cd-wow-add .source-image-box { margin: 4px 0 16px !important; padding: 18px !important; border-radius: 18px !important; border: 1.5px dashed rgba(242,185,12,.5) !important; background: rgba(242,185,12,.045) !important; }
body.cd-wow-add .source-image-label { color: #fff !important; font-size: 15px !important; }
body.cd-wow-add .source-image-help { color: #b7bfd0 !important; }
body.cd-wow-add #source_image { width: 100% !important; box-sizing: border-box; padding: 10px !important; border-radius: 13px !important; background: var(--w-in) !important; border: 1px solid rgba(255,255,255,.12) !important; color: var(--w-muted) !important; font: 500 14px var(--w-font) !important; }
body.cd-wow-add #source_image::file-selector-button {
  margin-right: 12px; padding: 9px 14px; border: 0; border-radius: 10px; cursor: pointer;
  font: 800 13px var(--w-font); color: #181206; background: linear-gradient(135deg, var(--w-gold2), var(--w-gold));
}

/* --- przycisk „Dodaj ofertę” --- */
body.cd-wow-add .offer-submit-row { display: flex !important; flex-direction: column; gap: 10px; margin-top: 8px !important; }
body.cd-wow-add #submitBtn {
  position: relative; overflow: hidden; width: 100% !important; min-height: 58px; padding: 16px 20px !important; border: 0 !important; border-radius: 16px !important;
  font: 900 17px/1.2 var(--w-font) !important; letter-spacing: .3px; color: #181206 !important; cursor: pointer;
  background: linear-gradient(135deg, #ffe08a 0%, var(--w-gold2) 35%, var(--w-gold) 100%) !important;
  box-shadow: 0 16px 40px rgba(242,185,12,.32), 0 0 0 1px rgba(255,255,255,.25) inset !important;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
body.cd-wow-add #submitBtn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(242,185,12,.42), 0 0 0 1px rgba(255,255,255,.3) inset !important; }
body.cd-wow-add #submitBtn:active { transform: translateY(0) scale(.99); }
body.cd-wow-add #submitBtn:disabled { filter: grayscale(.6) brightness(.7); cursor: not-allowed; transform: none; }
body.cd-wow-add .admin-test-btn { border-radius: 14px !important; }

@media (max-width: 640px) {
  body.cd-wow-add #addOfferForm { margin: 14px auto 50px !important; padding: 0 16px 20px !important; border-radius: 22px !important; }
  .cdw-hero { margin: 0 -16px 18px; padding: 26px 16px 20px; }
  .cdw-hero h1 { font-size: 27px !important; }
  .cdw-hero p { font-size: 14px; }
  body.cd-wow-add .offer-mode-options { grid-template-columns: 1fr !important; }
  body.cd-wow-add .offer-mode-card { display: grid !important; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px !important; }
  body.cd-wow-add .offer-mode-card::before { grid-row: span 2; margin: 2px 0 0; }
  body.cd-wow-add #addOfferForm fieldset { padding: 20px 14px 6px !important; }
  body.cd-wow-add #addOfferForm fieldset:has(#valid_from) { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}

/* =========================================================
   2. OFERTY – karty („Wszystkie oferty”)
   ========================================================= */
body.cd-wow-offers .offers-grid {
  background: transparent !important; gap: 24px !important; padding: 22px 0 !important;
  grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)) !important;
}
body.cd-wow-offers .offers-grid > .offer {
  --od-status-glow: transparent;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(242,185,12,.07), transparent 60%),
    linear-gradient(165deg, #141e34 0%, #0c1222 55%, #090d19 100%) !important;
  border: 1px solid rgba(255,255,255,.08) !important; border-radius: 24px !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.02) inset !important;
  padding: 0 20px 18px !important; font-family: var(--w-font) !important; color: var(--w-text) !important;
  animation: cdwIn .5s cubic-bezier(.2,.9,.25,1.1) both !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s !important;
}
body.cd-wow-offers .offers-grid > .offer:nth-child(2) { animation-delay: .05s !important; }
body.cd-wow-offers .offers-grid > .offer:nth-child(3) { animation-delay: .1s !important; }
body.cd-wow-offers .offers-grid > .offer:nth-child(4) { animation-delay: .15s !important; }
body.cd-wow-offers .offers-grid > .offer:nth-child(n+5) { animation-delay: .2s !important; }
body.cd-wow-offers .offers-grid > .offer:hover {
  transform: translateY(-6px) !important; border-color: rgba(242,185,12,.45) !important;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 40px rgba(242,185,12,.12) !important;
}
/* status: cienka świecąca linia na dole + pigułka w rogu */
body.cd-wow-offers .offers-grid > .offer::after {
  content: "" !important; position: absolute !important; inset: auto 0 0 0 !important; height: 3px !important; top: auto !important;
  transform: none !important; transition: none !important; opacity: .9; z-index: 2 !important;
  background: linear-gradient(90deg, transparent, var(--od-status-color, var(--w-gold)), transparent) !important;
}
body.cd-wow-offers .offers-grid > .offer::before {
  top: 12px !important; left: 12px !important; z-index: 3 !important; padding: 5px 11px 5px 9px !important; border-radius: 999px !important;
  font: 800 10.5px/1.2 var(--w-font) !important; letter-spacing: .6px !important; text-transform: uppercase;
  color: #fff !important; background: rgba(5,9,18,.62) !important; border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
body.cd-wow-offers .offers-grid > .offer[data-status="active"]::before    { content: "● Dostępna" !important; color: #7cf3b0 !important; }
body.cd-wow-offers .offers-grid > .offer[data-status="in_use"]::before,
body.cd-wow-offers .offers-grid > .offer[data-status="frozen"]::before    { content: "● W użyciu" !important; color: #ffe08a !important; }
body.cd-wow-offers .offers-grid > .offer[data-status="reserved"]::before  { content: "● Zarezerwowana" !important; color: #e0b8ff !important; }
body.cd-wow-offers .offers-grid > .offer[data-status="verifying"]::before { content: "● Weryfikacja" !important; color: #9cccff !important; }
body.cd-wow-offers .offers-grid > .offer[data-status="sold"]::before      { content: "● Sprzedana" !important; color: #b8c0ff !important; }

/* pasek marki */
body.cd-wow-offers .offers-grid > .offer .offer-brand-bar {
  position: relative; margin: 0 -20px 18px !important; padding: 40px 20px 20px !important; border-radius: 24px 24px 0 0 !important;
  overflow: hidden; text-align: left !important; display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 2px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}
body.cd-wow-offers .offers-grid > .offer .offer-brand-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 45%, rgba(0,0,0,.22)),
              radial-gradient(300px 120px at 85% 10%, rgba(255,255,255,.22), transparent 60%);
}
body.cd-wow-offers .offers-grid > .offer .offer-brand-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-130%) skewX(-18deg);
}
body.cd-wow-offers .offers-grid > .offer:hover .offer-brand-bar::after { animation: cdwShine 1s ease; }
body.cd-wow-offers .offers-grid > .offer .brand-bar-name { position: relative; font: 900 26px/1.1 var(--w-font) !important; letter-spacing: -.4px !important; text-transform: none !important; }
body.cd-wow-offers .offers-grid > .offer .brand-bar-sub { position: relative; font: 700 11px/1.3 var(--w-font) !important; letter-spacing: 1.4px !important; text-transform: uppercase; opacity: .78; }
body.cd-wow-offers .offers-grid > .offer .brand-info-icon { position: absolute !important; top: 12px !important; right: 14px !important; left: auto !important; z-index: 4; opacity: .75; }
body.cd-wow-offers .offers-grid > .offer .cd-save-corner {
  top: 46px !important; right: 14px !important; z-index: 4 !important; padding: 6px 11px !important; border-radius: 999px !important;
  font: 900 14px/1 var(--w-font) !important; color: #052014 !important; -webkit-text-fill-color: #052014 !important;
  background: linear-gradient(135deg, #7cf3b0, #2fe08a) !important; border: 0 !important; box-shadow: 0 6px 18px rgba(47,224,138,.4) !important;
}

/* wartości */
body.cd-wow-offers .offers-grid > .offer .offer-values-grid { gap: 10px !important; margin: 0 0 14px !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-end; gap: 6px !important;
  min-height: 82px; padding: 13px 14px !important; border-radius: 16px !important;
  background: rgba(255,255,255,.045) !important; border: 1px solid rgba(255,255,255,.08) !important;
  font: 900 22px/1.1 var(--w-font) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; letter-spacing: -.3px;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line::before { display: none !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line strong {
  order: -1; display: flex !important; align-items: center; gap: 6px; white-space: nowrap;
  font: 800 10.5px/1.2 var(--w-font) !important; letter-spacing: .9px !important; text-transform: uppercase;
  color: var(--w-muted) !important; -webkit-text-fill-color: var(--w-muted) !important; background: none !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line strong::before { content: none !important; display: none !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line strong.voucher::after { content: "Wartość kodu"; display: none; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line.cd-fee-line {
  background: linear-gradient(160deg, rgba(242,185,12,.16), rgba(242,185,12,.04)) !important; border-color: rgba(242,185,12,.4) !important; padding-right: 14px !important;
}
body.cd-wow-offers .offers-grid > .offer .cd-fee-line .cd-fee-head { display: flex; align-items: center; gap: 6px; width: 100%; }
body.cd-wow-offers .offers-grid > .offer .cd-fee-line .cd-fee-head strong { font-size: 10.5px !important; color: var(--w-gold3) !important; -webkit-text-fill-color: var(--w-gold3) !important; }
body.cd-wow-offers .offers-grid > .offer .cd-fee-line button.cd-fee-info { position: static !important; margin-left: auto; width: 20px !important; height: 20px !important; }
body.cd-wow-offers .offers-grid > .offer .cd-fee-total { font: 900 22px/1.1 var(--w-font) !important; color: var(--w-gold2) !important; -webkit-text-fill-color: var(--w-gold2) !important; background: none !important; white-space: nowrap; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line.free-offer {
  background: linear-gradient(160deg, rgba(47,224,138,.16), rgba(47,224,138,.04)) !important; border-color: rgba(47,224,138,.4) !important; justify-content: center;
}
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line.free-offer strong {
  white-space: normal; font: 900 15px/1.25 var(--w-font) !important; letter-spacing: 0 !important; text-transform: none; color: #7cf3b0 !important; -webkit-text-fill-color: #7cf3b0 !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line.free-offer strong::before { content: "🎁" !important; display: inline !important; font-size: 20px; }

/* linie informacyjne */
body.cd-wow-offers .offers-grid > .offer > .line {
  display: flex !important; justify-content: space-between !important; align-items: center !important;
  padding: 10px 2px !important; margin: 0 0 12px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; border-image: none !important;
  color: #dfe4ee !important; -webkit-text-fill-color: #dfe4ee; font: 600 14px var(--w-font) !important;
}
body.cd-wow-offers .offers-grid > .offer > .line strong {
  color: var(--w-muted) !important; -webkit-text-fill-color: var(--w-muted) !important; background: none !important;
  font: 700 12px var(--w-font) !important; letter-spacing: .5px !important; text-transform: uppercase;
}
body.cd-wow-offers .offers-grid > .offer > .line strong.username::before { content: "👤" !important; }
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid { gap: 10px !important; margin: 0 0 16px !important; }
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line {
  padding: 11px 13px !important; border-radius: 14px !important; background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.07) !important;
  font: 800 15px var(--w-font) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line::after,
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line::before { display: none !important; }
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line strong {
  font: 700 10.5px/1.3 var(--w-font) !important; letter-spacing: .6px !important; text-transform: uppercase;
  color: var(--w-muted) !important; -webkit-text-fill-color: var(--w-muted) !important; background: none !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-urgency-badge,
body.cd-wow-offers .offers-grid > .offer .offer-test-info { border-radius: 12px !important; font-family: var(--w-font) !important; }
body.cd-wow-offers .offers-grid > .offer .offer-urgency-badge {
  display: inline-flex !important; margin: 0 0 14px !important; padding: 7px 12px !important; font-weight: 800 !important; font-size: 12.5px !important;
  color: #ffd2ad !important; background: rgba(255,120,60,.12) !important; border: 1px solid rgba(255,140,80,.45) !important; box-shadow: 0 0 18px rgba(255,120,60,.12);
}

/* przyciski */
body.cd-wow-offers .offers-grid > .offer .offer-actions { display: flex !important; flex-direction: column; gap: 10px !important; }
body.cd-wow-offers .offers-grid > .offer .offer-actions-row { display: flex !important; flex-wrap: wrap; gap: 10px !important; align-items: stretch; margin: 0 !important; }
body.cd-wow-offers .offers-grid > .offer .cd-buy-flag { display: flex !important; gap: 10px !important; flex: 1 1 100%; align-items: stretch; margin: 0 !important; }
body.cd-wow-offers .offers-grid > .offer .buy-offer-btn,
body.cd-wow-offers .offers-grid > .offer .show-code-btn {
  position: relative; overflow: hidden; flex: 1 1 auto; display: flex !important; align-items: center; justify-content: center;
  min-height: 50px; margin: 0 !important; padding: 12px 18px !important; border: 0 !important; border-radius: 15px !important; width: auto !important;
  font: 900 16px/1.1 var(--w-font) !important; letter-spacing: .2px; color: #181206 !important; cursor: pointer;
  background: linear-gradient(135deg, #ffe08a 0%, var(--w-gold2) 35%, var(--w-gold) 100%) !important;
  box-shadow: 0 12px 30px rgba(242,185,12,.28), 0 0 0 1px rgba(255,255,255,.25) inset !important;
  transition: transform .2s, box-shadow .2s, filter .2s !important;
}
body.cd-wow-offers .offers-grid > .offer .buy-offer-btn::after,
body.cd-wow-offers .offers-grid > .offer .show-code-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-130%) skewX(-18deg);
}
body.cd-wow-offers .offers-grid > .offer .buy-offer-btn:hover::after,
body.cd-wow-offers .offers-grid > .offer .show-code-btn:hover::after { animation: cdwShine .8s ease; }
body.cd-wow-offers .offers-grid > .offer .buy-offer-btn:hover,
body.cd-wow-offers .offers-grid > .offer .show-code-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(242,185,12,.38), 0 0 0 1px rgba(255,255,255,.3) inset !important; }
body.cd-wow-offers .offers-grid > .offer .buy-offer-btn.is-disabled,
body.cd-wow-offers .offers-grid > .offer .show-code-btn.is-disabled {
  background: rgba(255,255,255,.07) !important; color: #aab2c4 !important; box-shadow: none !important; border: 1px solid rgba(255,255,255,.12) !important; cursor: not-allowed; transform: none !important;
}
body.cd-wow-offers .offers-grid > .offer .report-offer-btn {
  flex: 0 0 50px; width: 50px !important; height: 50px !important; min-height: 50px; margin: 0 !important; padding: 0 !important; display: grid !important; place-items: center;
  border-radius: 15px !important; background: rgba(239,89,89,.08) !important; border: 1px solid rgba(239,89,89,.35) !important; font-size: 18px !important;
  transition: background .2s, transform .2s !important;
}
body.cd-wow-offers .offers-grid > .offer .report-offer-btn:hover { background: rgba(239,89,89,.2) !important; transform: translateY(-2px); }
body.cd-wow-offers .offers-grid > .offer .nego-offers,
body.cd-wow-offers .offers-grid > .offer .show-comment-btn,
body.cd-wow-offers .offers-grid > .offer .cd-back-private,
body.cd-wow-offers .offers-grid > .offer .cd-resign-btn {
  flex: 1 1 0; display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: 0 !important; padding: 10px 14px !important; width: auto !important;
  border-radius: 13px !important; font: 800 14px/1.1 var(--w-font) !important; cursor: pointer;
  color: var(--w-gold3) !important; background: rgba(242,185,12,.06) !important; border: 1px solid rgba(242,185,12,.38) !important; box-shadow: none !important;
  transition: background .2s, border-color .2s, transform .2s !important;
}
body.cd-wow-offers .offers-grid > .offer .show-comment-btn { color: #dfe4ee !important; background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.14) !important; }
body.cd-wow-offers .offers-grid > .offer .show-comment-btn::before { content: "💡"; }
body.cd-wow-offers .offers-grid > .offer .nego-offers::before { content: "💬"; }
body.cd-wow-offers .offers-grid > .offer .nego-offers:hover,
body.cd-wow-offers .offers-grid > .offer .show-comment-btn:hover,
body.cd-wow-offers .offers-grid > .offer .cd-back-private:hover { background: rgba(242,185,12,.14) !important; border-color: var(--w-gold) !important; transform: translateY(-1px); }
body.cd-wow-offers .offers-grid > .offer .loyalty-warning { border-radius: 12px !important; font-size: 12.5px !important; }

/* zaufanie – ciszej, elegancko */
body.cd-wow-offers .offers-grid > .offer .offer-trust-row {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px !important; margin: 16px 0 0 !important; padding: 14px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-trust-item { font: 600 11px/1.35 var(--w-font) !important; color: var(--w-muted) !important; text-align: center; }
body.cd-wow-offers .offers-grid > .offer .offer-trust-item span { display: block; font-size: 16px; margin-bottom: 4px; }
body.cd-wow-offers .offers-grid > .offer .offer-trust-community {
  margin-top: 12px !important; padding: 10px 12px !important; border-radius: 12px !important;
  background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.06) !important;
}
body.cd-wow-offers .offers-grid > .offer .offer-trust-text { font: 12px/1.45 var(--w-font) !important; color: var(--w-muted) !important; }
body.cd-wow-offers .offers-grid > .offer > p { color: var(--w-muted) !important; font: 600 13px var(--w-font) !important; text-align: center; }

/* zakładki + sekcje */
body.cd-wow-offers .offers-tabs { gap: 12px !important; }
body.cd-wow-offers .offers-tab {
  min-height: 54px; border-radius: 16px !important; font: 800 15px var(--w-font) !important; letter-spacing: .1px;
  transition: transform .2s, box-shadow .2s, background .2s !important;
}
body.cd-wow-offers .offers-tab:hover { transform: translateY(-2px); }
body.cd-wow-offers .offers-tab--active {
  background: linear-gradient(135deg, #ffe08a 0%, var(--w-gold2) 35%, var(--w-gold) 100%) !important; color: #181206 !important;
  box-shadow: 0 12px 30px rgba(242,185,12,.3), 0 0 0 1px rgba(255,255,255,.3) inset !important; border-color: transparent !important;
}

/* =========================================================
   3. MOJE PRYWATNE KODY
   ========================================================= */
body.cd-wow-offers .private-grid { gap: 20px !important; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)) !important; }
body.cd-wow-offers .private-card {
  position: relative; overflow: hidden; padding: 20px !important; border-radius: 22px !important;
  background: radial-gradient(420px 200px at 100% 0%, rgba(242,185,12,.08), transparent 60%), linear-gradient(165deg, #141e34 0%, #0c1222 60%, #090d19 100%) !important;
  border: 1px solid rgba(255,255,255,.08) !important; border-left: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.4) !important; color: var(--w-text) !important; font-family: var(--w-font) !important;
  animation: cdwIn .5s cubic-bezier(.2,.9,.25,1.1) both; transition: transform .3s, border-color .3s, box-shadow .3s;
}
body.cd-wow-offers .private-card:hover { transform: translateY(-4px); border-color: rgba(242,185,12,.4) !important; box-shadow: 0 28px 60px rgba(0,0,0,.5), 0 0 34px rgba(242,185,12,.1) !important; }
body.cd-wow-offers .private-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc-c, var(--w-ok)); box-shadow: 0 0 18px var(--pc-c, var(--w-ok)); }
body.cd-wow-offers .private-card--soon    { --pc-c: #3d9bff; }
body.cd-wow-offers .private-card--last    { --pc-c: #ff9a3c; }
body.cd-wow-offers .private-card--expired { --pc-c: #6b7280; }
body.cd-wow-offers .private-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px !important; }
body.cd-wow-offers .private-store { font: 900 19px/1.2 var(--w-font) !important; color: var(--w-gold2) !important; letter-spacing: -.2px; }
body.cd-wow-offers .private-state {
  flex: 0 0 auto; padding: 5px 10px !important; border-radius: 999px !important; font: 800 11px/1.2 var(--w-font) !important;
  color: var(--pc-c, var(--w-ok)) !important; background: rgba(255,255,255,.06) !important; border: 1px solid currentColor !important;
}
.cdw-pc-valrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
body.cd-wow-offers .cdw-pc-valrow .private-value { margin: 0 !important; font: 900 30px/1.05 var(--w-font) !important; letter-spacing: -.6px; color: #fff !important; white-space: nowrap; }
body.cd-wow-offers .private-btn.cdw-how {
  flex: 0 0 auto; width: auto !important; min-height: 38px; padding: 8px 14px !important; border-radius: 999px !important;
  font: 800 13px/1 var(--w-font) !important; color: #dfe4ee !important; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.16) !important;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
body.cd-wow-offers .private-btn.cdw-how:hover { background: rgba(242,185,12,.14) !important; border-color: var(--w-gold) !important; color: var(--w-gold3) !important; transform: translateY(-1px); }
body.cd-wow-offers .private-code { border-radius: 12px !important; background: rgba(5,9,18,.6) !important; border: 1px dashed rgba(255,255,255,.18) !important; letter-spacing: 3px; }
body.cd-wow-offers .private-dates { font-family: var(--w-font) !important; color: var(--w-muted) !important; }
body.cd-wow-offers .private-dates b, body.cd-wow-offers .private-dates div { color: #dfe4ee; }
body.cd-wow-offers .private-reminder { font-family: var(--w-font) !important; color: #c9d0dd !important; border-radius: 14px; padding: 12px !important; background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.06) !important; margin-top: 12px !important; }
body.cd-wow-offers .private-actions { display: flex !important; gap: 10px !important; margin-top: 16px !important; }
body.cd-wow-offers .private-actions .private-show-code {
  position: relative; overflow: hidden; flex: 1 1 auto; min-height: 50px; border: 0 !important; border-radius: 15px !important;
  font: 900 16px/1 var(--w-font) !important; color: #181206 !important; cursor: pointer;
  background: linear-gradient(135deg, #ffe08a 0%, var(--w-gold2) 35%, var(--w-gold) 100%) !important;
  box-shadow: 0 12px 30px rgba(242,185,12,.28), 0 0 0 1px rgba(255,255,255,.25) inset !important; transition: transform .2s, box-shadow .2s;
}
body.cd-wow-offers .private-actions .private-show-code::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
body.cd-wow-offers .private-actions .private-show-code:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(242,185,12,.38) !important; }
body.cd-wow-offers .private-actions .private-show-code:hover::after { animation: cdwShine .8s ease; }
body.cd-wow-offers .private-actions .private-delete {
  flex: 0 0 auto; min-width: 96px; min-height: 50px; padding: 0 14px !important; border-radius: 15px !important; cursor: pointer;
  font: 800 14px/1 var(--w-font) !important; color: #ff9b9b !important; background: rgba(239,89,89,.07) !important; border: 1px solid rgba(239,89,89,.4) !important;
  transition: background .2s, color .2s, transform .2s;
}
body.cd-wow-offers .private-actions .private-delete:hover { background: #ef5959 !important; color: #fff !important; transform: translateY(-2px); }
/* delikatna kreska z odstępem */
.cdw-sep { display: flex; align-items: center; gap: 12px; margin: 22px 2px 14px; }
.cdw-sep::before, .cdw-sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(242,185,12,.45)); }
.cdw-sep::after { background: linear-gradient(90deg, rgba(242,185,12,.45), transparent); }
.cdw-sep span { font: 700 10.5px/1 var(--w-font, sans-serif); letter-spacing: 1.6px; text-transform: uppercase; color: #8a93a8; white-space: nowrap; }
body.cd-wow-offers .private-manage { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin-top: 0 !important; }
body.cd-wow-offers .private-manage-btn {
  min-height: 46px; padding: 10px 12px !important; border-radius: 14px !important; font: 800 13.5px/1.25 var(--w-font) !important; cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
body.cd-wow-offers .private-manage-btn:not([disabled]):hover { transform: translateY(-2px); }
body.cd-wow-offers .private-img-note, body.cd-wow-offers .private-loyalty-note { font-family: var(--w-font) !important; font-size: 12px !important; margin-top: 12px !important; }
body.cd-wow-offers .private-codes-intro { border-radius: 16px !important; font-family: var(--w-font) !important; }

@media (max-width: 560px) {
  body.cd-wow-offers .offers-grid > .offer { padding: 0 16px 16px !important; border-radius: 22px !important; }
  body.cd-wow-offers .offers-grid > .offer .offer-brand-bar { margin: 0 -16px 16px !important; padding: 38px 16px 18px !important; }
  body.cd-wow-offers .offers-grid > .offer .brand-bar-name { font-size: 23px !important; }
  body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line, body.cd-wow-offers .offers-grid > .offer .cd-fee-total { font-size: 19px !important; }
  body.cd-wow-offers .private-card { padding: 16px !important; }
  body.cd-wow-offers .cdw-pc-valrow .private-value { font-size: 26px !important; }
}

/* poprawki układu przycisków prywatnych kodów */
body.cd-wow-offers .private-actions > * { width: auto !important; margin: 0 !important; }
body.cd-wow-offers .private-actions .private-show-code { flex: 1 1 0 !important; min-width: 0; }
body.cd-wow-offers .private-actions .private-delete { flex: 0 0 110px !important; }
body.cd-wow-offers .offers-container { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
/* body ma display:flex – główny pojemnik musi mieć szerokość ekranu, inaczej telefon pokazuje stronę 1200 px */
body.cd-wow-offers > div[style*="max-width:1200px"], body.cd-wow-offers > div[style*="max-width: 1200px"] { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
body.cd-wow-offers .offers-grid > .offer .offer-row { display: block !important; width: 100% !important; }
body.cd-wow-offers .offers-grid > .offer .line::after,
body.cd-wow-offers .offers-grid > .offer .line::before { content: none !important; display: none !important; }
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line strong::before { content: none !important; display: none !important; }
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid .line strong { letter-spacing: .3px !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid,
body.cd-wow-offers .offers-grid > .offer .offer-dates-grid { grid-template-columns: 1fr 1fr !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line,
body.cd-wow-offers .offers-grid > .offer .cd-fee-total { white-space: nowrap; font-size: 20px !important; }
@media (max-width: 380px) {
  body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line,
  body.cd-wow-offers .offers-grid > .offer .cd-fee-total { font-size: 17px !important; }
}
@media (max-width: 640px) { body.cd-wow-add .offer-mode-card { padding-right: 44px !important; } }

/* paczka 111: ostrzeżenie „oferta mogła zostać już wykorzystana” */
.cd-ac-warn { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; font: 600 12.5px/1.45 'Segoe UI', system-ui, sans-serif;
  color: #ffd2ad; background: rgba(255,140,50,.1); border: 1px solid rgba(255,140,50,.45); }

/* paczka 111: przełącznik zł / % i pola procentowe w formularzu */
body.cd-wow-add .cdw-disc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 7px 0 14px; border-radius: 15px;
  background: var(--w-in); border: 1px solid rgba(255,255,255,.12); }
body.cd-wow-add .cdw-disc label { display: block !important; margin: 0 !important; cursor: pointer; }
body.cd-wow-add .cdw-disc input { position: absolute; opacity: 0; pointer-events: none; }
body.cd-wow-add .cdw-disc span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 11px;
  font: 800 14px var(--w-font); color: #cfd6e4; transition: background .2s, color .2s, box-shadow .2s; }
body.cd-wow-add .cdw-disc span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font-size: 13px; background: rgba(255,255,255,.08); }
body.cd-wow-add .cdw-disc input:checked + span { color: #181206; background: linear-gradient(135deg, #ffe08a, var(--w-gold2) 40%, var(--w-gold)); box-shadow: 0 8px 22px rgba(242,185,12,.28); }
body.cd-wow-add .cdw-disc input:checked + span b { background: rgba(0,0,0,.12); }
body.cd-wow-add .cdw-disc input:focus-visible + span { outline: 2px solid var(--w-gold2); outline-offset: 2px; }
body.cd-wow-add .cdw-suffix { position: relative; }
body.cd-wow-add .cdw-suffix input { padding-right: 44px !important; }
body.cd-wow-add .cdw-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); margin-top: -1px; font: 800 14px var(--w-font); color: var(--w-gold2); pointer-events: none; }
body.cd-wow-add .cdw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.cd-wow-add .cdw-grid2 small { color: var(--w-muted); font-weight: 600; }
body.cd-wow-add .cdw-calc { margin: 2px 0 14px; padding: 12px 14px; border-radius: 13px; font: 500 13.5px/1.5 var(--w-font); color: #dfe4ee;
  background: rgba(47,224,138,.06); border: 1px solid rgba(47,224,138,.3); }
body.cd-wow-add .cdw-calc b { color: #7cf3b0; }
@media (max-width: 480px) { body.cd-wow-add .cdw-grid2 { grid-template-columns: 1fr; gap: 0; } }

/* paczka 111: rabat procentowy i kalkulator na kartach */
.cd-disc-note { display: block; width: 100%; margin-top: 2px; font: 600 11.5px/1.3 'Segoe UI', system-ui, sans-serif; color: #98a1b5; -webkit-text-fill-color: #98a1b5; letter-spacing: 0; text-transform: none; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line.cd-pct-line { color: #7cf3b0 !important; -webkit-text-fill-color: #7cf3b0 !important; }
body.cd-wow-offers .offers-grid > .offer .offer-values-grid .line .cd-disc-note { order: 2; white-space: normal; }
.cd-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; padding: 9px 12px; border-radius: 13px;
  font: 600 13px 'Segoe UI', system-ui, sans-serif; color: #c9d0dd; background: rgba(255,255,255,.035); border: 1px dashed rgba(255,255,255,.14); }
.cd-calc input { width: 72px; padding: 6px 8px; border-radius: 9px; border: 1px solid rgba(255,255,255,.18); background: rgba(5,9,18,.6); color: #fff;
  font: 800 13px 'Segoe UI', system-ui, sans-serif; text-align: right; color-scheme: dark; }
.cd-calc input:focus { outline: none; border-color: #f2b90c; box-shadow: 0 0 0 3px rgba(242,185,12,.18); }
.cd-calc-out { margin-left: auto; color: #7cf3b0; font-weight: 800; }
.cd-calc-out.warn { color: #ffc98a; }
body.cd-wow-offers .private-value .cd-disc-note { font-size: 12px; margin-top: 4px; }
body.cd-wow-add .cdw-suffix input::-webkit-inner-spin-button, body.cd-wow-add .cdw-suffix input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.cd-wow-add .cdw-suffix input { -moz-appearance: textfield; appearance: textfield; }

/* paczka 111: zamiana kodów */
.cd-ex-badge { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 14px; padding: 7px 12px; border-radius: 12px;
  font: 800 12.5px/1.35 'Segoe UI', system-ui, sans-serif; color: #9cccff; background: rgba(61,155,255,.12); border: 1px solid rgba(61,155,255,.45); }
.cd-ex-badge small { font-weight: 600; color: #c9d7f0; }
body.cd-wow-offers .offers-grid > .offer .cd-ex-btn, body.cd-wow-offers .offers-grid > .offer .cd-ex-own {
  flex: 1 1 100%; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 14px; border-radius: 13px; cursor: pointer;
  font: 800 14px 'Segoe UI', system-ui, sans-serif; color: #fff; background: linear-gradient(135deg, #3d7bff, #2448c9); border: 0; box-shadow: 0 10px 26px rgba(61,120,255,.28);
  transition: transform .2s, box-shadow .2s; }
body.cd-wow-offers .offers-grid > .offer .cd-ex-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(61,120,255,.38); }
body.cd-wow-offers .offers-grid > .offer .cd-ex-own { color: #9cccff; background: rgba(61,155,255,.08); border: 1px solid rgba(61,155,255,.4); box-shadow: none; }
.offers-container.cd-ex-only .offers-grid > .offer:not([data-ex="1"]) { display: none !important; }
.cd-ex-filter { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 700 13.5px 'Segoe UI', system-ui, sans-serif; color: #9cccff; background: rgba(61,155,255,.08); border: 1px solid rgba(61,155,255,.35); }
.cd-ex-filter input { accent-color: #3d9bff; width: 16px; height: 16px; }
body.cd-wow-offers .offers-tabs { grid-template-columns: 1fr 1fr 1fr !important; }
.cd-ex-count { background: #3d9bff !important; color: #fff !important; }
@media (max-width: 600px) { body.cd-wow-offers .offers-tabs { grid-template-columns: 1fr 1fr !important; } body.cd-wow-offers .offers-tabs .cd-ex-tab { grid-column: 1 / -1; } }
body.cd-wow-add .cdw-ex { margin: 14px 0 0; padding: 14px 16px; border-radius: 18px; background: rgba(61,155,255,.06); border: 1px solid rgba(61,155,255,.32); }
body.cd-wow-add .cdw-ex[hidden] { display: none; }
body.cd-wow-add .cdw-ex-sw { display: flex !important; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0 !important; }
body.cd-wow-add .cdw-ex-sw b { display: block; color: #fff; font-size: 15px; }
body.cd-wow-add .cdw-ex-sw small { display: block; margin-top: 2px; color: var(--w-muted); font-weight: 500; font-size: 12.5px; line-height: 1.45; }
body.cd-wow-add #exchange_wish { margin: 12px 0 0 !important; }

body.cd-wow-add .cdw-hint { display: block; margin: 2px 0 2px; color: var(--w-muted); font-size: 12.5px; line-height: 1.45; }
body.cd-wow-add .cdw-hint b { color: var(--w-gold2); }
.cd-calc { display: none !important; }
