:root {
  --bg: #e4eadf;
  --paper: #fff;
  --ink: #000;
  --muted: #000;
  --line: #dfe5dc;
  --tcx-sea-foam: #b7c2b2;
  --tcx-desert-sage: #a7ae9e;
  --tcx-green-tint: #c5ccc0;
  --accent: #737e6f;
  --accent-hover: #5f695c;
  --accent-soft: #dce4d6;
  --cloud-fill: #fffdf8;
  --cloud-hover-fill: #f1f5ee;
  --cloud-outline: #d3dec9;
  --cloud-outline-hover: #c2ceb9;
  --sage: #dfe5da;
  --heading-font: Arial, Helvetica, sans-serif;
  --edge-bg: #c2ceb9;
  --shadow: 0 16px 45px rgba(47, 51, 45, 0.08);
}

@font-face {
  font-family: "Special Elite Local";
  src: url("/assets/fonts/special-elite.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--edge-bg) 0%, var(--bg) 15%, var(--bg) 85%, var(--edge-bg) 100%);
  line-height: 1.6;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 6px clamp(18px, 4vw, 58px);
  background: var(--edge-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.has-shadow { box-shadow: 0 10px 28px rgba(47, 51, 45, 0.08); }
.brand { display: grid; justify-items: center; line-height: 0; }
.brand img { width: 150px; height: 100px; object-fit: contain; }
.brand-empty {
  width: 150px;
  min-height: 1px;
}
.site-nav { display: flex; gap: 26px; color: var(--ink); font-size: 15px; font-weight: 400; align-items: center; }
.site-nav-right { justify-content: flex-end; align-items: center; gap: 0; }
.site-nav a:hover { color: var(--accent); }
.header-search {
  display: grid;
  grid-template-columns: minmax(140px, 260px) 34px;
  align-items: center;
  height: 36px;
  margin-right: 14px;
  border: 1px solid rgba(115, 126, 111, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.header-search:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 8px 20px rgba(47, 51, 45, 0.08);
}
.header-search input {
  height: 34px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0 4px 0 13px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  outline: none;
}
.header-search input::placeholder {
  color: rgba(47, 51, 45, 0.62);
  font-weight: 600;
}
.header-search button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.header-search button:hover {
  color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.58);
}
.header-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.translate-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.custom-translate {
  display: inline-flex;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 9px 0 8px;
  border: 1px solid rgba(115, 126, 111, 0.32);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.custom-translate span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.custom-translate select {
  width: 50px;
  min-height: 32px;
  margin: 0;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 700 13px/32px Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.custom-translate select:focus {
  outline: none;
}
.custom-translate:focus-within,
.custom-translate:hover {
  border-color: var(--accent);
}
.google-translate-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.google-translate-host .goog-te-gadget {
  font-size: 0;
}
.google-translate-host .goog-te-gadget span {
  display: none;
}
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}
body {
  top: 0 !important;
}
.mobile-call-cta {
  display: none;
}

/* ── Floating notebook button ─────────────────────────── */
.fab-notebook {
  position: fixed;
  right: 20px;
  top: 90px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: grab;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.fab-notebook:active { cursor: grabbing; }
.fab-notebook-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(115, 126, 111, 0.5);
  background: linear-gradient(160deg, #fff 0%, #edf3e8 100%);
  color: var(--accent);
  box-shadow: 0 8px 28px rgba(47, 51, 45, 0.22), 0 2px 8px rgba(47, 51, 45, 0.12);
  transition: box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  pointer-events: none;
}
.fab-notebook:hover .fab-notebook-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 36px rgba(47, 51, 45, 0.28);
}
.fab-notebook svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.fab-notebook-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.fab-notebook-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 2px solid rgba(115, 126, 111, 0.4);
  box-shadow: 0 2px 8px rgba(47, 51, 45, 0.12);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.site-nav .nav-cta {
  display: none;
  align-items: center;
  min-height: 38px;
  margin-left: 16px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--accent-hover);
}
.social-link {
  display: inline-block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-left: 15px;
  border-radius: 5px;
  background: url("/assets/img/social/social.jpg") 0 0 / 210px 30px no-repeat;
}
.social-link.youtube { background-position-x: -30px; }
.social-link.instagram { background-position-x: 0; }
.social-link.pinterest { background-position-x: -60px; }
.social-link.facebook { background-position-x: -90px; }
.social-link.gmail { background-position-x: -120px; }
.social-link.phone { background-position-x: -150px; }
.social-link.tiktok { background-position-x: -180px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 8px 12px; }

.hero {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
  padding: clamp(14px, 2.2vw, 26px) clamp(18px, 6vw, 86px) 42px;
}
.hero-copy-centered {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-logo {
  width: min(600px, 92vw);
  height: auto;
  margin-bottom: 34px;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
}
.hero p, .page-hero p { color: var(--muted); max-width: 700px; font-size: 18px; }
.hero .eyebrow {
  text-transform: none;
  font-size: 36px;
  background: linear-gradient(90deg, #b53d62 0%, #d85479 30%, #f07a9e 50%, #d85479 70%, #b53d62 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eyebrow-shimmer 4s linear infinite;
}
@keyframes eyebrow-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.hero-actions, .detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.hero-actions { justify-content: center; margin-top: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary { background: #fff; color: var(--accent); }
.button.is-added {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.button.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}
.text-link { color: var(--accent); font-weight: 700; }

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hero-panel a, .product-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-panel a {
  display: block;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.hero-panel a:hover img, .product-card:hover img { transform: scale(1.035); }

.hero-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  align-items: stretch;
}
.department-card {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: space-between;
  overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.department-card.primary-department {
  min-height: 280px;
  aspect-ratio: 1.5 / 1;
  isolation: isolate;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 48px 56px 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  text-align: center;
  transition: transform 0.22s ease;
}
.hero-secondary-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-secondary-categories a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(47, 51, 45, 0.05);
}
.hero-secondary-categories span {
  font-weight: 900;
}
.hero-secondary-categories small {
  color: var(--muted);
}
.hero-other-category a,
.department-card.primary-department.other-department {
  --cloud-mask: url("/assets/img/chmurka1-mask.svg");
}
.department-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(197,204,192,0.66));
  pointer-events: none;
}
.department-card.primary-department::before {
  z-index: 2;
  inset: -34px -38px;
  height: auto;
  background: var(--cloud-fill, var(--line));
  -webkit-mask: var(--cloud-mask, url("/assets/img/chmurka-wide.svg")) center / 100% 100% no-repeat;
  mask: var(--cloud-mask, url("/assets/img/chmurka-wide.svg")) center / 100% 100% no-repeat;
  filter: drop-shadow(0 16px 34px rgba(47, 51, 45, 0.1));
}
.department-card.primary-department::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 36px 44px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-mask: var(--cloud-mask, url("/assets/img/chmurka-wide.svg")) center / 100% 100% no-repeat;
  mask: var(--cloud-mask, url("/assets/img/chmurka-wide.svg")) center / 100% 100% no-repeat;
  pointer-events: none;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.department-card.primary-department:hover,
.hero-other-category a:hover {
  transform: translateY(-6px);
}
.department-card.primary-department:hover::before,
.hero-other-category a:hover::before {
  background: var(--cloud-hover-fill, var(--tcx-sea-foam));
  filter: drop-shadow(0 20px 38px rgba(47, 51, 45, 0.14));
}
.department-card.primary-department:hover::after,
.hero-other-category a:hover::after {
  background: #fff;
}
.department-card strong {
  position: relative;
  z-index: 3;
  margin-top: 10px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
}
.department-card.primary-department strong {
  margin-top: 0;
  max-width: 560px;
}
.department-card.primary-department > span:not(.department-kicker) {
  position: relative;
  z-index: 3;
  margin-top: 0;
  max-width: 560px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
}
.department-card small {
  position: relative;
  z-index: 3;
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
}
.department-card.primary-department small {
  max-width: 300px;
  margin-inline: auto;
}
.department-card.primary-department.serwetki small {
  max-width: 250px;
}
.department-card.primary-department.papier-ryzowy small {
  max-width: 315px;
}
.department-card.primary-department.other-department small {
  max-width: 270px;
}
.department-kicker {
  position: relative;
  z-index: 3;
  width: fit-content;
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.department-card.primary-department .department-kicker {
  justify-self: center;
}
.department-placeholder {
  display: grid;
  place-items: center;
  width: 172px;
  aspect-ratio: 1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 72px;
  font-weight: 800;
}
.primary-department.serwetki {
  --cloud-mask: url("/assets/img/chmurka3-mask.svg");
  --cloud-fill: #fffdf8;
}
.primary-department.serwetki::before {
  z-index: 2;
  background: #fff;
  -webkit-mask: url("/assets/img/chmurka3.png") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka3.png") center / 100% 100% no-repeat;
}
.primary-department.serwetki:hover::before {
  background: #fff;
}
.primary-department.serwetki::after {
  z-index: 1;
  inset: -52px -58px;
  background: var(--cloud-outline);
  -webkit-mask: url("/assets/img/chmurka3.svg") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka3.svg") center / 100% 100% no-repeat;
}
.primary-department.serwetki:hover::after {
  background: var(--cloud-outline-hover);
}
.primary-department.papier-ryzowy {
  --cloud-mask: url("/assets/img/chmurka2-mask.svg");
  --cloud-fill: #fffdf8;
}
.primary-department.papier-ryzowy::before {
  z-index: 2;
  background: #fff;
  -webkit-mask: url("/assets/img/chmurka2.png") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka2.png") center / 100% 100% no-repeat;
}
.primary-department.papier-ryzowy:hover::before {
  background: #fff;
}
.primary-department.papier-ryzowy::after {
  z-index: 1;
  inset: -52px -58px;
  background: var(--cloud-outline);
  -webkit-mask: url("/assets/img/chmurka2.svg") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka2.svg") center / 100% 100% no-repeat;
}
.primary-department.papier-ryzowy:hover::after {
  background: var(--cloud-outline-hover);
}
.primary-department.other-department::before {
  z-index: 2;
  background: #fff;
  -webkit-mask: url("/assets/img/chmurka1.png") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka1.png") center / 100% 100% no-repeat;
}
.primary-department.other-department:hover::before {
  background: #fff;
}
.primary-department.other-department::after {
  z-index: 1;
  inset: -52px -58px;
  background: var(--cloud-outline);
  -webkit-mask: url("/assets/img/chmurka1.svg") center / 100% 100% no-repeat;
  mask: url("/assets/img/chmurka1.svg") center / 100% 100% no-repeat;
}
.primary-department.other-department:hover::after {
  background: var(--cloud-outline-hover);
}
.hero-info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.department-strip {
  padding-top: 24px;
}
.department-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.department-list a {
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.department-list span {
  font-weight: 900;
}
.department-list small {
  color: var(--muted);
}

.section, .page-hero {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 6vw, 86px);
}
.page-hero.compact { padding-bottom: 24px; }
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(560px, 0.66fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}
.catalog-hero-copy {
  max-width: 700px;
}
.catalog-section {
  padding-top: 0;
}
.page-hero h1, .section h2 {
  font-family: var(--heading-font);
  font-weight: 800;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.section-heading a { color: var(--accent); font-weight: 700; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.category-tile {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-rows: minmax(120px, 1fr) auto;
  align-content: start;
  gap: 10px;
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.category-tile:hover {
  transform: translateY(-3px);
  border-color: var(--edge-bg);
  background: #f6f1df;
  box-shadow: 0 14px 30px rgba(47, 51, 45, 0.08);
}
.category-tile.is-active {
  transform: translateY(-3px);
  border-color: #b8a93a;
  background: #ede89a;
  box-shadow: 0 14px 30px rgba(47, 51, 45, 0.14), inset 0 0 0 2px #c9b93e;
}
.category-tile.is-hidden-publicly,
.product-card.is-hidden-publicly {
  border-color: #c78282;
  background: repeating-linear-gradient(135deg, #fff 0 12px, #fff6f6 12px 24px);
}
.category-tile.is-hidden-publicly img,
.product-card.is-hidden-publicly img {
  opacity: 0.58;
  filter: grayscale(0.55);
}
.admin-hidden-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #9b3f3f;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(47, 51, 45, 0.18);
}
.category-tile-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 12px;
}
.category-tile-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 132px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
}
.category-tile-image img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  object-position: center;
}
.category-tile-image span {
  display: grid;
  width: 96px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
}
.category-tile strong {
  display: block;
  padding-right: 18px;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
}
.category-tile-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}
.category-tile-back {
  grid-template-rows: 1fr auto auto;
  align-content: center;
  justify-items: start;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.68);
}
.category-tile-back-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
}
.category-tile-back small {
  color: var(--muted);
  font-size: 13px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 51, 45, 0.05);
}
.product-image {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.product-image::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 0.25s ease;
}
.product-image.is-portrait img {
  top: 5px;
}
.main-photo-button.is-portrait .main-photo {
  top: 5px;
  bottom: 5px;
  height: calc(100% - 10px);
}
.product-info { padding: 12px; }
.code { margin: 0; color: var(--ink); font-weight: 900; font-size: 16px; line-height: 1.15; }
.product-info h3 { margin: 4px 0 6px; font-size: 15px; line-height: 1.24; }
.admin-hidden-note {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #e5b7b7;
  border-radius: 8px;
  background: #fff4f4;
  color: #7e3030;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.admin-hidden-panel {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e5b7b7;
  border-radius: 8px;
  background: #fff4f4;
  color: #7e3030;
  font-weight: 800;
}
.meta { margin: 0; color: var(--ink); font-size: 13px; }
.price { margin: 10px 0 0; font-weight: 800; }
.variant-choice {
  display: block;
  margin-top: 10px;
}
.variant-choice select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}
.detail-variant-choice {
  flex: 1 1 260px;
  margin-top: 0;
}
.notebook-add {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 10px;
  font-size: 13px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(190px, 2fr) repeat(3, minmax(118px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  width: 100%;
  max-width: 980px;
  justify-self: end;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.result-count { color: var(--muted); }
.catalog-choice-empty {
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}
.catalog-choice-empty p {
  margin: 0;
}
.load-more {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
}
.load-more p { margin: 0; }
.scroll-sentinel { width: 100%; height: 1px; }

.motifs-band { background: #fff; border-block: 1px solid var(--line); }
.motif-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.motif-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--accent-soft));
}
.motif-list small { color: var(--muted); }

.customer-info {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}
.info-heading {
  align-items: start;
}
.info-lead {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.info-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.info-spotlight > div {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.info-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.info-spotlight strong {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 800;
}
.info-spotlight p,
.info-card p {
  color: var(--muted);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 51, 45, 0.05);
}
.info-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.contact-lines {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.contact-lines a {
  width: fit-content;
  color: var(--accent);
  font-weight: 800;
}
.order-example {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px dashed var(--line);
}
.order-example span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.order-example code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
}
.shipping-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0;
  list-style: none;
}
.shipping-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.shipping-list strong {
  color: var(--accent);
}
.shipping-list span {
  max-width: 190px;
  color: var(--muted);
  text-align: right;
}
.address-card address {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}
.note-card {
  background: linear-gradient(135deg, #fff, var(--sage));
}
.home-contact {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  border-top: 1px solid var(--line);
}
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: 18px;
  align-items: stretch;
}
.home-contact-card,
.home-contact-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-contact-card {
  padding: clamp(20px, 3vw, 30px);
}
.home-contact-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}
.home-contact-card address {
  margin: 0;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}
.home-contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.home-contact-details div {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.home-contact-details strong {
  color: var(--ink);
}
.home-contact-details span,
.home-contact-details a {
  color: var(--muted);
}
.home-contact-details a:hover {
  color: var(--accent);
}
.home-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
.info-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.info-page .info-card {
  padding: 28px 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-left: 3px solid var(--line);
}
.info-page .info-card:nth-child(even) {
  border-left: none;
  border-right: 3px solid var(--line);
}
.info-page .info-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.info-page .info-card p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}
.info-page .info-card p:last-child { margin-bottom: 0; }
.info-page .shipping-list {
  margin: 0;
  gap: 0;
}
.info-page .shipping-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  justify-content: flex-start;
  gap: 0;
}
.info-page .shipping-list li:first-child { border-top: 1px solid var(--line); }
.info-page .shipping-list span {
  max-width: none;
  text-align: left;
  color: var(--ink);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(420px, 0.65fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(34px, 6vw, 86px);
}
.detail-media {
  width: min(468px, 100%);
  justify-self: center;
}
.main-photo-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.main-photo-button::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.28s ease;
}
.main-photo-button:hover .main-photo { transform: none; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs img { aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.detail-copy h1 { margin: 0 0 18px; font-family: var(--heading-font); font-size: clamp(34px, 5vw, 58px); line-height: 1.05; font-weight: 800; }
.specs { display: grid; gap: 10px; margin: 24px 0; }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 800; text-align: right; }
.description { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { padding: 6px 10px; border-radius: 999px; background: var(--sage); font-size: 13px; }
.variant-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.variant-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.variant-row div {
  display: grid;
  gap: 2px;
}
.variant-row strong,
.variant-row b {
  color: var(--ink);
  font-weight: 900;
}
.variant-row span {
  color: var(--muted);
  font-size: 14px;
}
.variant-row .button {
  min-height: 38px;
  padding: 8px 12px;
}
.narrow { max-width: 820px; margin-inline: auto; }
.contact-form { display: grid; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.success-box { margin-bottom: 16px; padding: 14px; border-radius: 8px; background: var(--sage); }
.empty { grid-column: 1 / -1; padding: 30px; background: #fff; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); }

.modal-open { overflow: hidden; }
.image-modal[hidden] { display: none; }
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 12px;
}
.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(47, 51, 45, 0.62);
}
.image-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(98vw, 1530px);
  max-height: 98vh;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(47, 51, 45, 0.28);
}
.image-modal-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(98vh - 28px);
  object-fit: contain;
  width: auto;
  height: auto;
}
.image-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.confirm-modal[hidden] { display: none; }
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: 20px;
}
.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(47, 51, 45, 0.52);
  cursor: pointer;
}
.confirm-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfaf4 100%);
  box-shadow: 0 24px 70px rgba(47, 51, 45, 0.24);
}
.confirm-modal-dialog .eyebrow {
  margin-bottom: 8px;
}
.confirm-modal-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}
.confirm-modal-dialog p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}
.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.notebook-hero {
  grid-template-columns: 1fr;
}
.notebook-section {
  padding-top: 28px;
}
.notebook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 18px;
  align-items: start;
}
.notebook-panel,
.notebook-copy,
.notebook-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(47, 51, 45, 0.05);
}
.notebook-panel,
.notebook-copy {
  padding: clamp(18px, 3vw, 28px);
}
.notebook-heading {
  margin-bottom: 18px;
}
.notebook-heading p,
.notebook-hint {
  margin: 6px 0 0;
  color: var(--muted);
}
.notebook-list {
  display: grid;
  gap: 12px;
}
.notebook-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(150px, 0.45fr) 96px auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.notebook-item img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.notebook-item strong {
  color: var(--accent);
  font-weight: 800;
}
.notebook-item h3 {
  margin: 2px 0 4px;
  font-size: 17px;
  line-height: 1.2;
}
.notebook-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.notebook-item a {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.notebook-item label span {
  margin-bottom: 4px;
}
.notebook-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 22px;
  color: var(--muted);
}
.notebook-empty[hidden] {
  display: none;
}
.notebook-empty p {
  margin: 0;
}
.notebook-copy {
  position: sticky;
  top: 86px;
}
.notebook-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.shipping-choice {
  display: block;
  margin-bottom: 12px;
}
.notebook-customer-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.notebook-address-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.notebook-text-preview {
  min-height: 320px;
  max-height: 460px;
  overflow: auto;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  white-space: normal;
}
.notebook-preview-empty {
  color: var(--muted);
}
.notebook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.notebook-help {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 38px);
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(47, 51, 45, 0.05);
}
.notebook-help h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}
.notebook-help p {
  margin: 0;
  color: var(--muted);
}
.notebook-help ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
}
.notebook-help li::marker {
  color: var(--accent);
  font-weight: 800;
}
.notebook-storage-note {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.notebook-order-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}
.notebook-order-note strong {
  color: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(180px, 0.55fr));
  gap: clamp(20px, 4vw, 46px);
  padding: clamp(32px, 5vw, 58px) clamp(18px, 6vw, 86px) 24px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.footer-main {
  display: grid;
  align-content: start;
  gap: 14px;
}
.footer-brand {
  display: inline-grid;
  width: fit-content;
}
.footer-brand img {
  width: 132px;
  height: auto;
}
.footer-main p {
  max-width: 360px;
  margin: 0;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-column strong {
  color: var(--ink);
  font-size: 16px;
}
.footer-column a:hover,
.footer-links a:hover {
  color: var(--accent);
}
.footer-column address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.footer-credit a {
  color: var(--ink);
  font-weight: 700;
}
.footer-credit a:hover {
  color: var(--accent);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #fff; }
.footer-links a:hover { color: #fff; }

@media (max-width: 920px) {
  .hero, .product-detail, .catalog-hero { grid-template-columns: 1fr; }
  .detail-media { width: min(360px, 100%); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notebook-layout { grid-template-columns: 1fr; }
  .notebook-help { grid-template-columns: 1fr; }
  .notebook-copy { position: static; }
  .notebook-item { grid-template-columns: 76px minmax(0, 1fr); }
  .notebook-item img { width: 76px; }
  .home-contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .motif-list, .info-grid, .department-list, .info-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-categories { grid-template-columns: 1fr; }
  .department-card.primary-department {
    min-height: 300px;
    aspect-ratio: 2.6 / 1;
    width: min(780px, 100%);
    justify-self: center;
    padding: 40px 100px 36px;
  }
  .hero-other-category a {
    min-height: 300px;
    aspect-ratio: 2.6 / 1;
    width: min(780px, 100%);
    padding: 40px 100px 36px;
  }
  .hero-secondary-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-spotlight { grid-template-columns: 1fr; }
  .filters { width: 100%; max-width: none; grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-categories { gap: 15px; }
  .product-grid { gap: 15px; }
  .motif-list { gap: 15px; }
  .site-header {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: 58px;
    padding: 8px 14px;
  }
  .brand,
  .brand-empty {
    display: none;
  }
  .nav-toggle {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: start;
    padding: 0;
    border-color: rgba(115, 126, 111, 0.34);
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent);
    font-size: 0;
    transition: background 0.18s ease;
  }
  .nav-toggle:active { background: rgba(255, 255, 255, 0.95); }
  .mobile-search-btn {
    display: grid;
    place-items: center;
    grid-column: 3;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(115, 126, 111, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent);
    cursor: pointer;
    transition: background 0.18s ease;
  }
  .mobile-search-btn:active { background: rgba(255, 255, 255, 0.95); }
  .icon-hamburger,
  .icon-close { display: block; pointer-events: none; }
  .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.95); }
  .nav-toggle[aria-expanded="true"] .icon-hamburger { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .mobile-call-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-height: 40px;
    max-width: 100%;
    padding: 9px 18px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(47, 51, 45, 0.08);
  }
  .mobile-call-cta:hover {
    background: var(--accent-hover);
    color: #fff;
  }
  .site-nav {
    display: none;
    position: absolute;
    inset: 66px 14px auto;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
  }
  .site-nav:not(.site-nav-right) a {
    padding: 9px 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
  }
  .site-nav:not(.site-nav-right) a + a {
    border-top: 1px solid rgba(223, 229, 220, 0.7);
  }
  .site-nav .translate-widget {
    justify-content: center;
    margin-bottom: 8px;
  }
  .site-nav-right {
    inset: auto 14px auto;
    top: var(--nav-right-top, 340px);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
  }
  .site-nav.open { display: flex; }
  .header-search {
    order: -1;
    grid-template-columns: minmax(0, 1fr) 38px;
    width: 100%;
    height: 40px;
    margin: 0 0 10px;
  }
  .header-search input,
  .header-search button {
    height: 38px;
  }
  .header-search button {
    width: 38px;
  }
  .site-nav .nav-cta {
    display: none;
  }
  .social-link { margin: 0 15px 8px 0; }
  .hero h1, .page-hero h1 { font-size: 38px; }
  .product-grid, .motif-list, .info-grid, .department-list, .hero-secondary-categories, .info-page-grid { grid-template-columns: 1fr; }
  .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile { min-height: 190px; }
  .notebook-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .notebook-address-row {
    grid-template-columns: 1fr;
  }
  .notebook-item img {
    width: 112px;
  }
  .variant-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .variant-row .button {
    width: 100%;
  }
  .notebook-actions .button {
    width: 100%;
  }
  .home-contact-details { grid-template-columns: 1fr; }
  .hero-other-category a {
    width: min(100%, 460px);
    min-height: 355px;
    aspect-ratio: auto;
    padding: 44px 54px 38px;
  }
  .department-card { min-height: 360px; }
  .department-card.primary-department {
    min-height: 355px;
    aspect-ratio: auto;
    padding: 44px 54px 38px;
  }
  .department-card.primary-department::before,
  .hero-other-category a::before {
    inset: -47px 0;
  }
  .department-card.primary-department::after,
  .hero-other-category a::after {
    inset: 86px 54px;
  }
  .department-card.primary-department.serwetki::after {
    inset: -65px 0;
  }
  .department-card.primary-department.papier-ryzowy::after {
    inset: -65px 0;
  }
  .department-card.primary-department.other-department::after {
    inset: -65px 0;
  }
  .department-card.primary-department strong { font-size: 32px; }
  .department-card.primary-department small { max-width: 280px; margin-inline: auto; font-size: 14px; }
  .site-footer { grid-template-columns: 1fr; }
  .section-heading, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .shipping-list li { display: grid; }
  .shipping-list span { max-width: none; text-align: left; }
  .ticker-bar { height: 34px; font-size: 12px; }
  .ticker-label { padding: 0 10px; font-size: 10px; }
}

/* ── TICKER BARS ───────────────────────────────────────────── */
.ticker-bars-wrapper {
  position: sticky;
  top: var(--header-height, 68px);
  z-index: 18;
  width: 100%;
}

.ticker-bar {
  height: 38px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  opacity: 0.9;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding-right: 120px;
  will-change: transform;
  animation: ticker-scroll linear infinite;
  animation-play-state: running;
}

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(var(--ticker-start, 100vw)); }
  100% { transform: translateX(var(--ticker-end, -100%)); }
}

/* ── Category tile admin toggle ────────────────────────────────── */
.category-tile-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-tile-wrap .category-tile {
  flex: 1;
}
.category-tile-toggle {
  margin: 0;
}
.category-tile-toggle-btn {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.7);
  color: #2f332d;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.category-tile-toggle-btn:hover { background: #fff; }
.category-tile-toggle-btn.is-hidden {
  background: #e4f5e4;
  border-color: #4ade80;
  color: #1e6b24;
}
.category-tile-toggle-btn.is-hidden:hover { background: #d0f0d0; }

/* ── Product admin bar ─────────────────────────────────────────── */
.product-admin-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 24px;
  background: #1a1a2e;
  color: #e2e8f0;
  font-size: 13px;
  border-bottom: 2px solid #6366f1;
}

.product-admin-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #818cf8;
  margin-right: 4px;
}

.product-admin-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  margin: 0 4px;
}

.product-admin-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-admin-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.product-admin-btn:hover {
  background: rgba(255,255,255,0.18);
}

.product-admin-btn--danger {
  border-color: #f87171;
  color: #f87171;
}

.product-admin-btn--danger:hover {
  background: rgba(248,113,113,0.15);
}

.product-admin-btn--success {
  border-color: #4ade80;
  color: #4ade80;
}

.product-admin-btn--success:hover {
  background: rgba(74,222,128,0.15);
}

.product-admin-btn--link {
  border-color: #818cf8;
  color: #818cf8;
}

.product-admin-btn--link:hover {
  background: rgba(129,140,248,0.15);
}

.product-admin-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 12px;
}

.product-admin-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  font-size: 12px;
  max-width: 260px;
}

.product-admin-select option,
.product-admin-select optgroup {
  background: #1e1e3a;
  color: #e2e8f0;
}

@media (max-width: 600px) {
  .product-admin-bar {
    padding: 10px 16px;
  }
  .product-admin-select {
    max-width: 180px;
  }
}

/* ── Cookie consent ────────────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 32px rgba(47, 51, 45, 0.10);
  transform: translateY(102%);
  transition: transform 0.38s cubic-bezier(0.34, 1.10, 0.64, 1);
  will-change: transform;
}
.cookie-bar.is-visible { transform: translateY(0); }

.cookie-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px clamp(18px, 4vw, 58px);
}

.cookie-bar-text { flex: 1; min-width: 0; }
.cookie-bar-text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #3a3f38; }
.cookie-bar-text p + p { margin-top: 4px; }
.cookie-bar-text strong { font-size: 14px; color: var(--ink); }
.cookie-bar-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-text a:hover { color: var(--accent-hover); }

.cookie-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Cookie buttons */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.cookie-btn-accept {
  background: #d85479;
  color: #fff;
  border-color: #d85479;
}
.cookie-btn-accept:hover { background: #c4435f; border-color: #c4435f; box-shadow: 0 2px 8px rgba(216,84,121,0.28); }
.cookie-btn-reject {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-btn-reject:hover { background: var(--accent-soft); border-color: var(--accent-hover); color: var(--accent-hover); }
.cookie-btn-settings {
  background: transparent;
  color: #6b7468;
  border-color: transparent;
  padding: 0 10px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btn-settings:hover { color: var(--accent); background: transparent; }

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 0 0;
}
.cookie-modal[hidden] { display: none; }

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 28, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
  border: none;
  cursor: default;
}
.cookie-modal.is-visible .cookie-modal-backdrop { opacity: 1; }

.cookie-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 16px 16px 0 0;
  padding: 32px 36px 28px;
  box-shadow: 0 -8px 48px rgba(47, 51, 45, 0.16);
  transform: translateY(100%);
  transition: transform 0.30s cubic-bezier(0.34, 1.06, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cookie-modal.is-visible .cookie-modal-box { transform: translateY(0); }

.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  width: 32px; height: 32px;
  border: none;
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--accent-hover);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cookie-modal-close:hover { background: var(--line); }

.cookie-modal-box h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.cookie-modal-lead {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #5a5f58;
  line-height: 1.55;
}

/* Cookie category rows */
.cookie-category {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.cookie-category:last-of-type { border-bottom: 1px solid var(--line); }

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-category-header > div { flex: 1; }
.cookie-category-header strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.cookie-category-desc {
  display: block;
  font-size: 12.5px;
  color: #7a7f78;
  line-height: 1.5;
}

.cookie-toggle-locked {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block;
  width: 44px; height: 24px;
  background: #d1d8ce;
  border-radius: 12px;
  transition: background 0.2s;
  position: relative;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.20);
  transition: transform 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.cookie-toggle input:checked + .cookie-toggle-track { background: #d85479; }
.cookie-toggle input:checked + .cookie-toggle-track::after { transform: translateX(20px); }
.cookie-toggle input:focus-visible + .cookie-toggle-track { outline: 2px solid #d85479; outline-offset: 2px; }

.cookie-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Re-open privacy button */
.cookie-reopen {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 800;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  color: var(--accent);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(47,51,45,0.10);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
}
.cookie-reopen[hidden] { display: none; }
.cookie-reopen.is-visible { opacity: 1; transform: scale(1); }
.cookie-reopen:hover { background: var(--accent-soft); border-color: var(--accent); }
.cookie-reopen svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 700px) {
  .cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-bar-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cookie-btn-accept,
  .cookie-btn-reject { flex: 1; }
  .cookie-btn-settings { order: -1; flex: 100%; text-align: left; padding: 0 4px; }
  .cookie-modal-box { padding: 24px 20px 20px; border-radius: 12px 12px 0 0; }
  .cookie-modal-footer { flex-direction: column-reverse; }
  .cookie-modal-footer .cookie-btn { width: 100%; }
}

/* ── NAV OVERLAY ────────────────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 17;
  background: rgba(30, 35, 28, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.is-open { display: block; }

/* ── MOBILE SEARCH BUTTON (hidden on desktop) ───────────────── */
@media (min-width: 641px) {
  .mobile-search-btn { display: none; }
}

/* ── SEARCH OVERLAY ─────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 14px 0;
  background: rgba(30, 35, 28, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.search-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.search-overlay-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 35, 28, 0.22);
}
.search-overlay-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 15px 18px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  -webkit-appearance: none;
}
.search-overlay-input::placeholder { color: var(--muted); }
.search-overlay-submit {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-overlay-submit:hover { background: var(--accent-hover); }
.search-overlay-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-overlay-close:hover { background: rgba(255, 255, 255, 0.26); }

/* ── MOBILE POPRAWKI ────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Hero: zmniejsz email-eyebrow */
  .hero .eyebrow {
    font-size: 17px;
    letter-spacing: 0.04em;
    animation: none;
    background: linear-gradient(90deg, #b53d62, #d85479);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Hero: logo mniejszy margines */
  .hero-logo {
    width: min(340px, 82vw);
    margin-bottom: 14px;
  }

  /* Hero: trochę mniejszy nagłówek */
  .hero h1, .page-hero h1 { font-size: 32px; }

  /* Hero: mniejszy tekst opisu */
  .hero p { font-size: 16px; }

  /* Hero: zmniejsz pionowe paddingi sekcji */
  .hero {
    padding-top: 18px;
    padding-bottom: 28px;
  }

  /* Karty działów: mniejszy padding na wąskich ekranach */
  .department-card.primary-department {
    padding: 36px 36px 30px;
    min-height: 300px;
  }

  /* Karty działów: tekst */
  .department-card.primary-department strong { font-size: 28px; }
  .department-card.primary-department small {
    font-size: 13px;
    max-width: 240px;
  }

  /* Przyciski w hero: pełna szerokość na bardzo małych */
  .hero-info-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 4px;
  }
  .hero-info-actions .button { width: 100%; justify-content: center; }

  /* Mapa kontaktowa: responsywna wysokość */
  .home-contact-map iframe {
    height: 260px;
  }

  /* FAB notebook: mniejszy na mobile */
  .fab-notebook-circle { width: 56px; height: 56px; }
  .fab-notebook svg { width: 26px; height: 26px; }
  .fab-notebook { right: 14px; top: 80px; }
  .fab-notebook-label { display: none; }
}
