/* Header + footer ported from winkbeauty.pl (Shoptimizer "header-4" + footer widgets).
 * Values measured from the live shop on 2026-10-23. Desktop from 993 px, like the shop. */

:root {
  --wb-purple: #6E55BF;
  --wb-lilac: #DDDBFF;
  --wb-footer-ink: #E6E4FF;
  --wb-ink: #0B0B0B;
  --wb-grey: #323232;
  --wb-line: #EEEEEE;
}

.wb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wb-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: #fff; color: var(--wb-ink); font: 14px var(--sans); }
.wb-skip:focus { top: 8px; }
.wb-topbar, .wb-header, .wb-usp, .wb-trust, .wb-footer, .wb-copyright { font-family: Recht, sans-serif; }
.wb-header svg, .wb-trust svg, .wb-footer svg, .wb-copyright svg { display: block; }

/* ---------- top bar ---------- */
.wb-topbar { background: var(--wb-lilac); color: var(--wb-purple); text-align: center; font-size: 10.5px; line-height: 15.75px; padding: 8.4px 15px; }
.wb-topbar a { text-decoration: underline; }

/* ---------- header (mobile first) ---------- */
.wb-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--wb-ink); box-shadow: rgba(0, 0, 0, .08) 0 1px 15px 0; }
.wb-header__inner { position: relative; height: 64px; padding: 0 15px; display: flex; align-items: center; }
.wb-header a:hover { text-decoration: none; }

.wb-burger { width: 22px; height: 30px; padding: 0; border: 0; background: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.wb-burger span { display: block; height: 2px; background: var(--wb-ink); }

.wb-logo { position: absolute; left: 50%; transform: translateX(-50%); display: block; }
.wb-logo__stacked { display: none; }
.wb-logo__wide { height: 22.5px; width: auto; }

.wb-actions { margin-left: auto; display: flex; align-items: center; }
.wb-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 35px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.wb-icon svg { width: 32px; height: 32px; }
.wb-account svg path { stroke-width: .7; } /* shop: thin outline on mobile, 1.5 on desktop */
.wb-search-trigger { display: none; }

/* cart: Shoptimizer draws the bag in CSS — a bordered box with the count and an arched handle */
.wb-cart { display: flex; align-items: center; margin-left: 5px; color: var(--wb-grey); font-size: 14px; }
.wb-cart__amount { display: none; margin-right: 5px; }
.wb-cart__count {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  min-width: 25px;
  height: 24px;
  margin: 1px 0 0 5px;
  padding: 3px;
  border: 1px solid #000;
  border-radius: 0 0 4px 4px;
  color: var(--wb-purple);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -.7px;
  text-align: center;
  transition: .2s;
}
.wb-cart__count::after {
  content: "";
  position: absolute;
  bottom: 90%;
  left: 50%;
  width: 14px;
  height: 12px;
  margin: 0 0 -1px -7px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-bottom: 0;
  border-radius: 99px 99px 0 0;
  transition: .2s;
  pointer-events: none;
}
.wb-cart:hover .wb-cart__count { background: var(--wb-purple); color: #fff; }
.wb-cart:hover .wb-cart__count::after { bottom: calc(100% - 2px); }

/* nav: off-canvas drawer on mobile */
.wb-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: min(328px, 86vw);
  padding: 24px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.wb-nav.is-open { transform: none; visibility: visible; }
.wb-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(52, 53, 55, .4); }
.wb-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wb-nav__close { width: 32px; height: 32px; padding: 4px; border: 0; background: none; color: var(--wb-ink); cursor: pointer; }
.wb-nav__close svg { width: 24px; height: 24px; }

.wb-search { position: relative; display: flex; align-items: center; }
.wb-search > svg { position: absolute; left: 16px; width: 16px; height: 16px; color: #9a9a9a; pointer-events: none; }
.wb-search input[type="search"] { width: 100%; height: 42px; padding: 0 14px 0 44px; border: 0; border-radius: 8px; background: #F6F6F6; font: 14px Recht, sans-serif; color: var(--wb-ink); }
.wb-search--drawer { margin-bottom: 22px; }

.wb-menu, .wb-sub { list-style: none; margin: 0; padding: 0; }
.wb-menu > li > a, .wb-menu__label {
  display: inline-block;
  padding: 7px 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 24px;
  color: var(--wb-purple);
  text-decoration: underline;
  text-transform: capitalize;
}
.wb-sub { padding: 0 0 3.5px 14px; }
.wb-sub a { display: flex; align-items: center; gap: 10px; padding: 5.25px 0; font-size: 14px; line-height: 18px; color: var(--wb-ink); }
.wb-sub a:hover { color: var(--wb-purple); }
.wb-badge { height: 13px; width: auto; }

/* USP strip: marquee on mobile, three columns on desktop */
.wb-usp { overflow: hidden; background: linear-gradient(var(--wb-lilac), #F0F8FF); color: var(--wb-purple); }
.wb-usp__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: wb-marquee 22s linear infinite; }
.wb-usp__track li { padding: 8.5px 14px; font-size: 12px; line-height: 16.8px; white-space: nowrap; }
.wb-usp__track b { font-weight: 400; }
@keyframes wb-marquee { to { transform: translateX(-50%); } }

/* search dialog (desktop) */
.wb-search-dialog { width: min(640px, calc(100vw - 32px)); padding: 48px 32px 32px; border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.wb-search-dialog::backdrop { background: rgba(52, 53, 55, .4); }
.wb-search-dialog__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 4px; border: 0; background: none; cursor: pointer; }
.wb-search-dialog .wb-search { gap: 10px; }
.wb-search-dialog button[type="submit"] { height: 42px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--wb-ink); color: #fff; font: 600 14px Recht, sans-serif; cursor: pointer; }

/* ---------- trust bar ---------- */
.wb-trust { border-top: 1px solid var(--wb-line); background: #fff; color: var(--wb-ink); padding: 28px 15px 10.5px; }
.wb-trust__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1170px; }
.wb-trust__list li { position: relative; margin-bottom: 15px; padding-left: 32px; }
.wb-trust__list svg { position: absolute; left: 0; top: 0; width: 20px; height: 20px; }
.wb-trust__list b { display: block; font-size: 12.25px; line-height: 16.5px; font-weight: 600; color: #111; }
.wb-trust__list span { display: block; margin-top: 2px; font-size: 11.375px; line-height: 16px; }

/* ---------- footer ---------- */
.wb-footer { background: var(--wb-purple); color: var(--wb-footer-ink); padding: 35px 15px 14px; }
.wb-footer a { color: inherit; }
.wb-footer__inner { max-width: 1210px; margin: 0 auto; display: grid; grid-template-columns: 1fr; column-gap: 28px; }
.wb-socials { display: flex; justify-content: flex-end; gap: 15px; padding: 0 20px; margin-bottom: 20px; }
.wb-socials svg { width: 20px; height: 20px; margin: 5px 0; }
.wb-footer__col { margin-bottom: 28px; }
.wb-footer__col h2 { margin: 0 0 12.5px; font: 600 15px/22.5px Recht, sans-serif; color: var(--wb-footer-ink); }
.wb-footer__col ul { list-style: none; margin: 0; padding: 0; }
.wb-footer__col li { margin-bottom: 5px; font-size: 12.25px; line-height: 18.4px; }
.wb-newsletter__btn { display: flex; align-items: center; justify-content: center; height: 46px; max-width: 280px; border-radius: 8px; background: var(--wb-ink); color: #fff !important; font-size: 14px; }

.wb-copyright { background: var(--wb-purple); color: var(--wb-footer-ink); padding: 14px 15px 28px; }
.wb-copyright a { color: inherit; }
.wb-copyright__inner { max-width: 1170px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wb-copyright p { margin: 0; font-size: 12.25px; line-height: 18.4px; }
.wb-payments { display: flex; align-items: center; gap: 10px; }
.wb-payments svg { width: 24px; height: 24px; }

/* sticky header must not cover in-page anchors */
:target, #pudelko { scroll-margin-top: 72px; }

/* ---------- desktop ---------- */
@media (min-width: 993px) {
  .wb-topbar { padding: 8px 37px; font-size: 14px; line-height: 21px; }

  .wb-header { box-shadow: rgba(0, 0, 0, .08) 0 3px 15px -5px; border-bottom: 1px solid var(--wb-line); }
  .wb-header__inner { max-width: 1230px; height: 90px; margin: 0 auto; padding: 0 30px; }
  .wb-burger, .wb-nav__head, .wb-search--drawer, .wb-overlay { display: none !important; }
  .wb-logo { position: static; transform: none; margin-right: 30px; }
  .wb-logo__stacked { display: block; height: 50px; width: auto; }
  .wb-logo__wide { display: none; }

  .wb-nav { position: static; width: auto; padding: 0; overflow: visible; transform: none; visibility: visible; transition: none; flex: 1; display: flex; justify-content: center; background: none; }
  .wb-menu { display: flex; }
  .wb-menu > li { position: relative; }
  .wb-menu > li > a, .wb-menu__label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    font-family: Recht, sans-serif;
    font-size: 14px;
    line-height: 90px;
    color: var(--wb-grey);
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
  }
  .wb-has-sub > a::after, .wb-has-sub > .wb-menu__label::after {
    content: "";
    width: 9px;
    height: 6px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s;
  }
  .wb-menu > li:hover > a, .wb-menu > li:hover > .wb-menu__label,
  .wb-menu > li:focus-within > a, .wb-menu > li:focus-within > .wb-menu__label { color: var(--wb-ink); text-decoration: underline; text-underline-offset: 5px; }
  .wb-has-sub:hover > a::after, .wb-has-sub:hover > .wb-menu__label::after,
  .wb-has-sub:focus-within > a::after, .wb-has-sub:focus-within > .wb-menu__label::after { transform: rotate(180deg); }

  .wb-sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 224px;
    padding: 20px 23px;
    background: #fff;
    border: 1px solid var(--wb-line);
    border-top: 0;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .wb-has-sub:hover > .wb-sub, .wb-has-sub:focus-within > .wb-sub { opacity: 1; visibility: visible; transform: none; }
  .wb-sub a { flex-wrap: wrap; gap: 2px 8px; padding: 4.2px 0; font-size: 14px; line-height: 19.6px; white-space: nowrap; }
  .wb-badge { flex-basis: 100%; max-width: 84px; }

  .wb-actions { margin-left: 0; gap: 0; }
  .wb-icon { width: auto; height: 90px; padding: 0 10px; color: var(--wb-grey); }
  .wb-icon svg { width: 20px; height: 20px; }
  .wb-account { padding: 0 20px 0 0; }
  .wb-account svg { width: 24px; height: 24px; }
  .wb-account svg path { stroke-width: 1.5; }
  .wb-search-trigger { display: flex; border-right: 1px solid var(--wb-line); height: 30px; margin-right: 6px; }
  .wb-cart { margin-left: 0; }
  .wb-cart__amount { display: inline; }

  .wb-usp { padding: 0 15px; }
  .wb-usp__track { width: auto; max-width: 1170px; margin: 0 auto; justify-content: space-around; animation: none; }
  .wb-usp__track li { padding: 8.5px 14px; font-size: 14px; line-height: 20.3px; text-align: center; }
  .wb-usp__track li[aria-hidden] { display: none; }
  .wb-usp__track b { display: block; font-size: 18px; line-height: 22.4px; font-weight: 800; }

  .wb-trust { padding: 28px 15px 23.8px; }
  .wb-trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .wb-trust__list li { margin: 0; padding: 0 20px 0 52px; }
  .wb-trust__list svg { left: 20px; top: 3px; }
  .wb-trust__list b { font-size: 13.125px; line-height: 17.7px; }
  .wb-trust__list span { font-size: 12.25px; line-height: 17.15px; }

  .wb-footer { padding: 16px 30px 0; }
  .wb-footer__inner { max-width: 1170px; grid-template-columns: repeat(4, 202px) 1fr; column-gap: 40px; padding-bottom: 56px; }
  .wb-socials { grid-column: 1 / -1; justify-content: center; padding: 0; margin-bottom: 20px; }
  .wb-footer__col { margin: 0; }
  .wb-footer__col li { font-size: 13.125px; line-height: 19.7px; }
  .wb-newsletter__btn { max-width: 202px; }

  .wb-copyright { padding: 0 30px 28px; }
  .wb-copyright__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .wb-copyright p { font-size: 13.125px; line-height: 19.7px; }
  :target, #pudelko { scroll-margin-top: 98px; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-usp__track { animation: none; }
}
