/* Product, cart and checkout: the same four clear service links. */
.toteprint-service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.toteprint-service-card {
  box-sizing: border-box;
  position: relative;
  min-height: 126px;
  padding: 18px 50px 18px 18px;
  border: 1px solid #dbe3dd;
  border-radius: 20px;
  background: linear-gradient(140deg, #fff 5%, #f2f7ed 100%);
  color: #111316;
  box-shadow: 0 9px 26px rgba(17, 19, 22, .055);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.toteprint-service-card:hover,
.toteprint-service-card:focus-visible {
  transform: translateY(-3px);
  border-color: #64a34a;
  color: #111316;
  box-shadow: 0 16px 32px rgba(17, 19, 22, .12);
  outline: none;
}
.toteprint-service-card:focus-visible { outline: 3px solid #6da8dc; outline-offset: 2px; }
.toteprint-service-card::after {
  content: "↗";
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #c9ff45;
  color: #111316;
  font: 800 18px/1 Manrope, Arial, sans-serif;
}
.toteprint-service-icon { margin-bottom: 12px; }
.toteprint-service-title { font-size: 15px; line-height: 1.28; }
.toteprint-service-text { margin-top: 7px; font-size: 12px; line-height: 1.45; }

/* Catalogue: visible only on product pages with a bag/backpack category. */
.tp-catalog-card {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
  padding: 24px;
  border: 1px solid #d6e0ce;
  border-radius: 22px;
  background: linear-gradient(115deg, #f7fbf2 0%, #fff 72%);
  box-shadow: 0 12px 32px rgba(17, 19, 22, .06);
  color: #111316;
}
.tp-catalog-card__eyebrow { color: #ad282c; font: 850 11px/1.2 Manrope, Arial, sans-serif; letter-spacing: .11em; }
.tp-catalog-card h2 { margin: 0 0 8px; color: #111316; font: 800 clamp(21px, 2vw, 26px)/1.1 "Space Grotesk", Manrope, Arial, sans-serif; }
.tp-catalog-card p { margin: 0 0 8px; color: #4e5655; font: 500 13px/1.6 Manrope, Arial, sans-serif; }
.tp-catalog-card__meta { color: #68736a; font: 700 11px/1.4 Manrope, Arial, sans-serif; }
.tp-catalog-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: #c9ff45;
  color: #111316 !important;
  font: 850 13px/1.2 Manrope, Arial, sans-serif;
  text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease;
}
.tp-catalog-card__button:hover { background: #b7ed30; transform: translateY(-2px); }
.tp-catalog-card__button:focus-visible { outline: 3px solid #2e79be; outline-offset: 3px; }
.tp-catalog-card__button span { font-size: 18px; line-height: 1; }

/* Make the two linked information pages visually consistent without changing policy text. */
body.page-id-376, body.page-id-1669 { background: #f6f7f3; }
body.page-id-376 main[style*="max-width:1120px"],
body.page-id-1669 main[style*="max-width:1120px"] { max-width: 1040px !important; margin: 62px auto 86px !important; font-family: Manrope, Arial, sans-serif !important; }
body.page-id-376 main > article,
body.page-id-1669 main > article {
  box-sizing: border-box;
  padding: clamp(28px, 5vw, 58px) !important;
  border: 1px solid #e2e7df !important;
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: 0 18px 54px rgba(17, 19, 22, .07) !important;
}
body.page-id-376 main > article::before,
body.page-id-1669 main > article::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #c9ff45;
}
body.page-id-376 main > article h1,
body.page-id-1669 main > article h1 { margin: 0 0 20px !important; color: #111316 !important; font: 800 clamp(29px, 4vw, 44px)/1.1 "Space Grotesk", Manrope, Arial, sans-serif !important; letter-spacing: -.035em; }
body.page-id-376 main > article h2,
body.page-id-1669 main > article h3 { scroll-margin-top: 100px; }
body.page-id-376 main > article h2 { margin: 34px 0 12px !important; padding-top: 23px; border-top: 1px solid #e5e9e4; color: #111316; font: 800 clamp(21px, 2.5vw, 25px)/1.2 "Space Grotesk", Manrope, Arial, sans-serif; }
body.page-id-376 main > article p,
body.page-id-1669 main > article p { max-width: 78ch; color: #4d5656; line-height: 1.78; }
body.page-id-376 main > article a:not(.tp-product-return),
body.page-id-1669 main > article a:not(.tp-product-return) { color: #b72e35; font-weight: 750; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .toteprint-service-cards { grid-template-columns: 1fr; }
  .toteprint-service-card { min-height: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 16px 50px 16px 16px; }
  .toteprint-service-icon { grid-row: span 2; margin: 0; }
  .tp-catalog-card { padding: 20px; }
  .tp-catalog-card__button { width: 100%; box-sizing: border-box; }
  body.page-id-376 main[style*="max-width:1120px"], body.page-id-1669 main[style*="max-width:1120px"] { margin: 36px auto 60px !important; padding: 0 16px !important; }
}

/* Legal navigation: readable on desktop and mobile, without changing policy wording. */
body .tp-legal-footer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: clamp(28px, 4vw, 54px) max(24px, calc((100vw - 1180px) / 2)) 88px;
  border-top: 4px solid #c9ff45;
  background: #111316;
  text-align: left;
}
body .tp-legal-footer::before {
  content: "INFORMACJE I ZASADY TOTEPRINT";
  grid-column: 1 / -1;
  display: block;
  margin: 0 0 5px;
  color: #c9ff45;
  font: 850 12px/1.4 Manrope, Arial, sans-serif;
  letter-spacing: .13em;
}
body .tp-legal-footer a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 70px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #41484a;
  border-radius: 15px;
  background: #1b2021;
  color: #f5f7f4;
  font: 700 14px/1.4 Manrope, Arial, sans-serif;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
body .tp-legal-footer a::after {
  content: "↗";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #c9ff45;
  color: #111316;
  font: 800 18px/1 Manrope, Arial, sans-serif;
}
body .tp-legal-footer a:hover,
body .tp-legal-footer a:focus-visible {
  transform: translateY(-2px);
  border-color: #c9ff45;
  background: #252d2b;
  color: #fff;
  text-decoration: none;
}
body .tp-legal-footer a:focus-visible { outline: 3px solid #8bc2fa; outline-offset: 3px; }

/* Keep cookie settings accessible, but separate from the links and legible. */
body .tp-cookie-preferences:not(.tp-kreator-formatki-page *) {
  left: auto !important;
  right: 18px !important;
  bottom: 18px !important;
  min-height: 42px !important;
  padding: 10px 15px !important;
  border-color: #576457 !important;
  background: #fff !important;
  color: #111316 !important;
  font-size: 13px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22) !important;
}
body .tp-cookie-preferences:focus-visible { outline: 3px solid #8bc2fa !important; outline-offset: 3px !important; }

/* Shared typography for the six pages linked from the legal footer. */
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) { background: #f6f7f3; }
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main[style*="max-width:1120px"] {
  max-width: 1040px !important;
  margin: 54px auto 86px !important;
  font-family: Manrope, Arial, sans-serif !important;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article {
  box-sizing: border-box;
  padding: clamp(26px, 5vw, 58px) !important;
  border: 1px solid #e2e7df !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 18px 54px rgba(17, 19, 22, .07) !important;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #c9ff45;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article h1 {
  margin: 0 0 18px !important;
  color: #111316 !important;
  font: 800 clamp(29px, 4vw, 44px)/1.12 "Space Grotesk", Manrope, Arial, sans-serif !important;
  letter-spacing: -.035em;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article h2 {
  scroll-margin-top: 100px;
  margin: 36px 0 12px !important;
  padding-top: 22px;
  border-top: 1px solid #e5e9e4;
  color: #111316;
  font: 800 clamp(21px, 2.5vw, 26px)/1.25 "Space Grotesk", Manrope, Arial, sans-serif;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article p,
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article li {
  max-width: 78ch;
  color: #46504c;
  font-size: 15px;
  line-height: 1.75;
}
body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article a:not(.tp-product-return) {
  color: #a52730;
  font-weight: 750;
  text-underline-offset: 3px;
}
body .tp-legal-notice {
  max-width: 78ch;
  margin: 20px 0 28px;
  padding: 16px 20px;
  border-left: 4px solid #c9ff45;
  border-radius: 0 12px 12px 0;
  background: #f4f8ee;
  color: #3d4842;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  body .tp-legal-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 30px 18px 90px; }
  body .tp-legal-footer a { min-height: 74px; }
}
@media (max-width: 540px) {
  body .tp-legal-footer { grid-template-columns: 1fr; gap: 9px; padding: 26px 16px 88px; }
  body .tp-legal-footer a { min-height: 58px; padding: 13px 15px; }
  body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main[style*="max-width:1120px"] { margin: 28px auto 60px !important; padding: 0 16px !important; }
  body:is(.page-id-96, .page-id-93, .page-id-375, .page-id-637, .page-id-636, .page-id-376) main > article { border-radius: 18px !important; }
}
