:root {
  --ink: #0b1220;
  --muted: #4b5b77;
  --muted2: #6b7a95;
  --primary: #2563eb;
  --primary2: #06b6d4;

  --glass: rgba(255, 255, 255, 0.54);
  --glass-border: rgba(19, 46, 107, 0.10);

  --max: 1200px;
  --header-height: 68px;
  --logo-desktop-space: 255px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #eef2f8 0%, #dfe6f1 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: calc(var(--header-height) + 58px);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CONTAINER */
.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3000;
  padding: 0;
  overflow: visible;
  background: linear-gradient(180deg, var(--glass), rgba(255, 255, 255, 0.33));
  border-bottom: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 30px rgba(21, 42, 94, 0.10);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.header-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: var(--header-height);
  padding: 12px 0 12px var(--logo-desktop-space);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo object {
  display: block;
  width: auto;
  height: 56px;
  flex-shrink: 0;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.logo-copy strong {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink);
}

.logo-copy span {
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--muted2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
  flex-shrink: 0;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  z-index: 1001;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  letter-spacing: 0;
  transition:
    color .2s var(--ease),
    transform .2s var(--ease),
    background .2s var(--ease),
    box-shadow .2s var(--ease);
}

/* underline */
.nav a:not(.btn-shop)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  opacity: 0;
}

/* hover / active */
.nav a:not(.btn-shop):hover,
.nav a:not(.btn-shop).active {
  color: var(--ink);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.10);
  transform: translateY(-1px);
}

.nav a:not(.btn-shop):hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav a:not(.btn-shop).active::after {
  transform: scaleX(1);
  opacity: 0.35;
}

/* CTA */
.btn-shop {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(6, 182, 212, 0.92));
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
  transition: transform .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
}

.btn-shop:hover,
.btn-shop:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  outline: none;
}

/* większa przerwa przed przyciskiem tylko na desktopie */
@media (min-width: 981px) {
  .nav a.btn-shop {
    margin-left: 32px;
  }
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(2, 6, 23, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(21, 42, 94, 0.10);
  transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a.active {
  pointer-events: none;
  cursor: default;
  opacity: 1;
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 60, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===== DESKTOP ONLY: duże logo wystające w dół ===== */
@media (min-width: 861px) {
  .glass-header {
    overflow: visible;
  }

  .header-wrap {
    position: relative;
    min-height: var(--header-height);
    padding: 12px 0 12px var(--logo-desktop-space);
  }

  .logo {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    overflow: visible;
    z-index: 5;
  }

  .logo object {
    display: block;
    width: 240px!important; 
    height: auto;
    transform: translateY(22px);
    transform-origin: left top;
    flex-shrink: 0;
  filter:
    drop-shadow(0 10px 20px rgba(0,0,0,0.18))
    drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}

.logo::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -8px;
  width: 120px;
  height: 28px;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.18),
    transparent 70%
  );
  filter: blur(10px);
  z-index: -1;
}

  .logo-copy {
    display: none;
  }

  .view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 128px;
    min-height: 42px;
    padding: 10px 14px;
    margin-left: 16px;
    border-radius: 999px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    font-size: 0.88rem;
    box-sizing: border-box;
    flex: 0 0 auto;
  }

  body {
    padding-top: calc(var(--header-height) + 58px);
  }
}

/* MOBILE HEADER */
@media (max-width: 860px) {
  body {
    padding-top: calc(var(--header-height) + 24px);
  }

  .glass-header {
    overflow: visible;
  }

.header-wrap {
  min-height: 68px;
  padding: 12px 0;
  justify-content: space-between;
}

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    margin-left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.36));
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70), 0 20px 50px rgba(20, 35, 70, 0.18);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
    overflow: hidden;
    z-index: 1001;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent 60%);
    pointer-events: none;
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
  }

.nav button.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
}

  .nav a:not(.btn-shop)::after {
    left: 12px;
    right: 12px;
    bottom: 8px;
  }

  .btn-shop {
    margin-left: 0 !important;
    text-align: center;
  }

  .logo {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 56px);
    overflow: visible;
  }

  .logo object {
    width: auto;
    height: 56px;
    transform: none;
  }

  .logo img {
    height: 40px;
  }

  .logo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .logo-copy strong {
    font-size: 0.95rem;
  }

  .container {
    padding-left: 10px;
  }

  .logo-copy span {
    display: block;
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo {
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .logo object {
    height: 56px;
    width: auto;
  }

  .logo img {
    height: 36px;
  }

  .logo-copy strong {
    font-size: 0.92rem;
  }

  .logo-copy span {
    white-space: normal;
  }

  .glass-header {
    padding: 0;
  }
}

/* ===== FORCE DESKTOP MODE ON PHONE / DESKTOP SITE ===== */
html.force-desktop {
  min-width: 1200px !important;
  overflow-x: auto !important;
}

html.force-desktop body {
  min-width: 1200px !important;
  overflow-x: auto !important;
  padding-top: calc(var(--header-height) + 58px) !important;
}

html.force-desktop .glass-header {
  min-width: 1200px !important;
  overflow: visible !important;
}

html.force-desktop main,
html.force-desktop .wrap,
html.force-desktop .container {
  width: 1200px !important;
  max-width: 1200px !important;
  min-width: 1200px !important;
}

html.force-desktop .header-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: var(--header-height) !important;
  padding: 12px 0 12px var(--logo-desktop-space) !important;
}

html.force-desktop .nav-toggle {
  display: none !important;
}

html.force-desktop .nav {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-left: auto !important;
  flex-wrap: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  padding: 0 !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}

html.force-desktop .nav::before {
  display: none !important;
}

html.force-desktop .nav a {
  display: inline-block !important;
  width: auto !important;
  min-height: auto !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  flex: 0 0 auto !important;
}

html.force-desktop .nav a.btn-shop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 150px !important;
  min-height: 42px !important;
  padding: 10px 20px !important;
  margin-left: 32px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

html.force-desktop .logo {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  width: auto !important;
  overflow: visible !important;
  z-index: 5 !important;
}

html.force-desktop .logo object {
  display: block !important;
  width: 220px !important;
  height: auto !important;
  transform: translateY(16px) !important;
  transform-origin: left top !important;
  flex-shrink: 0 !important;
}

html.force-desktop .logo-copy {
  display: none !important;
}

html.force-desktop .view-toggle-btn {
  min-width: 128px !important;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
}

html.force-desktop .logo-copy strong {
  font-size: 1rem !important;
}

html.force-desktop .logo-copy span {
  font-size: 0.78rem !important;
  white-space: nowrap !important;
}

/* FOOTER */
.site-footer {
  position: relative;
  width: 100%;
  margin-top: 48px;
  padding: 28px 0 calc(38px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.40);
  border-top: 1px solid rgba(2,6,23,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #22c55e);
}

.site-footer-inner {
  width: min(100%, var(--max));
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer-left {
  color: var(--muted);
  font-size: .95rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(2,6,23,0.10);
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(2,6,23,0.08);
  transition:
    transform .25s var(--ease),
    box-shadow .25s var(--ease),
    background .25s var(--ease),
    color .25s var(--ease);
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  background: linear-gradient(135deg,#2563eb,#06b6d4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37,99,235,0.25);
  outline: none;
}

.site-footer-social svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer-left {
    white-space: normal;
  }

  .site-footer-social {
    justify-content: center;
  }
}

/* POMOCNICZE */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  color: var(--muted);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(2,6,23,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pill i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: radial-gradient(circle at 30% 30%, #34d399, #22c55e);
  box-shadow: 0 0 18px rgba(34,197,94,0.40);
}

/* quick view modal */
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(168,85,247,0.18));
  color: #4c2c7a;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(107,76,230,0.14),
    inset 0 1px 0 rgba(255,255,255,0.70);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition:
    transform .18s var(--ease),
    filter .18s var(--ease),
    box-shadow .18s var(--ease),
    border-color .18s var(--ease);
}

.view-toggle-btn:hover,
.view-toggle-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  border-color: rgba(168,85,247,0.34);
  box-shadow:
    0 14px 28px rgba(107,76,230,0.18),
    inset 0 1px 0 rgba(255,255,255,0.78);
  outline: none;
}

html.force-desktop .view-toggle-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(99,102,241,0.20));
  color: #3f2a77;
}

@media (min-width: 981px) {
  .view-toggle-btn {
    margin-left: 16px;
  }
}

@media (max-width: 860px) {
  .view-toggle-btn {
    width: 100%;
    min-height: 44px;
    margin: 2px 0 0;
  }
}

.logo object {
  pointer-events: none;
}

/* ===== LOGO FADE-IN ===== */
.logo object{
  pointer-events:none;
  opacity:0;
  transform:translateY(30px) scale(.95);
  filter:blur(6px) brightness(1.4);
  animation:logoGlow 2s ease forwards;
}

@keyframes logoGlow{
  60%{
    opacity:1;
    filter:blur(2px) brightness(1.2);
  }
  to{
    opacity:1;
    transform:translateY(22px) scale(1);
    filter:blur(0) brightness(1);
  }
}

/* MOBILE */
@media (max-width: 860px){
  .logo object{
    width:auto;
    height:56px;
    opacity:0;
    transform:translateY(8px) scale(.95);
    filter:blur(6px) brightness(1.4);
    animation:logoGlowMobile 2s ease forwards;
  }
}

@keyframes logoGlowMobile{
  60%{
    opacity:1;
    filter:blur(2px) brightness(1.2);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0) brightness(1);
  }
}

/* ===== HEADER TEXT FADE-IN ===== */
.nav a,
.view-toggle-btn{
  opacity:0;
  transform:translateY(-8px);
  filter:blur(4px);
  animation:headerItemIn .7s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes headerItemIn{
  60%{
    opacity:1;
    filter:blur(1px);
  }
  to{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

/* cascade */
.nav a:nth-child(1){ animation-delay:.10s; }
.nav a:nth-child(2){ animation-delay:.18s; }
.nav a:nth-child(3){ animation-delay:.26s; }
.nav a:nth-child(4){ animation-delay:.34s; }
.nav a:nth-child(5){ animation-delay:.42s; } /* Shop now */
.view-toggle-btn{ animation-delay:.50s; }


