@import url("./brand-tokens.css");

/* Ciuchatek — wspólny standard wizualny strony publicznej */
:root {
  --brand-primary: #0758d3;
  --brand-primary-dark: #043a93;
  --brand-accent: #38c8f2;
  --brand-violet: #8c61ee;
  --brand-ink: #101b33;
  --brand-muted: #65718a;
  --brand-paper: #f4f7fb;
  --brand-line: #dce4ef;
  --brand-white: #ffffff;
  --brand-radius-sm: 12px;
  --brand-radius-md: 18px;
  --brand-radius-lg: 30px;
  --brand-shadow: 0 24px 70px rgba(26, 45, 82, .14);
  --content-width: 1180px;

  /* Aliasy używane przez istniejące komponenty. */
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: var(--brand-line);
  --paper: var(--brand-paper);
  --white: var(--brand-white);
  --blue: var(--brand-primary);
  --blue-dark: var(--brand-primary-dark);
  --sky: var(--brand-accent);
  --violet: var(--brand-violet);
  --lime: #c9f464;
  --coral: #ff826d;
  --shadow: var(--brand-shadow);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: var(--brand-radius-md);
  --shell: var(--content-width);

  --v2-blue: var(--brand-primary);
  --v2-blue-dark: var(--brand-primary-dark);
  --v2-sky: var(--brand-accent);
  --v2-violet: var(--brand-violet);
  --v2-ink: var(--brand-ink);
  --v2-muted: var(--brand-muted);
  --v2-paper: var(--brand-paper);
  --v2-line: var(--brand-line);
  --v2-white: var(--brand-white);
  --v2-radius: var(--brand-radius-lg);
  --v2-shadow: var(--brand-shadow);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, .86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(223, 230, 241, .82);
}
.site-header { background: rgba(255,255,255,.92); }
.brand { display: inline-flex; align-items: flex-start; padding-top: 4px; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.brand-logo { width: 112px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 11px 14px; color: #33415b; font-size: .91rem; font-weight: 700; border-radius: 999px; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { background: var(--white); color: var(--blue); }
.main-nav .nav-soft { border: 1px solid var(--line); background: rgba(255,255,255,.65); }
.main-nav .nav-cta { color: var(--white); background: var(--ink); padding-inline: 18px; }
.main-nav .nav-cta:hover { background: var(--blue); color: var(--white); }
.main-nav .nav-cta span { opacity: .68; margin-left: 3px; font-size: .75rem; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .73rem; }
.eyebrow > span { width: 31px; height: 2px; background: currentColor; }
.eyebrow.light { color: #a6dfff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: .92rem; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 30px rgba(7,88,211,.23); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.text-link { font-weight: 800; color: var(--blue); background: none; border: 0; padding: 8px 0; cursor: pointer; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.home-hero { overflow: hidden; padding: 84px 0 110px; background: radial-gradient(circle at 85% 20%, rgba(54,198,244,.20), transparent 30%), linear-gradient(180deg, #fbfdff 0%, #eef4fc 100%); }
.hero-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.hero-copy h1, .store-hero-copy h1, .simple-hero h1 { margin: 19px 0 22px; font-size: clamp(3.6rem, 7vw, 6.85rem); line-height: .91; letter-spacing: -.065em; font-weight: 650; }
.hero-copy h1 strong, .store-hero-copy h1 strong, .simple-hero h1 strong { color: var(--blue); font-weight: 850; }
.hero-copy > p, .store-hero-copy > p, .simple-hero p { color: var(--muted); max-width: 650px; font-size: 1.08rem; }
.hero-meta { display: flex; gap: 38px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-size: 1.8rem; line-height: 1; }
.hero-meta span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 600px; }
.visual-photo { position: absolute; inset: 20px 34px 20px 68px; border-radius: 46% 46% 32px 32px; overflow: hidden; box-shadow: var(--shadow); background: #dce7f5; }
.visual-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,22,56,.28)); }
.visual-photo img { width: 100%; height: 100%; object-fit: cover; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 175px; padding: 15px 18px; border-radius: 18px; background: rgba(255,255,255,.91); backdrop-filter: blur(12px); box-shadow: 0 18px 45px rgba(22,42,80,.17); }
.floating-card-one { left: 0; top: 104px; }
.floating-card-two { right: 0; bottom: 92px; }
.floating-card small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { display: block; font-size: 1rem; }
.floating-dot { width: 13px; height: 13px; background: var(--sky); border-radius: 50%; box-shadow: 0 0 0 7px rgba(54,198,244,.15); }
.floating-dot.violet { background: var(--violet); box-shadow: 0 0 0 7px rgba(139,92,246,.14); }
.visual-stamp { position: absolute; right: 32px; top: 10px; width: 122px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--lime); font-size: .75rem; font-weight: 900; line-height: 1.25; text-transform: uppercase; letter-spacing: .09em; transform: rotate(8deg); }

.stores-section { padding: 110px 0; background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .about-copy h2, .map-copy h2, .location-details h2 { margin: 15px 0 18px; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.section-heading p, .about-text > p, .map-copy > p, .location-details > p { color: var(--muted); font-size: 1.03rem; }
.store-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.store-card { position: relative; min-height: 565px; padding: 32px; border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; background: #eaf8ff; border: 1px solid rgba(7,88,211,.08); }
.store-card-violet { background: #f2edff; }
.store-card::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(7,88,211,.13); border-radius: 50%; right: -125px; top: 65px; box-shadow: 0 0 0 55px rgba(255,255,255,.20), 0 0 0 105px rgba(255,255,255,.12); }
.store-card-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.location-index { font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.store-status { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.78); font-size: .75rem; font-weight: 850; }
.store-status.is-open { color: #08723e; }
.store-status.is-closed { color: #a43c35; }
.store-city-mark { position: absolute; top: 56px; right: 40px; font-size: 15rem; line-height: .8; font-weight: 900; color: rgba(7,88,211,.07); z-index: 1; }
.store-card-violet .store-city-mark { color: rgba(98,52,191,.08); }
.store-card-copy { position: relative; z-index: 2; margin-top: auto; }
.store-label { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; }
.store-card-violet .store-label { color: #6f3dd1; }
.store-card h3 { margin: 4px 0 12px; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.06em; }
.store-card-copy p { margin: 0; color: #42516c; font-weight: 600; }
.store-features { position: relative; z-index: 2; display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0; gap: 8px; }
.store-features li { padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.72); font-size: .77rem; font-weight: 750; }
.store-card-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; }
.loyalty-badge { position: absolute; left: 32px; top: 85px; z-index: 2; padding: 9px 12px; background: var(--blue); color: white; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-2deg); }

.about-section { padding: 125px 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .35fr 1.05fr 1.2fr; gap: 40px; align-items: start; }
.about-number { font-size: 8.8rem; line-height: .8; color: #d7e2f2; font-weight: 900; letter-spacing: -.08em; }
.about-copy h2 { margin-top: 22px; }
.about-text > p { margin-top: 0; }
.value-list { margin-top: 40px; border-top: 1px solid var(--line); }
.value-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 0 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-list span { grid-row: 1 / span 2; color: var(--blue); font-size: .72rem; font-weight: 900; }
.value-list strong { font-size: 1rem; }
.value-list p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }

.map-section { padding: 110px 0; background: #07162f; color: var(--white); }
.map-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; }
.map-copy > p { color: #aab9d1; }
.map-location-list { margin-top: 36px; }
.map-location-list a { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.map-location-list a:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.map-location-list strong, .map-location-list small { display: block; }
.map-location-list small { color: #91a4c2; }
.map-list-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(54,198,244,.15); }
.map-list-dot.violet { background: var(--violet); box-shadow: 0 0 0 5px rgba(139,92,246,.18); }
.map-frame, .location-map { min-height: 550px; border-radius: var(--radius-xl); overflow: hidden; background: #102445; border: 1px solid rgba(255,255,255,.12); }
.map-placeholder { min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px; }
.map-placeholder h3 { margin: 18px 0 5px; font-size: 1.35rem; }
.map-placeholder p { margin: 0 0 22px; color: #aab9d1; }
.map-placeholder-art { position: relative; width: 220px; height: 150px; border-radius: 28px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 10px, transparent 10px, transparent 20px); border: 1px solid rgba(255,255,255,.10); }
.pin { position: absolute; width: 27px; height: 27px; background: var(--sky); border: 7px solid #07162f; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); z-index: 2; }
.pin-a { left: 48px; bottom: 38px; }
.pin-b { right: 48px; top: 32px; background: var(--violet); }
.route-line { position: absolute; left: 70px; bottom: 54px; width: 104px; height: 60px; border-top: 2px dashed rgba(255,255,255,.38); transform: rotate(-27deg); }
.map-frame .leaflet-container, .location-map .leaflet-container { height: 100%; min-height: inherit; font-family: inherit; }
.map-popup h4 { margin: 0 0 4px; font-size: 1rem; }
.map-popup p { margin: 0 0 8px; color: #5a667a; }
.map-popup a { color: var(--blue); font-weight: 800; }

.closing-cta, .store-switch-cta { padding: 90px 0; background: var(--white); }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.closing-inner > div > span { color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .73rem; }
.closing-inner h2 { margin: 8px 0 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.06em; }

.store-hero { padding: 72px 0 100px; background: linear-gradient(180deg,#fbfdff,#eef4fc); overflow: hidden; }
.store-violet .store-hero { background: linear-gradient(180deg,#fdfcff,#f1edff); }
.store-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-weight: 750; }
.store-address-block { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 20px; width: fit-content; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 18px; }
.store-address-block small, .store-address-block span { display: block; color: var(--muted); font-size: .78rem; }
.store-address-block strong { display: block; font-size: 1.06rem; }
.address-pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); position: relative; }
.address-pin::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: white; left: 13px; top: 13px; }
.store-hero-panel { position: relative; min-height: 520px; border-radius: 42px; padding: 42px; display: flex; flex-direction: column; overflow: hidden; background: #07162f; color: white; box-shadow: var(--shadow); }
.store-violet .store-hero-panel { background: #241544; }
.panel-orbit { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; right: -80px; top: -85px; box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.02); }
.panel-city-letter { position: absolute; right: 18px; top: 15px; font-size: 20rem; line-height: .8; font-weight: 900; color: rgba(255,255,255,.05); }
.panel-content { position: relative; z-index: 1; margin-top: auto; }
.panel-content .store-label { color: #9fdfff; }
.big-status { margin-top: 8px; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.06em; font-weight: 850; }
.big-status.is-closed { color: #ff9b8e; }
.big-status.is-open { color: var(--lime); }
.today-hours { margin-top: 10px; color: #b9c6da; }
.panel-switcher { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 42px; }
.panel-switcher a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #bdc9d9; font-size: .8rem; font-weight: 800; }
.panel-switcher a.active { background: white; color: var(--ink); }
.store-info-strip { background: var(--white); padding: 0 0 90px; }
.info-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-strip-item { min-height: 130px; padding: 30px; display: flex; align-items: flex-start; gap: 20px; border-right: 1px solid var(--line); }
.info-strip-item:last-child { border: 0; }
.info-strip-item span { color: var(--blue); font-size: .72rem; font-weight: 900; }
.info-strip-item strong { font-size: 1.1rem; }
.store-content-section { padding: 110px 0; background: var(--white); }
.store-content-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.hours-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.hours-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border: 0; }
.hours-row.today { background: #eaf3ff; box-shadow: inset 4px 0 0 var(--blue); }
.store-violet .hours-row.today { background: #f0eaff; box-shadow: inset 4px 0 0 var(--violet); }
.day-short { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: white; color: var(--muted); font-size: .72rem; font-weight: 900; }
.hours-row > span:last-child { font-weight: 800; }
.hours-row .closed { color: #a43c35; }
.loyalty-callout { padding: 0 0 110px; background: var(--white); }
.loyalty-callout-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 40px; border-radius: var(--radius-xl); background: var(--blue); color: white; }
.loyalty-icon { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 25px; background: white; color: var(--blue); font-weight: 900; font-size: 2.2rem; }
.loyalty-callout-inner h2 { margin: 2px 0 6px; font-size: 2rem; }
.loyalty-callout-inner p { margin: 0; color: #cde0ff; }
.loyalty-callout-inner > div:nth-child(2) > span { color: #a9c8ff; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 900; }
.notice-callout { background: var(--white); padding: 0 0 100px; }
.notice-inner { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid #dccfff; background: #f5f1ff; border-radius: 20px; }
.notice-inner > span { color: #6f3dd1; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.notice-inner p { margin: 0; flex: 1; }
.notice-inner a { font-weight: 850; color: #6f3dd1; }
.location-section { padding: 110px 0; background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.location-map { background: white; border-color: var(--line); }
.light-placeholder h3 { color: var(--ink); }
.light-placeholder p { color: var(--muted); }
.light-placeholder .map-placeholder-art { background: #eef3fa; border-color: var(--line); }
.light-placeholder .pin { border-color: white; }
.contact-list { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { color: var(--muted); font-size: .74rem; }
.contact-list strong { font-size: 1.02rem; }
.contact-list > a > span { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue); font-weight: 900; }

.simple-page { min-height: 70vh; }
.simple-hero { padding: 120px 0 150px; background: radial-gradient(circle at 80% 30%, rgba(139,92,246,.14), transparent 30%), #f6f9fd; }
.simple-hero-inner { max-width: 900px; }

.site-footer { padding: 68px 0 22px; background: #061228; color: #dbe7f9; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) minmax(100px, .65fr) minmax(150px, .85fr) minmax(285px, 1.35fr); gap: 45px; }
.footer-brand img { width: 138px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 270px; color: #8fa2bf; }
.site-footer h3 { margin: 0 0 15px; color: white; font-size: .77rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a, .footer-link-button { display: block; margin: 9px 0; color: #a9b9d0; font-size: .88rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.site-footer a:hover, .footer-link-button:hover { color: white; }
.footer-contact { min-width: 285px; }
.footer-contact a { white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); color: #788ca9; font-size: .78rem; }
.footer-bottom button { background: none; border: 0; color: #a9b9d0; cursor: pointer; }

.cookie-banner { position: fixed; z-index: 500; left: 20px; right: 20px; bottom: 20px; max-width: 1180px; margin: 0 auto; color: white; background: rgba(7,22,47,.97); border: 1px solid rgba(255,255,255,.12); border-radius: 25px; box-shadow: 0 30px 100px rgba(0,0,0,.35); backdrop-filter: blur(20px); }
.cookie-banner-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 24px 26px; }
.cookie-kicker { color: #9fdfff; text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; font-weight: 900; }
.cookie-copy h2 { margin: 3px 0 5px; font-size: 1.28rem; }
.cookie-copy p { margin: 0; color: #aebdd1; font-size: .86rem; max-width: 690px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .button { min-height: 44px; padding-inline: 16px; font-size: .78rem; }
.cookie-actions .button-secondary { background: transparent; color: white; border-color: rgba(255,255,255,.22); }
.cookie-actions .text-link { color: #b8c8dd; font-size: .78rem; }
.cookie-customize { border-top: 1px solid rgba(255,255,255,.11); padding: 17px 26px 23px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 11px 0; }
.cookie-option strong, .cookie-option small { display: block; }
.cookie-option small { color: #9cabc0; }
.cookie-option input { width: 20px; height: 20px; accent-color: var(--blue); }
.cookie-customize .button { min-height: 42px; margin-top: 8px; background: white; color: var(--ink); }

.modal-backdrop { position: fixed; z-index: 600; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(3,13,31,.66); backdrop-filter: blur(7px); }
.modal-backdrop.open { display: flex; }
.modal-dialog { width: min(860px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.32); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 1.35rem; }
.modal-close { border: 0; background: var(--paper); width: 38px; height: 38px; border-radius: 50%; font-size: 1.45rem; cursor: pointer; }
.modal-body { min-height: 0; }
.modal-scroll { max-height: 64vh; overflow: auto; padding: 24px 28px; color: #33415b; font-size: .91rem; }
.modal-scroll h3 { margin-top: 25px; color: var(--ink); }
.modal-footer { padding: 16px 25px; border-top: 1px solid var(--line); text-align: right; }
.btn-modal-close { border: 0; border-radius: 999px; background: var(--ink); color: white; padding: 10px 18px; cursor: pointer; font-weight: 800; }

/* Karta stałego klienta */
.loyalty-main { min-height: 75vh; padding: 70px 0 100px; background: radial-gradient(circle at 80% 15%, rgba(54,198,244,.14), transparent 27%), var(--paper); }
.loyalty-main .wrapper { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.card { margin-bottom: 22px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 18px 55px rgba(19,39,78,.08); }
.card h1 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.1rem); letter-spacing: -.04em; }
.card h2 { margin: 0; font-size: 1.35rem; }
.card > p { color: var(--muted); }
.loyalty-form { margin-top: 27px; }
.form-row { display: grid; gap: 8px; margin-bottom: 17px; }
.form-row label { font-size: .8rem; font-weight: 850; }
.form-row input { min-height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 15px; outline: none; background: var(--paper); }
.form-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,88,211,.1); }
.btn-row, .button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-primary, .btn-secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 18px; font-weight: 850; cursor: pointer; }
.btn-primary { background: var(--blue); color: white; border: 0; }
.btn-secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.loyalty-login-actions { justify-content: space-between; gap: 25px; }
.loyalty-help { color: var(--muted); font-size: .8rem; text-align: right; }
.loyalty-help a { color: var(--blue); font-weight: 750; }
.error, .success, .alert { padding: 12px 14px; margin: 13px 0; border-radius: 12px; font-size: .86rem; }
.error { background: #fff0ee; color: #a43c35; }
.success { background: #e9fbf1; color: #08723e; }
.alert-info { background: #eaf3ff; color: #1456a0; }
.inline-form { display: inline; }
.logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.logo-badge { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--blue); color: white; font-size: 1.4rem; font-weight: 900; }
.logo-text span { display: block; }
.logo-text span:first-child { font-weight: 900; }
.logo-text span:last-child { color: var(--muted); font-size: .75rem; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 25px; }
.stat-box { padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.stat-label, .stat-note, .small-muted { color: var(--muted); font-size: .77rem; }
.stat-value { margin: 5px 0; font-size: 1.75rem; font-weight: 900; }
.coupon-card { padding: 19px; margin-top: 12px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.coupon-card.usable { border-color: #9ec2f7; background: #f1f7ff; }
.coupon-name { font-weight: 900; font-size: 1.05rem; }
.coupon-meta, .coupon-help { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.coupon-row { display: flex; justify-content: space-between; gap: 15px; margin-top: 13px; }
.coupon-chip { display: inline-flex; padding: 6px 9px; margin: 3px 4px 3px 0; border-radius: 999px; background: var(--blue); color: white; font-size: .72rem; font-weight: 800; }
.coupon-chip.gray { background: #e5eaf2; color: #46536a; }
.coupon-chip.red { background: #ffdfdb; color: #9a3832; }
.history-scroll { overflow-x: auto; }
.history-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.history-table th, .history-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .hero-layout, .store-hero-grid, .map-layout, .store-content-grid, .location-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .about-grid { grid-template-columns: .35fr 1.65fr; }
  .about-text { grid-column: 2; }
  .map-copy { max-width: 700px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { min-width: 0; }
  .store-hero-panel { min-height: 440px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 145px; }
  .main-nav { top: 64px; left: 14px; right: 14px; }
  .home-hero, .store-hero { padding: 56px 0 75px; }
  .hero-copy h1, .store-hero-copy h1, .simple-hero h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-layout, .store-hero-grid { gap: 42px; }
  .hero-meta { gap: 20px; }
  .hero-meta strong { font-size: 1.45rem; }
  .hero-meta span { font-size: .66rem; }
  .hero-visual { min-height: 420px; }
  .visual-photo { inset: 10px 18px 10px 30px; border-radius: 40% 40% 26px 26px; }
  .visual-stamp { width: 94px; right: 4px; font-size: .62rem; }
  .floating-card { min-width: 145px; padding: 11px 13px; }
  .floating-card-one { top: 75px; }
  .floating-card-two { bottom: 45px; }
  .stores-section, .about-section, .map-section, .store-content-section, .location-section { padding: 78px 0; }
  .store-cards { grid-template-columns: 1fr; }
  .store-card { min-height: 520px; padding: 25px; }
  .loyalty-badge { left: 25px; }
  .store-card-actions { flex-direction: column; align-items: stretch; }
  .store-card-actions .text-link { text-align: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-number { font-size: 5rem; }
  .about-text { grid-column: auto; }
  .map-frame, .location-map { min-height: 430px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-contact { min-width: 0; }
  .footer-contact a { font-size: .84rem; }
  .footer-bottom { flex-direction: column; }
  .info-strip-grid { grid-template-columns: 1fr; }
  .info-strip-item { border-right: 0; border-bottom: 1px solid var(--line); min-height: 105px; }
  .loyalty-callout-inner { grid-template-columns: 1fr; }
  .notice-inner { align-items: flex-start; flex-direction: column; }
  .hours-row { grid-template-columns: 46px 1fr auto; padding-inline: 15px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .cookie-actions { justify-content: flex-start; }
  .cookie-actions .button { flex: 1 1 auto; }
  .cookie-customize { padding-inline: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .loyalty-login-actions { align-items: flex-start; flex-direction: column; }
  .loyalty-help { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Nowoczesny układ strony publicznej */

html { scroll-behavior: smooth; }
body.public-v2 { background: #fff; color: var(--v2-ink); overflow-x: hidden; }
.public-v2 .shell, .announcement-inner, .footer-topline { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.announcement-bar { position: relative; z-index: 101; background: var(--v2-ink); color: #fff; }
.announcement-inner { min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; letter-spacing: .025em; }
.announcement-inner p { margin: 0; }
.announcement-inner a { color: #fff; font-weight: 800; margin-left: 8px; text-decoration: none; }
.announcement-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-sky); box-shadow: 0 0 0 5px rgba(56, 200, 242, .13); }

.public-v2 .site-header, body:not(.admin-body):not(.admin-login-body) .site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(16, 27, 51, .07); backdrop-filter: blur(18px); }
.public-v2 .header-inner, body:not(.admin-body):not(.admin-login-body) .header-inner { min-height: 92px; padding-top: 10px; padding-bottom: 10px; }
.public-v2 .brand-logo, body:not(.admin-body):not(.admin-login-body) .brand-logo { width: 112px; height: auto; }
.public-v2 .main-nav, body:not(.admin-body):not(.admin-login-body) .main-nav { align-items: center; gap: 7px; }
.public-v2 .main-nav > a, body:not(.admin-body):not(.admin-login-body) .main-nav > a { border-radius: 12px; padding: 11px 13px; color: #26344f; font-size: 14px; font-weight: 700; }
.public-v2 .main-nav > a:hover, .public-v2 .main-nav > a.active { background: #eff4fb; color: var(--v2-blue); }
.public-v2 .main-nav .nav-cta { min-height: 50px; background: linear-gradient(135deg, var(--v2-blue) 0%, #0a66ea 100%); color: #fff; padding: 0 20px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 12px 28px rgba(7, 88, 211, .22); }
.public-v2 .main-nav .nav-cta:hover { background: var(--v2-blue-dark); color: #fff; }
.public-v2 .nav-cta span { display: block; font-size: 9px; text-transform: uppercase; opacity: .82; letter-spacing: .14em; }
.nav-store-switch { position: relative; }
.nav-store-button { appearance: none; border: 0; background: transparent; padding: 11px 13px; color: #26344f; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 12px; }
.nav-store-button:hover, .nav-store-button[aria-expanded="true"] { background: #eff4fb; color: var(--v2-blue); }
.nav-store-menu { position: absolute; top: calc(100% + 14px); right: -20px; width: 310px; padding: 10px; border: 1px solid var(--v2-line); border-radius: 20px; background: #fff; box-shadow: var(--v2-shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
.nav-store-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-store-menu a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 12px; border-radius: 14px; color: var(--v2-ink); text-decoration: none; }
.nav-store-menu a:hover { background: var(--v2-paper); }
.nav-store-menu strong, .nav-store-menu small { display: block; }
.nav-store-menu small { margin-top: 3px; color: var(--v2-muted); font-size: 11px; }
.nav-location-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #e6f8fe; }
.nav-location-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--v2-sky); }
.nav-location-dot.violet { background: #f0eafe; }
.nav-location-dot.violet::after { background: var(--v2-violet); }

.v2-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--v2-blue); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; }
.v2-kicker > span { width: 27px; height: 2px; background: currentColor; }
.v2-kicker.light { color: #8bdcf6; }
.v2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v2-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border: 0; border-radius: 15px; font-size: 14px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.v2-button:hover { transform: translateY(-2px); }
.v2-button.primary { background: var(--v2-blue); color: #fff; box-shadow: 0 12px 30px rgba(7, 88, 211, .22); }
.v2-button.primary:hover { background: var(--v2-blue-dark); }
.v2-button.ghost { background: #fff; color: var(--v2-ink); border: 1px solid var(--v2-line); }
.v2-button.light { background: #fff; color: var(--v2-blue); }
.v2-button.dark { background: var(--v2-ink); color: #fff; }

.v2-hero { position: relative; min-height: 760px; display: flex; align-items: center; padding: 70px 0 110px; background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 54%, #f8f7ff 100%); overflow: hidden; }
.v2-hero::before { content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%; right: -160px; top: -190px; background: radial-gradient(circle, rgba(56, 200, 242, .18), rgba(56, 200, 242, 0) 68%); }
.v2-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .88fr 1.12fr; gap: 76px; align-items: center; }
.v2-hero-copy h1 { max-width: 620px; margin: 0 0 24px; color: var(--v2-ink); font-size: clamp(55px, 6.2vw, 93px); line-height: .91; letter-spacing: -.075em; font-weight: 850; }
.v2-hero-copy h1 em { color: var(--v2-blue); font-style: normal; }
.v2-hero-copy > p { max-width: 580px; margin: 0 0 32px; color: var(--v2-muted); font-size: 18px; line-height: 1.7; }
.v2-trust-row { display: flex; align-items: center; gap: 14px; margin-top: 35px; }
.v2-trust-icons { display: flex; }
.v2-trust-icons span { width: 37px; height: 37px; display: grid; place-items: center; margin-right: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--v2-sky); color: #07375a; font-size: 12px; font-weight: 900; }
.v2-trust-icons span:last-child { background: var(--v2-violet); color: #fff; }
.v2-trust-row p { margin: 0; color: var(--v2-muted); font-size: 12px; line-height: 1.4; }
.v2-trust-row strong { color: var(--v2-ink); font-size: 13px; }
.v2-hero-media { position: relative; padding-bottom: 84px; }
.v2-photo-wrap { position: relative; height: 530px; border-radius: 34px 34px 120px 34px; overflow: hidden; box-shadow: var(--v2-shadow); background: linear-gradient(180deg, #eaf1fa 0%, #dce7f5 100%); }
.v2-photo-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.v2-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 21, 49, .7)); }
.v2-photo-caption { position: absolute; left: 30px; bottom: 30px; color: #fff; }
.v2-photo-caption span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
.v2-photo-caption strong { font-size: 22px; }
.v2-location-dock { position: absolute; left: -58px; right: 26px; bottom: 0; padding: 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 22px 60px rgba(25, 47, 86, .2); backdrop-filter: blur(20px); }
.dock-heading { display: flex; align-items: end; justify-content: space-between; padding: 7px 10px 11px; }
.dock-heading span { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.dock-heading small { color: var(--v2-muted); font-size: 10px; }
.dock-store { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-top: 1px solid #edf1f6; color: var(--v2-ink); text-decoration: none; border-radius: 13px; }
.dock-store:hover { background: #f4f8fd; }
.dock-store strong, .dock-store small { display: block; }
.dock-store small { margin-top: 3px; color: var(--v2-muted); font-size: 11px; }
.dock-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #e4f8fe; color: #0d5b7a; font-weight: 900; }
.dock-icon.violet { background: #efe9fd; color: #6540bd; }
.v2-hero-word { position: absolute; left: 50%; bottom: -31px; transform: translateX(-50%); color: rgba(7, 88, 211, .045); font-size: clamp(100px, 15vw, 240px); font-weight: 950; letter-spacing: -.08em; white-space: nowrap; pointer-events: none; }

.v2-stores { padding: 115px 0 130px; background: #fff; }
.v2-section-head { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 50px; margin-bottom: 55px; }
.v2-section-head h2 { max-width: 720px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.v2-section-head > p { margin: 0; color: var(--v2-muted); font-size: 16px; line-height: 1.7; }
.v2-store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.v2-store-card { border: 1px solid var(--v2-line); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 16px 45px rgba(25, 45, 80, .08); transition: transform .28s ease, box-shadow .28s ease; }
.v2-store-card:hover { transform: translateY(-7px); box-shadow: var(--v2-shadow); }
.v2-card-image { position: relative; display: block; height: 310px; overflow: hidden; background: #dfe8f3; }
.v2-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,24,48,.04), rgba(11,24,48,.46)); }
.v2-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.v2-store-card:hover .v2-card-image img { transform: scale(1.035); }
.v2-card-index { position: absolute; z-index: 2; top: 20px; left: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.9); color: var(--v2-ink); font-size: 11px; font-weight: 900; backdrop-filter: blur(10px); }
.v2-status { position: absolute; z-index: 2; top: 22px; right: 20px; padding: 9px 12px; border-radius: 999px; background: rgba(18, 29, 51, .78); color: #fff; font-size: 10px; font-weight: 850; backdrop-filter: blur(10px); }
.v2-status.is-open { background: rgba(20, 129, 88, .9); }
.v2-loyalty-chip { position: absolute; z-index: 2; left: 20px; bottom: 18px; padding: 9px 12px; border-radius: 10px; background: var(--v2-blue); color: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.v2-card-body { padding: 30px; }
.v2-card-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.v2-card-title small { display: block; color: var(--v2-blue); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 900; }
.v2-card-title h3 { margin: 4px 0 0; font-size: 42px; letter-spacing: -.05em; }
.v2-card-title > a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--v2-ink); color: #fff; text-decoration: none; font-size: 18px; }
.v2-store-card.violet .v2-card-title > a { background: var(--v2-violet); }
.v2-card-body > p { min-height: 54px; margin: 20px 0; color: var(--v2-muted); line-height: 1.65; }
.v2-card-address { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 15px; background: var(--v2-paper); }
.v2-card-address > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: var(--v2-blue); }
.v2-card-address strong, .v2-card-address small { display: block; }
.v2-card-address small { margin-top: 2px; color: var(--v2-muted); }
.v2-card-links { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.v2-card-links a { color: var(--v2-ink); font-size: 13px; font-weight: 850; text-decoration: none; }
.v2-card-links a:first-child { color: var(--v2-blue); }

.v2-about { padding: 120px 0; background: var(--v2-ink); color: #fff; }
.v2-about-grid { display: grid; grid-template-columns: 210px 1fr; gap: 80px; }
.v2-about-side { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.12); }
.v2-about-side > span { display:none; }
.v2-about-side small { color: #9ba7ba; line-height: 1.7; font-size: 14px; }
.v2-about-badge { width: fit-content; padding: 10px 14px; border-radius: 999px; background: rgba(56,200,242,.12); color: #8bdcf6; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.v2-about-side-list { display: grid; gap: 12px; }
.v2-about-side-list article { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.v2-about-side-list strong { display: block; margin-bottom: 4px; color: #fff; font-size: 17px; }
.v2-about-side-list span { display: block; color: #9ba7ba; line-height: 1.5; font-size: 14px; }
.v2-about-main h2 { max-width: 900px; margin: 0; font-size: clamp(44px, 5vw, 74px); line-height: 1.02; letter-spacing: -.06em; }
.v2-about-lead { max-width: 700px; margin: 32px 0 55px; color: #aab5c7; font-size: 18px; line-height: 1.75; }
.v2-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.v2-values article { min-height: 220px; padding: 27px; background: var(--v2-ink); }
.v2-values article > span { color: var(--v2-sky); font-size: 10px; font-weight: 900; }
.v2-values h3 { margin: 50px 0 10px; font-size: 19px; }
.v2-values p { margin: 0; color: #9ca8ba; font-size: 14px; line-height: 1.6; }

.v2-map { padding: 120px 0; background: #eef4fb; }
.v2-map-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: 80px; align-items: center; }
.v2-map-copy h2 { margin: 0 0 24px; font-size: clamp(43px, 4.6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.v2-map-copy > p { margin: 0 0 35px; color: var(--v2-muted); line-height: 1.7; }
.v2-map-list { display: grid; gap: 10px; }
.v2-map-list a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 13px; padding: 17px; border-radius: 16px; background: #fff; color: var(--v2-ink); text-decoration: none; box-shadow: 0 9px 25px rgba(31, 53, 92, .06); }
.v2-map-list strong, .v2-map-list small { display: block; }
.v2-map-list small { margin-top: 3px; color: var(--v2-muted); }
.v2-map-pin { width: 14px; height: 14px; display: inline-block; border: 4px solid #d5f6ff; border-radius: 50%; background: var(--v2-sky); box-sizing: content-box; }
.v2-map-pin.violet { border-color: #e9e0fc; background: var(--v2-violet); }
.v2-map-frame, .v2-location-map { min-height: 510px; overflow: hidden; border-radius: 30px; background: #dce5f0; box-shadow: var(--v2-shadow); }
.v2-map-frame .map-placeholder, .v2-location-map .map-placeholder { min-height: 510px; }

.v2-closing { padding: 100px 0; background: #fff; }
.v2-closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 65px 70px; border-radius: 34px; background: linear-gradient(125deg, var(--v2-blue) 0%, #006fe8 55%, #1c92ea 100%); color: #fff; overflow: hidden; position: relative; }
.v2-closing-inner::before { content: ''; position: absolute; width: 380px; height: 380px; right: 8%; top: -200px; border: 70px solid rgba(255,255,255,.08); border-radius: 50%; }
.v2-closing-inner > div, .v2-circle-link { position: relative; z-index: 1; }
.v2-closing-inner > div > span { text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 900; opacity: .75; }
.v2-closing-inner h2 { max-width: 670px; margin: 9px 0 0; font-size: clamp(40px, 5vw, 67px); line-height: 1; letter-spacing: -.06em; }
.v2-circle-link { width: 145px; height: 145px; flex: 0 0 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--v2-blue); text-align: center; text-decoration: none; font-size: 13px; font-weight: 900; transition: transform .25s; }
.v2-circle-link:hover { transform: rotate(-7deg) scale(1.04); }
.v2-circle-link b { margin-top: 8px; font-size: 20px; }

/* Store page */
.store-alert { background: #e8f8fe; border-bottom: 1px solid #ccecf8; }
.store-alert .shell { min-height: 50px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.store-alert span { padding: 5px 8px; border-radius: 6px; background: var(--v2-blue); color: #fff; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.store-alert p { margin: 0; color: #173b58; font-size: 13px; font-weight: 750; }
.v2-store-hero { padding: 60px 0 95px; background: linear-gradient(135deg, #f7faff, #eef5ff); }
.v2-store-hero-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 70px; align-items: center; }
.v2-back { display: inline-block; margin-bottom: 45px; color: var(--v2-muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.v2-store-copy h1 { margin: 0 0 25px; font-size: clamp(57px, 6vw, 88px); line-height: .88; letter-spacing: -.075em; }
.v2-store-copy h1 em { color: var(--v2-blue); font-style: normal; }
.store-violet .v2-store-copy h1 em { color: var(--v2-violet); }
.v2-store-copy > p { max-width: 560px; margin: 0 0 30px; color: var(--v2-muted); font-size: 17px; line-height: 1.7; }
.v2-store-status-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 29px; }
.v2-store-status-row > div { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 9px; padding: 15px; border: 1px solid var(--v2-line); border-radius: 15px; background: rgba(255,255,255,.7); }
.v2-store-status-row > div > span { grid-row: 1 / 3; }
.v2-store-status-row strong, .v2-store-status-row small { display: block; }
.v2-store-status-row strong { font-size: 13px; }
.v2-store-status-row small { margin-top: 3px; color: var(--v2-muted); font-size: 10px; }
.v2-status-dot { width: 10px; height: 10px; margin-top: 3px; border-radius: 50%; background: #e14e5d; box-shadow: 0 0 0 5px rgba(225,78,93,.1); }
.v2-store-status-row strong.is-open + small, .v2-store-status-row strong.is-open { color: #148058; }
.v2-store-status-row:has(strong.is-open) .v2-status-dot { background: #24a874; box-shadow: 0 0 0 5px rgba(36,168,116,.12); }
.v2-store-photo { position: relative; height: 610px; border-radius: 35px 35px 115px 35px; overflow: hidden; box-shadow: var(--v2-shadow); }
.v2-store-photo > img { width: 100%; height: 100%; object-fit: cover; }
.v2-store-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,20,43,.7)); }
.v2-store-city-tag { position: absolute; left: 30px; bottom: 90px; color: #fff; }
.v2-store-city-tag small { display: block; margin-bottom: 6px; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.v2-store-city-tag strong { font-size: 36px; letter-spacing: -.04em; }
.v2-store-switch { position: absolute; right: 20px; bottom: 20px; left: 20px; display: grid; grid-template-columns: repeat(2, 1fr); padding: 7px; border-radius: 15px; background: rgba(255,255,255,.93); backdrop-filter: blur(18px); }
.v2-store-switch a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 11px; border-radius: 10px; color: var(--v2-muted); font-size: 12px; font-weight: 850; text-decoration: none; }
.v2-store-switch a.active { background: var(--v2-ink); color: #fff; }
.v2-store-switch .v2-map-pin { width: 7px; height: 7px; border-width: 3px; }

.v2-offer { padding: 110px 0; }
.v2-highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--v2-line); border-radius: 24px; overflow: hidden; }
.v2-highlight-grid article { position: relative; min-height: 260px; padding: 28px; border-right: 1px solid var(--v2-line); background: #fff; }
.v2-highlight-grid article:last-child { border-right: 0; }
.v2-highlight-grid article > span { color: var(--v2-muted); font-size: 10px; font-weight: 900; }
.v2-highlight-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 60px 0 20px; border-radius: 18px; background: #eaf4ff; color: var(--v2-blue); font-size: 24px; }
.store-violet .v2-highlight-icon { background: #f1ebfe; color: var(--v2-violet); }
.v2-highlight-grid h3 { max-width: 270px; margin: 0; font-size: 20px; line-height: 1.3; }

.v2-hours-section { padding: 115px 0; background: var(--v2-ink); color: #fff; }
.v2-hours-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.v2-hours-copy h2 { margin: 0 0 25px; font-size: clamp(53px, 6vw, 78px); line-height: .93; letter-spacing: -.065em; }
.v2-hours-copy > p { max-width: 420px; color: #9da9bc; line-height: 1.7; }
.v2-hours-copy > a { display: inline-block; margin-top: 40px; color: #fff; font-size: 13px; text-decoration: none; }
.v2-hours-card { border-top: 1px solid rgba(255,255,255,.16); }
.v2-hours-row { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 20px; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.13); }
.v2-day-number { color: #637086; font-size: 10px; font-weight: 900; }
.v2-hours-row strong { font-size: 16px; }
.v2-hours-row > span:last-child { color: #aeb8c8; font-size: 14px; }
.v2-hours-row > span i { margin: 0 8px; color: #526074; font-style: normal; }
.v2-hours-row.today { margin-inline: -18px; padding-inline: 18px; border-radius: 12px; background: var(--v2-blue); }
.store-violet .v2-hours-row.today { background: var(--v2-violet); }
.v2-hours-row.today .v2-day-number, .v2-hours-row.today > span:last-child { color: #fff; }

.v2-loyalty-callout { padding: 40px 0; background: #dff6ff; }
.v2-loyalty-inner { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 25px; padding: 32px 40px; border-radius: 24px; background: var(--v2-blue); color: #fff; }
.v2-loyalty-mark { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 22px; font-size: 32px; font-weight: 900; }
.v2-loyalty-inner span { text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 900; opacity: .72; }
.v2-loyalty-inner h2 { margin: 5px 0; font-size: 31px; letter-spacing: -.04em; }
.v2-loyalty-inner p { margin: 0; opacity: .8; }

.v2-location { padding: 120px 0; }
.v2-location-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.v2-location-copy h2 { margin: 0 0 35px; font-size: clamp(48px, 5vw, 70px); line-height: .95; letter-spacing: -.06em; }
.v2-contact-list { margin-bottom: 30px; border-top: 1px solid var(--v2-line); }
.v2-contact-list > div { display: grid; grid-template-columns: 90px 1fr; padding: 18px 0; border-bottom: 1px solid var(--v2-line); }
.v2-contact-list small { color: var(--v2-muted); }
.v2-contact-list strong, .v2-contact-list a { color: var(--v2-ink); font-size: 15px; font-weight: 800; line-height: 1.45; text-decoration: none; }
.v2-next-store { padding: 0 0 100px; }
.v2-next-store-link { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 30px; min-height: 140px; padding: 25px 40px; border-radius: 25px; background: var(--v2-paper); color: var(--v2-ink); text-decoration: none; }
.v2-next-store-link > span { color: var(--v2-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; }
.v2-next-store-link strong { font-size: 38px; letter-spacing: -.045em; }
.v2-next-store-link b { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: var(--v2-blue); color: #fff; }

/* Footer refresh */
.site-footer { padding-top: 0; background: #0c1629; }
.footer-topline { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.footer-topline p { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.footer-topline a { color: #8ddffa; font-size: 13px; font-weight: 900; text-decoration: none; }
.site-footer .footer-grid { padding-top: 55px; padding-bottom: 50px; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 1000px) {
  .v2-hero-grid, .v2-store-hero-grid, .v2-map-grid, .v2-location-grid { grid-template-columns: 1fr; }
  .v2-hero { padding-top: 55px; }
  .v2-hero-media { max-width: 720px; }
  .v2-location-dock { left: 20px; }
  .v2-section-head { grid-template-columns: 1fr; gap: 20px; }
  .v2-about-grid { grid-template-columns: 150px 1fr; gap: 45px; }
  .v2-hours-grid { grid-template-columns: 1fr; gap: 55px; }
  .v2-store-photo { height: 520px; }
}

@media (max-width: 820px) {
  .public-v2 .shell, .announcement-inner, .footer-topline { width: min(100% - 28px, 1180px); }
  .announcement-inner { justify-content: flex-start; overflow: hidden; }
  .announcement-inner p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .announcement-inner a { display: none; }
  .public-v2 .header-inner { min-height: 82px; padding-top: 8px; padding-bottom: 8px; }
  .public-v2 .brand-logo { width: 96px; }
  .public-v2 .main-nav { align-items: stretch; }
  .nav-store-switch { width: 100%; }
  .nav-store-button { width: 100%; text-align: left; }
  .nav-store-menu { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 4px; }
  .nav-store-menu.open { display: block; }
.public-v2 .main-nav .nav-cta { justify-content: center; text-align: center; }
  .v2-hero { min-height: auto; padding: 55px 0 80px; }
  .v2-hero-copy h1, .v2-store-copy h1 { font-size: clamp(50px, 15vw, 72px); }
  .v2-hero-media { padding-bottom: 160px; }
  .v2-photo-wrap { height: 420px; border-radius: 26px 26px 75px 26px; }
  .v2-location-dock { left: 8px; right: 8px; }
  .v2-store-grid { grid-template-columns: 1fr; }
  .v2-card-image { height: 270px; }
  .v2-about-grid { grid-template-columns: 1fr; }
  .v2-about-side { display: none; }
  .v2-values { grid-template-columns: 1fr; }
  .v2-values article { min-height: auto; }
  .v2-values h3 { margin-top: 25px; }
  .v2-closing-inner { padding: 45px 30px; }
  .v2-circle-link { width: 110px; height: 110px; flex-basis: 110px; }
  .v2-store-photo { height: 460px; border-radius: 27px 27px 75px 27px; }
  .v2-highlight-grid { grid-template-columns: 1fr; }
  .v2-highlight-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--v2-line); }
  .v2-highlight-icon { margin-top: 30px; }
  .v2-loyalty-inner { grid-template-columns: 60px 1fr; }
  .v2-loyalty-inner .v2-button { grid-column: 1 / -1; }
  .v2-loyalty-mark { width: 58px; height: 58px; }
  .v2-next-store-link { grid-template-columns: 1fr auto; }
  .v2-next-store-link > span { grid-column: 1 / -1; }
  .footer-topline { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 540px) {
  .v2-actions { display: grid; grid-template-columns: 1fr; }
  .v2-button { width: 100%; }
  .v2-trust-row { margin-top: 25px; }
  .v2-hero-media { padding-bottom: 180px; }
  .v2-photo-wrap { height: 360px; }
  .dock-heading small { display: none; }
  .v2-stores, .v2-about, .v2-map, .v2-offer, .v2-hours-section, .v2-location { padding-block: 80px; }
  .v2-section-head h2, .v2-about-main h2, .v2-map-copy h2 { font-size: 42px; }
  .v2-card-body { padding: 23px; }
  .v2-card-title h3 { font-size: 35px; }
  .v2-card-links { align-items: flex-start; flex-direction: column; }
  .v2-closing-inner { align-items: flex-start; flex-direction: column; }
  .v2-circle-link { align-self: flex-end; }
  .v2-store-status-row { grid-template-columns: 1fr; }
  .v2-store-photo { height: 390px; }
  .v2-hours-row { grid-template-columns: 35px 1fr auto; gap: 8px; }
  .v2-hours-row strong { font-size: 13px; }
  .v2-hours-row > span:last-child { font-size: 12px; }
  .v2-location-map, .v2-location-map .map-placeholder, .v2-map-frame, .v2-map-frame .map-placeholder { min-height: 410px; }
  .v2-loyalty-inner { padding: 26px 22px; }
  .v2-loyalty-inner h2 { font-size: 25px; }
  .v2-contact-list > div { grid-template-columns: 70px 1fr; }
  .v2-next-store-link { padding: 25px; }
  .v2-next-store-link strong { font-size: 28px; }
}

/* Dostępność i wykończenie */

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 11px 15px;
  border-radius: 10px;
  background: var(--brand-ink);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(56, 200, 242, .55);
  outline-offset: 3px;
}

.v2-store-card,
.v2-photo-wrap,
.v2-store-photo,
.v2-map-frame,
.v2-location-map {
  box-shadow: var(--brand-shadow);
}

.v2-card-image img,
.v2-store-photo img,
.v2-photo-wrap img {
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.v2-store-card:hover .v2-card-image img,
.v2-store-photo:hover img,
.v2-photo-wrap:hover img { transform: none; }

.admin-back-panel { border-top: 1px solid rgba(255,255,255,.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* Karta Stałego Klienta — nowoczesna część publiczna */
.karta-page .site-header { position: static; }
.loyalty-main {
  min-height: calc(100vh - 80px);
  padding: 72px 0 110px;
  background:
    radial-gradient(circle at 10% 5%, rgba(124,92,231,.14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(56,200,242,.18), transparent 31%),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
}
.loyalty-main .wrapper { width: min(calc(100% - 32px), 1040px); }
.loyalty-main .card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(215,225,239,.92);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(24,43,78,.10);
  backdrop-filter: blur(10px);
}
.loyalty-main .card:first-child::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -135px;
  right: -95px;
  border: 36px solid rgba(56,200,242,.10);
  border-radius: 50%;
}
.loyalty-main .card h1 { max-width: 720px; font-size: clamp(2.15rem, 5vw, 3.65rem); line-height: 1; }
.loyalty-main .loyalty-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.loyalty-main .loyalty-form .btn-row, .loyalty-main .loyalty-form .error, .loyalty-main .loyalty-form .success { grid-column: 1 / -1; }
.loyalty-main .form-row input { min-height: 52px; border-radius: 12px; border: 1px solid #cfd9e8; padding: 12px 14px; }
.loyalty-main .form-row input:focus { border-color: var(--ciuchatek-blue); box-shadow: 0 0 0 4px rgba(7,88,211,.10); outline: 0; }
.loyalty-main .btn-primary, .loyalty-main .btn-secondary { min-height: 48px; border-radius: 999px; padding-inline: 20px; }
.loyalty-main .grid-2 { gap: 14px; }
.loyalty-main .stat-box { padding: 24px; border-radius: 18px; background: linear-gradient(145deg, #f5f8fd, #fff); }
.loyalty-main .stat-value { color: var(--ciuchatek-blue); font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.04em; }
.loyalty-main .coupon-card { border-radius: 16px; background: #f8fafc; }
.loyalty-main .coupon-card.usable { border-color: #8db9f6; background: linear-gradient(135deg, #edf5ff, #f8fbff); }
.loyalty-main .history-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--ciuchatek-line); border-radius: 12px; }
@media (max-width: 700px) {
  .loyalty-main { padding-top: 38px; }
  .loyalty-main .card { padding: 22px; border-radius: 18px; }
  .loyalty-main .loyalty-form { grid-template-columns: 1fr; }
  .loyalty-main .loyalty-form .btn-row, .loyalty-main .loyalty-form .error, .loyalty-main .loyalty-form .success { grid-column: auto; }
}

/* Google Maps — dokładne lokalizacje sklepów */
.google-map-shell { position: relative; min-height: 420px; overflow: hidden; background: #e7edf5; }
.google-map-shell iframe { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }
.v2-google-map-grid { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.v2-google-map-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: var(--v2-shadow); }
.v2-google-map-card-head { min-height: 86px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.v2-google-map-card-head > div { min-width: 0; display: grid; gap: 3px; }
.v2-google-map-card-head strong { font-size: 1rem; }
.v2-google-map-card-head small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-google-map-embed { min-height: 330px; height: 330px; border-radius: 0; background: #eef3f9; overflow: hidden; }
.v2-google-map-embed .map-placeholder { min-height: 330px; background: #17243a; color: #fff; }
.v2-google-map-card-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); min-height: 66px; }
.v2-google-map-card-actions a { min-height: 66px; display: flex; align-items: center; justify-content: center; padding: 14px 12px; text-align: center; color: var(--ink); font-size: .83rem; font-weight: 800; text-decoration: none; background: #fff; }
.v2-google-map-card-actions a + a { border-left: 1px solid var(--line); }
.v2-google-map-card-actions a:hover { background: #f1f5fa; }
.v2-map-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.compact-map-placeholder { padding: 24px; }
.compact-map-placeholder h3 { margin-top: 0; }
.v2-location-map.google-map-shell, .v2-location-map.google-map-shell iframe { min-height: 510px; }

@media (max-width: 1050px) {
  .v2-google-map-grid { grid-template-columns: 1fr; }
  .v2-google-map-embed { min-height: 360px; }
}
@media (max-width: 620px) {
  .google-map-shell, .v2-location-map.google-map-shell, .v2-location-map.google-map-shell iframe { min-height: 360px; }
  .v2-google-map-card { border-radius: 18px; }
  .v2-google-map-card-actions { grid-template-columns: 1fr; }
  .v2-google-map-card-actions a + a { border-left: 0; border-top: 1px solid var(--line); }
  .v2-map-actions { display: grid; grid-template-columns: 1fr; }
}

.v2-map-pin.violet, .nav-location-dot.violet::after, .dock-icon.violet { }

.v2-google-map-embed iframe, .google-map-shell iframe { width: 100%; height: 100%; min-height: 100%; display: block; }

/* v2.45 — wyraźna Karta Klienta */
.public-v2 .main-nav > a.nav-cta,
body:not(.admin-body):not(.admin-login-body) .main-nav > a.nav-cta {
  background: linear-gradient(135deg, #0758d3 0%, #0b6ff0 100%) !important;
  color: #ffffff !important;
  border: 1px solid #0758d3 !important;
  box-shadow: 0 12px 30px rgba(7,88,211,.28) !important;
  opacity: 1 !important;
}
.public-v2 .main-nav > a.nav-cta span,
body:not(.admin-body):not(.admin-login-body) .main-nav > a.nav-cta span {
  color: #dbeafe !important;
  opacity: 1 !important;
}
.public-v2 .main-nav > a.nav-cta:hover,
body:not(.admin-body):not(.admin-login-body) .main-nav > a.nav-cta:hover {
  background: #043a93 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* v2.76: dopracowanie telefonów, tabletów i urządzeń z obszarem bezpiecznym. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.history-table {
  min-width: 520px;
}

@media (max-width: 980px) {
  .main-nav {
    max-height: calc(100dvh - 88px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .menu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .modal-backdrop {
    padding: max(6px, env(safe-area-inset-top)) 6px max(6px, env(safe-area-inset-bottom));
  }

  .modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .modal-scroll {
    max-height: none;
    padding: 18px 17px;
    overscroll-behavior: contain;
  }

  .modal-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

  .cookie-banner {
    bottom: max(8px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-actions .button,
  .cookie-actions .text-link,
  .loyalty-main .btn-row > *,
  .loyalty-main .button-group > * {
    width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .loyalty-main {
    min-height: calc(100dvh - 70px);
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .loyalty-main .wrapper {
    width: min(calc(100% - 20px), 1040px);
  }

  .loyalty-main .card {
    padding: 20px 16px;
  }

  .footer-bottom {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

@media (pointer: coarse) {
  :where(a.button, button, input, select) {
    min-height: 44px;
  }

  input[type="checkbox"],
  input[type="radio"] {
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
  }

  .button:hover,
  .v2-button:hover,
  .v2-store-card:hover,
  .public-v2 .main-nav > a.nav-cta:hover {
    transform: none;
  }
}
