/* =========================================================
   BENEFITEO — nowoczesny sklep eKodów (niebieska brand)
   ========================================================= */
@font-face {
  font-family: "Anybody";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/anybody-v11-latin_latin-ext-700.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-sans-v18-latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-sans-v18-latin-ext-600.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-sans-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #2448c6;
  --blue-deep: #1a3594;
  --blue-ink: #031b4e;
  --blue-soft: #3d5fd9;
  --blue-mist: #e8eefc;
  --blue-wash: #f3f6fd;
  --ink: #031b4e;
  --ink-soft: #3a4a6b;
  --muted: #6b7793;
  --line: rgba(3, 27, 78, 0.1);
  --paper: #f5f7fc;
  --white: #ffffff;
  --accent: #2448c6;
  --accent-dark: #1a3594;
  --coral: #fc2a00;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 36px rgba(3, 27, 78, 0.08);
  --shadow-lg: 0 24px 60px rgba(3, 27, 78, 0.14);
  --font-display: "Anybody", "Public Sans", sans-serif;
  --font-body: "Public Sans", sans-serif;
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

.shop-body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(36, 72, 198, 0.1), transparent 55%),
    radial-gradient(800px 420px at 100% 0%, rgba(36, 72, 198, 0.06), transparent 50%),
    var(--paper);
  min-height: 100vh;
}
.shop-body.modal-open { overflow: hidden; }
a { color: inherit; }

/* ——— Nav ——— */
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.shop-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.shop-logo img { height: 42px; width: auto; display: block; }
@media (min-width: 1100px) {
  .shop-logo img { height: 48px; }
}
.shop-nav-links {
  display: none;
  gap: 0.25rem;
  align-items: center;
}
@media (min-width: 900px) {
  .shop-nav-links { display: flex; }
  .shop-menu-btn { display: none !important; }
  .shop-mobile-menu { display: none !important; }
}
.shop-nav-links a {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.shop-nav-links a:hover {
  background: var(--blue-mist);
  color: var(--blue);
}

/* Mobile slide-down menu */
.shop-mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop-nav.is-menu-open .shop-mobile-menu,
.shop-mobile-menu.is-open {
  display: block;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.shop-mobile-menu-inner {
  padding: 0.85rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.shop-mobile-menu-label {
  margin: 0.65rem 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted, #8a95ab);
}
.shop-mobile-menu-label:first-child { margin-top: 0; }
.shop-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.shop-mobile-menu a:hover,
.shop-mobile-menu a:active {
  background: var(--blue-mist);
  color: var(--blue);
}
.shop-mobile-menu .shop-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}
body.shop-menu-open { overflow: hidden; }
.shop-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 1rem;
  border: none;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  position: relative;
}
.shop-pill:hover { background: #d9e3fb; }
.shop-pill svg { width: 20px; height: 20px; flex-shrink: 0; }
.shop-pill-cart {
  background: var(--blue-ink);
  color: #fff;
}
.shop-pill-cart:hover { background: var(--blue); color: #fff; }
.shop-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 699px) {
  .shop-pill span { display: none; }
  .shop-pill { padding: 0 0.75rem; }
}

/* Slide search */
.shop-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  z-index: 90;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
}
.shop-search.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.shop-search-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.shop-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--blue-wash);
  border: 1.5px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.shop-search-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 72, 198, 0.15);
  background: #fff;
}
.shop-search-field svg { color: var(--blue); width: 22px; height: 22px; flex-shrink: 0; }
.shop-search-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.shop-search-close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shop-search-close:hover { background: #d9e3fb; }
.shop-search-close svg { width: 20px; height: 20px; }

/* Overlay + drawers */
.shop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 27, 78, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.shop-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.shop-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 110;
  box-shadow: -20px 0 60px rgba(3, 27, 78, 0.18);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.shop-drawer.is-open { transform: translateX(0); }
.shop-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.shop-drawer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}
.shop-drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--blue-mist);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.shop-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem;
}
.shop-drawer-foot {
  padding: 1.1rem 1.35rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--blue-wash);
}
.drawer-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0.5rem;
  color: var(--muted);
}
.drawer-user {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: var(--blue-wash);
  margin-bottom: 1.25rem;
}
.drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.drawer-user strong { display: block; color: var(--ink); font-size: 1.05rem; }
.drawer-user span { font-size: 0.88rem; color: var(--muted); }
.drawer-points {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}
.drawer-points svg { width: 18px; height: 18px; }
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s;
}
.drawer-links a:hover { background: var(--blue-mist); color: var(--blue); }
.drawer-links svg { width: 20px; height: 20px; color: var(--blue); }
.drawer-auth-form { display: flex; flex-direction: column; gap: 0.85rem; }
.drawer-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.drawer-auth-form input {
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}
.drawer-auth-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 72, 198, 0.15);
}
.drawer-hint { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 0.5rem 0 0; }
.drawer-hint a { color: var(--blue); font-weight: 700; }
.cart-modal-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-modal-item img {
  width: 72px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--blue-wash);
}
.cart-modal-item strong { display: block; font-size: 0.95rem; }
.cart-modal-item span { font-size: 0.85rem; color: var(--muted); }
.cart-modal-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.cart-modal-total .sum {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue);
}

/* Typography */
.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.shop-eyebrow svg { width: 16px; height: 16px; }
.shop-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--ink);
}
.shop-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.shop-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 38ch;
}

/* Buttons — shared box model so primary / ghost / ghost-light stay level in a row */
.shop-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  min-height: 48px;
  padding: 0 1.35rem;
  margin: 0;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.shop-btn:active { transform: scale(0.98); }
.shop-btn svg,
.shop-btn .shop-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.shop-btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(36, 72, 198, 0.32);
}
.shop-btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.shop-btn-dark {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff !important;
}
.shop-btn-dark:hover { background: var(--blue); border-color: var(--blue); }
.shop-btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
.shop-btn-ghost:hover {
  background: #fff;
  border-color: rgba(36, 72, 198, 0.35);
  color: var(--blue);
}
.shop-btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff !important;
  box-shadow: none;
}
.shop-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff !important;
}
.shop-btn-block { width: 100%; }
.shop-btn-lg {
  height: 52px;
  min-height: 52px;
  padding: 0 1.5rem;
  font-size: 1rem;
}

/* Always keep side-by-side CTAs on one baseline */
.shop-btn-row,
.how-hero-cta,
.how-steps-cta,
.how-inline-cta,
.how-cta-actions,
.sp-hero-cta,
.cmp-hero-actions,
.cmp-cta-actions,
.acc-points-hero-actions,
.acc-empty-actions,
.acc-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.shop-btn-row > .shop-btn,
.how-hero-cta > .shop-btn,
.how-steps-cta > .shop-btn,
.how-inline-cta > .shop-btn,
.how-cta-actions > .shop-btn,
.sp-hero-cta > .shop-btn,
.cmp-hero-actions > .shop-btn,
.cmp-cta-actions > .shop-btn,
.acc-points-hero-actions > .shop-btn,
.acc-empty-actions > .shop-btn,
.acc-panel-actions > .shop-btn {
  margin: 0;
  flex: 0 0 auto;
}
/* Equal height whenever a row contains an lg button */
.shop-btn-row:has(.shop-btn-lg) > .shop-btn,
.how-hero-cta:has(.shop-btn-lg) > .shop-btn,
.how-steps-cta:has(.shop-btn-lg) > .shop-btn,
.how-inline-cta:has(.shop-btn-lg) > .shop-btn,
.how-cta-actions:has(.shop-btn-lg) > .shop-btn,
.sp-hero-cta:has(.shop-btn-lg) > .shop-btn,
.cmp-cta-actions:has(.shop-btn-lg) > .shop-btn,
.acc-points-hero-actions:has(.shop-btn-lg) > .shop-btn {
  height: 52px;
  min-height: 52px;
  font-size: 1rem;
}

/* Flash */
.shop-flash { padding: 1rem 1.25rem 0; }
.shop-flash-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.shop-flash-error .shop-flash-inner { background: #fee2e2; color: #991b1b; }
.shop-flash-ok .shop-flash-inner { background: #dbe4ff; color: #1a3594; }

/* Modern product card */
.pcard {
  display: block;
  width: 100%;
  max-width: 280px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(3, 27, 78, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pcard-visual {
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f8;
  overflow: hidden;
}
.pcard-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem 0.75rem 1rem;
  background: #fff;
  gap: 0.5rem;
}
.pcard-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.pcard-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pcard-price small {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 0.2rem;
}
.pcard-pts {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.pcard-pts .shop-icon,
.pcard-pts svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.pcard-go {
  width: 48px;
  height: 48px;
  margin-top: -28px;
  border-radius: 999px;
  background: var(--blue-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(3, 27, 78, 0.25);
  border: 3px solid #fff;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.pcard:hover .pcard-go {
  background: var(--blue);
  transform: translateX(2px);
}
.pcard-go svg { width: 22px; height: 22px; }
.pcard.is-special {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45), var(--shadow-lg);
}

/* Hero */
.hero-carousel {
  position: relative;
  overflow: hidden;
  margin: 1rem auto 0;
  max-width: 1280px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 767px) {
  .hero-carousel { margin: 0.75rem; border-radius: 20px; }
}
.hero-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide { min-width: 100%; flex-shrink: 0; }
.hero-slide a { display: block; }
.hero-slide .hero-desk,
.hero-slide .hero-mob {
  width: 100%;
  background-size: cover;
  background-position: center;
}
.hero-slide .hero-desk { display: none; aspect-ratio: 1280 / 480; }
.hero-slide .hero-mob { display: block; aspect-ratio: 4 / 5; }
@media (min-width: 768px) {
  .hero-slide .hero-desk { display: block; }
  .hero-slide .hero-mob { display: none; }
}
.hero-nav-desktop {
  display: none;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: var(--shadow);
  align-items: center;
}
@media (min-width: 768px) {
  .hero-nav-desktop { display: inline-flex; }
}
.hero-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-btn.is-active {
  background: var(--blue);
  color: #fff;
}
.hero-btn svg { width: 20px; height: 20px; }
.hero-nav-mobile {
  display: flex;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) { .hero-nav-mobile { display: none; } }
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-active { background: #fff; width: 18px; }

.hero-points-bar {
  max-width: 1280px;
  margin: 1.35rem auto 0;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.hero-points-bar .points-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-points-bar .shop-icon-points {
  width: 26px;
  height: 26px;
  color: var(--blue-ink);
}
.hero-points-bar strong { color: var(--ink); }
.hero-points-bar a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.hero-points-bar a:hover { text-decoration: underline; }

/* Sections */
.shop-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.75rem 1.25rem;
}
.shop-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.shop-section-head > .shop-btn {
  margin: 0;
  flex-shrink: 0;
}
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Catalog featured strip */
.catalog-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .catalog-intro {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  align-items: center;
}
@media (min-width: 900px) {
  .catalog-stats { justify-content: flex-end; }
}
.catalog-stat {
  min-width: 120px;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.catalog-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--blue);
  line-height: 1;
}
.catalog-stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Special banner */
.special-banner {
  margin: 0 1.25rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% 15%, rgba(61, 95, 217, 0.45), transparent 60%),
    linear-gradient(125deg, #031b4e 0%, #15358a 45%, #2448c6 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.special-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .special-banner-inner { grid-template-columns: 1fr auto 1.1fr; }
}
.special-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
  color: #fff;
}
.special-banner p { margin: 0 0 1.1rem; opacity: 0.9; line-height: 1.5; }
@media (min-width: 900px) {
  .special-banner .special-left { text-align: right; }
}

/* Gift / Inspiracje */
.gift-wrap {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 1.25rem;
}
.gift-section {
  border-radius: 32px;
  background:
    radial-gradient(720px 380px at 0% 0%, rgba(61, 95, 217, 0.5), transparent 55%),
    radial-gradient(600px 320px at 100% 100%, rgba(252, 42, 0, 0.12), transparent 50%),
    linear-gradient(155deg, #031b4e 0%, #122f7a 50%, #2448c6 100%);
  color: #fff;
  padding: 2.75rem 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.gift-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.gift-head {
  position: relative;
  text-align: center;
  padding: 0 1.5rem 1.75rem;
  z-index: 1;
}
.gift-head .shop-eyebrow { color: #9db0ff; justify-content: center; }
.gift-head .shop-h2 { color: #fff; margin-bottom: 0.5rem; }
.gift-head .shop-lead {
  max-width: 46ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
}
.gift-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.75rem 1.5rem;
  scrollbar-width: none;
}
.gift-scroll::-webkit-scrollbar { display: none; }
.gift-item {
  min-width: 270px;
  max-width: 290px;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.gift-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.gift-item .pcard {
  max-width: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.gift-item .gift-brand {
  margin: 0.95rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}
.gift-item .gift-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.scroll-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.scroll-nav button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.scroll-nav button:hover { background: rgba(255, 255, 255, 0.22); }
.scroll-nav svg { width: 22px; height: 22px; }
.gift-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
}
.gift-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 68px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.gift-footer a:first-child { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.gift-footer a:hover { background: rgba(255, 255, 255, 0.08); }
.gift-footer svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 559px) {
  .gift-footer a span { font-size: 0.8rem; }
}

/* Ranking */
.popular-row {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: none;
}
.popular-row::-webkit-scrollbar { display: none; }
.popular-card {
  min-width: 280px;
  max-width: 300px;
  background: #fff;
  border-radius: 24px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(3, 27, 78, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.popular-card .pcard { max-width: none; }
.popular-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0 0.55rem;
}
.popular-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(36, 72, 198, 0.3);
}
.popular-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.popular-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 1rem;
  flex: 1;
}
.popular-card a.link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.popular-card a.link:hover { text-decoration: underline; }
.popular-card a.link svg { width: 16px; height: 16px; }

/* Small gifts */
.small-gift-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  justify-items: center;
}
.small-gift-tile {
  width: 100%;
  max-width: 280px;
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.small-gift-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.small-gift-tile .pcard {
  max-width: none;
  box-shadow: none;
  border: none;
}
.small-gift-tile .tag {
  display: inline-flex;
  margin: 0.75rem 0 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Features */
.features-band {
  margin: 1rem 0 0;
  padding: 4rem 1.25rem;
  background:
    linear-gradient(180deg, #fff 0%, var(--blue-wash) 100%);
  border-top: 1px solid var(--line);
}
.feature-grid {
  max-width: 1280px;
  margin: 2.25rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(6, 1fr); }
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 148px;
  padding: 1.25rem 0.85rem;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  color: var(--ink);
}
.feature-card:hover {
  border-color: rgba(36, 72, 198, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--blue-mist), #fff);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(36, 72, 198, 0.12);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card span {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Footer — Benefiteo blue */
.shop-footer {
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(61, 95, 217, 0.35), transparent 55%),
    linear-gradient(180deg, #15358a 0%, #031b4e 55%, #021436 100%);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
  padding: 3.5rem 1.25rem 2.25rem;
  border: none;
}
.shop-footer a { color: rgba(255, 255, 255, 0.85); }
.shop-footer a:hover { color: #fff; }
.footer-cards {
  max-width: 1280px;
  margin: 0 auto 2.75rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .footer-cards { grid-template-columns: repeat(3, 1fr); }
}
.footer-card {
  display: flex;
  gap: 0.95rem;
  padding: 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-icon svg { width: 24px; height: 24px; }
.footer-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #fff;
}
.footer-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .footer-bottom { grid-template-columns: 1.1fr 1.2fr 1fr; }
}
.footer-bottom h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.85rem;
}
.footer-bottom .links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom .links a {
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-biz {
  padding: 1.4rem;
  border-radius: 20px;
  background: rgba(36, 72, 198, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-biz h2 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}
.footer-biz p {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}
.footer-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.88rem;
}

/* Auth */
.auth-shell { min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .auth-shell { grid-template-columns: 1.05fr 1fr; }
}
.auth-hero {
  display: none;
  background: linear-gradient(145deg, #031b4e 0%, #15358a 55%, #2448c6 120%);
  color: #fff;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) {
  .auth-hero { display: flex; flex-direction: column; justify-content: flex-end; }
}
.auth-hero-inner { position: relative; z-index: 1; max-width: 420px; }
.auth-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.auth-hero p { margin: 0; opacity: 0.9; font-size: 1.05rem; line-height: 1.5; }
.auth-hero ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.auth-hero li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-bottom: 0.65rem; font-size: 0.95rem; opacity: 0.92;
}
.auth-hero li::before { content: "✓"; font-weight: 700; color: #9db0ff; }
.auth-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem 3rem;
}
.auth-card {
  width: 100%; max-width: 440px; background: #fff;
  border-radius: 24px; box-shadow: var(--shadow-lg); padding: 2rem 1.75rem;
}
@media (min-width: 640px) { .auth-card { padding: 2.5rem; } }
.auth-card h1 {
  font-family: var(--font-display); font-size: 1.75rem;
  margin: 0 0 0.35rem; color: var(--ink);
}
.auth-card .auth-sub { color: var(--muted); margin: 0 0 1.75rem; font-size: 0.95rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
}
.auth-input {
  width: 100%; height: 48px; padding: 0 0.9rem;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.auth-input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 72, 198, 0.18);
}
.auth-hint, .auth-switch { margin-top: 1rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
.auth-hint a, .auth-switch a { color: var(--blue); font-weight: 700; }
.auth-demo {
  margin-top: 1rem; padding: 0.75rem 0.9rem;
  background: var(--blue-mist); border-radius: 12px;
  font-size: 0.8rem; color: var(--ink); line-height: 1.45;
}

@keyframes shop-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.shop-animate {
  animation: shop-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.shop-animate-d1 { animation-delay: 0.08s; }
.shop-animate-d2 { animation-delay: 0.16s; }
