/* =========================================================
   JITZ. — cohesive theme rebuild
   ========================================================= */

:root {
  --jitz-bg: #f7f5f1;
  --jitz-bg-soft: #efece6;
  --jitz-surface: #ffffff;
  --jitz-text: #111111;
  --jitz-muted: #6a6560;
  --jitz-border: #e4e0d8;
  --jitz-accent: #3f4f43;
  --jitz-max: 1240px;
  --jitz-content: 1240px;
  --jitz-pad: 24px;
  --jitz-section: 104px;
  --jitz-header: 80px;
  --jitz-topbar: 34px;
  --jitz-offset: calc(var(--jitz-topbar) + var(--jitz-header));
  --jitz-header-gap: 40px;
  --jitz-font: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
  --jitz-ease: 220ms ease;
  --jitz-gap: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html, body { overflow-y: auto !important; }

body,
body#index,
body#category,
body#product,
body#cms,
body#checkout,
body#cart,
body#authentication,
body#new-products,
body#prices-drop,
body#best-sales {
  background: var(--jitz-bg) !important;
  color: var(--jitz-text) !important;
  font-family: var(--jitz-font) !important;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--jitz-offset) + var(--jitz-header-gap)) !important;
  margin: 0 !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--jitz-font) !important;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--jitz-text);
  margin: 0;
}

a { color: var(--jitz-text); text-decoration: none; }
a:hover,
a:focus,
a:active {
  color: var(--jitz-text) !important;
  opacity: 0.55;
}

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

#wrapper,
#content-wrapper,
#main,
.page-content,
main {
  background: transparent !important;
  overflow: visible !important;
  max-width: none !important;
}

#wrapper { padding-top: 0 !important; }
body#index #wrapper { padding-top: 0 !important; }

/* Homepage: break out of Classic .container so shopnav + sections share one rail */
body#index #wrapper > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body#index #wrapper > .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block !important;
  width: 100% !important;
}

body#index #content-wrapper,
body#index #content-wrapper.col-xs-12,
body#index #main,
body#index #content.page-home {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  float: none !important;
  flex: none !important;
}

#wrapper .breadcrumb,
body#index #wrapper .breadcrumb,
body#product #wrapper .breadcrumb {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding-left: var(--jitz-pad);
  padding-right: var(--jitz-pad);
}

.jitz-container {
  width: 100%;
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 var(--jitz-pad);
}

/* Hide noise / broken Classic modules */
.header-banner,
#carousel,
.carousel,
body#index .banner,
body#index a.banner,
body#index #custom-text,
.blockreassurance,
#block-reassurance,
.block-reassurance,
.popover,
.tooltip,
#product-modal,
.modal-backdrop,
.scroll-box-arrows,
.product-cover .layer,
.js-qv-mask .slick-arrow,
.product-flags,
span.product-flags,
.product-flag,
.online-only,
#product .tabs .nav-tabs,
#product .product-additional-info,
.social-sharing,
.product-quantities,
.product-minimal-quantity,
.product-availability,
.product-reference,
.product-features,
#product-details .js-product-reference {
  display: none !important;
}

.card,
.form-control,
.btn,
.form-control:focus {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.material-icons,
i.material-icons,
span.material-icons {
  font-family: "Material Icons" !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  font-feature-settings: "liga" !important;
}

/* ---------- buttons ---------- */

.jitz-btn,
.btn,
.btn-primary,
.add-to-cart,
button.add-to-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--jitz-ease), opacity var(--jitz-ease);
  opacity: 1 !important;
  cursor: pointer;
}

.jitz-btn:hover,
.btn:hover,
.btn-primary:hover,
.add-to-cart:hover {
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
  opacity: 1 !important;
}

.jitz-btn--ghost {
  background: transparent !important;
  color: #111 !important;
  border-color: var(--jitz-border) !important;
}

.jitz-btn--ghost:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

/* ---------- header ---------- */

#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

#header .header-nav,
#header .header-top {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}

#header .header-nav .container,
#header .header-top .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

.jitz-topbar {
  height: var(--jitz-topbar);
  background: #000;
  color: #fff;
  overflow: hidden;
}

.jitz-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 var(--jitz-pad);
}

.jitz-topbar__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.jitz-topbar__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity var(--jitz-ease);
}

.jitz-topbar__item.is-active { opacity: 1; }

.jitz-header {
  height: var(--jitz-header);
  background: #fff;
  border-bottom: 1px solid var(--jitz-border);
}

.jitz-header__inner {
  height: var(--jitz-header);
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 var(--jitz-pad);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.jitz-header__logo a,
.jitz-header__logo a:hover,
.jitz-header__logo a:focus,
.jitz-header__logo a:active,
.jitz-header__logo h1,
.jitz-header__logo h1 a,
.jitz-header__logo .logo-text,
.jitz-header__mobile-logo,
.jitz-header__mobile-logo:hover,
.jitz-checkout-header__logo,
.jitz-checkout-header__logo:hover {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111 !important;
  line-height: 1;
  opacity: 1 !important;
}

.jitz-header__logo a:hover .logo-text,
.jitz-header__logo a:hover {
  opacity: 0.45 !important;
  color: #111 !important;
}

.jitz-header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jitz-header__nav #search_widget { display: none !important; }

.jitz-header__nav .top-menu,
.jitz-header__nav #_desktop_top_menu,
.jitz-header__nav .menu,
.jitz-header__nav ul {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.jitz-header__nav .top-menu > li > a,
.jitz-header__nav .menu > li > a,
.jitz-header__nav .dropdown-item,
.jitz-header__nav .top-menu > li > a:hover,
.jitz-header__nav .menu > li > a:hover,
.jitz-header__actions a,
.jitz-header__actions a:hover {
  display: inline-block;
  padding: 8px 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111 !important;
  background: transparent !important;
  border: 0 !important;
  opacity: 1 !important;
}

.jitz-header__nav .top-menu > li > a:hover,
.jitz-header__nav .menu > li > a:hover {
  opacity: 0.45 !important;
}

.jitz-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.jitz-header__actions #_desktop_language_selector,
.jitz-header__actions #_desktop_currency_selector,
.jitz-header__actions .language-selector,
.jitz-header__actions .currency-selector,
.jitz-header__actions .contact-link {
  display: none !important;
}

.jitz-header__actions #_desktop_user_info,
.jitz-header__actions #_desktop_cart,
.jitz-header__actions .user-info,
.jitz-header__actions .blockcart,
.jitz-header__actions .blockcart .header {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0;
}

.jitz-header__actions .user-info a,
.jitz-header__actions .blockcart a,
.jitz-header__actions .blockcart .header {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px;
  padding: 8px 10px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  color: #111 !important;
  text-decoration: none !important;
}

.jitz-header__actions .hidden-sm-down,
.jitz-header__actions .cart-products-count {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jitz-header__actions .material-icons {
  color: #111 !important;
  font-size: 22px;
  line-height: 1 !important;
  flex-shrink: 0;
}

.jitz-header__mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: var(--jitz-header);
  padding: 0 18px;
}

.jitz-header__mobile-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* ---------- homepage hero ---------- */

.jitz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--jitz-offset) - var(--jitz-header-gap));
  max-height: 780px;
  max-width: var(--jitz-content);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--jitz-pad);
  box-sizing: border-box;
  background: var(--jitz-bg);
  border-bottom: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  isolation: isolate;
  contain: paint;
}

.jitz-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 64px 40px 64px 0;
}

.jitz-hero__eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-hero__title {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.06;
  font-weight: 600;
}

.jitz-hero__text {
  margin: 0 0 40px;
  max-width: 380px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jitz-muted);
}

.jitz-hero__note { display: none; }

.jitz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jitz-hero__media {
  position: relative;
  overflow: hidden;
  background: var(--jitz-bg-soft);
  min-height: 0;
  height: 100%;
  max-height: 100%;
  align-self: stretch;
}

.jitz-hero__media picture,
.jitz-hero__media img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
}

.jitz-hero__media img {
  object-fit: cover;
  object-position: 55% 22%;
  image-rendering: auto;
}

/* ---------- shop nav — same rail as Essentials, 5 equal cols ---------- */

.jitz-shopnav {
  background: var(--jitz-bg);
  border: 0;
  margin-top: 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.jitz-shopnav__inner.jitz-container,
.jitz-shopnav .jitz-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  border-top: 1px solid var(--jitz-border);
  border-bottom: 1px solid var(--jitz-border);
}

.jitz-shopnav__rail {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  list-style: none !important;
  border: 0 !important;
  background: transparent !important;
  float: none !important;
}

.jitz-shopnav__rail > a {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  opacity: 1 !important;
  text-align: left !important;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  background: transparent !important;
  white-space: nowrap !important;
  overflow: visible !important;
  float: none !important;
  line-height: 1.3 !important;
  flex: 0 0 auto;
}

.jitz-shopnav__rail > a:first-child,
.jitz-shopnav__rail > a:last-child {
  text-align: left !important;
}

.jitz-shopnav__rail > a:hover,
.jitz-shopnav__rail > a:focus {
  border-bottom-color: #111 !important;
  opacity: 0.45 !important;
  color: #111 !important;
}

/* legacy list (if cached markup) */
.jitz-shopnav__list {
  display: flex !important;
  justify-content: space-between;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  list-style: none !important;
}

.jitz-categories { display: none !important; }

/* ---------- product grids / cards ---------- */

.jitz-products,
.jitz-pdp__related {
  padding: var(--jitz-section) 0;
}

.jitz-products > .jitz-container {
  max-width: var(--jitz-content);
  margin-left: auto;
  margin-right: auto;
}

.jitz-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-top: 8px;
  border-top: 0;
}

.jitz-section-head__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-section-head__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.jitz-section-head__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--jitz-muted);
}

.jitz-section-head__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid #111;
  padding-bottom: 3px;
  opacity: 1 !important;
  white-space: nowrap;
  margin-bottom: 2px;
}

.jitz-hero__note {
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--jitz-muted);
}

.jitz-why {
  border-top: 1px solid var(--jitz-border);
  border-bottom: 1px solid var(--jitz-border);
  background: var(--jitz-bg);
}

.jitz-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  max-width: var(--jitz-max);
  margin: 0 auto;
}

.jitz-why__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(32px, 6vw, 96px);
  background: var(--jitz-bg-soft);
}

.jitz-why__eyebrow,
.jitz-brand__eyebrow,
.jitz-newsletter__eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-why__title {
  margin: 0 0 28px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.jitz-why__copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jitz-muted);
  max-width: 400px;
}

.jitz-why__copy p:last-child { margin-bottom: 0; }

.jitz-why__more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jitz-why__more:hover {
  opacity: 0.45;
}

.jitz-why__media {
  overflow: hidden;
  background: var(--jitz-bg-soft);
  min-height: 400px;
}

.jitz-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.jitz-lines {
  padding: 64px 0;
  border-bottom: 1px solid var(--jitz-border);
}

.jitz-lines__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 56px;
}

.jitz-lines__label {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}

.jitz-lines__text {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--jitz-muted);
}

.jitz-pillars,
.jitz-categories { display: none !important; }

.jitz-brand__text--quiet {
  color: var(--jitz-muted);
  font-size: 14px;
}

.jitz-brand__media img {
  object-fit: cover;
  object-position: center 15%;
  filter: none;
}

.jitz-products .featured-products > h2,
.jitz-products .products-section-title,
.jitz-products .all-product-link,
.jitz-featured > h2,
.jitz-featured .all-product-link {
  display: none !important;
}

.jitz-products .products,
.jitz-products .products.row,
.jitz-featured__grid,
.jitz-featured__grid.products,
.jitz-product-grid,
#products .products,
#products .jitz-product-grid,
.featured-products .products,
.product-accessories .products,
.products.row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
}

.jitz-products .product,
.jitz-products .js-product,
.jitz-products [class*="col-"],
.jitz-featured__grid .product,
.jitz-featured__grid .js-product,
.jitz-featured__grid [class*="col-"],
.jitz-product-grid .product,
.jitz-product-grid .js-product,
.jitz-product-grid [class*="col-"],
.featured-products .product,
.featured-products .js-product,
#products .product,
#products .js-product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.jitz-card,
.jitz-product .jitz-card,
article.jitz-card {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.jitz-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--jitz-bg-soft);
  margin: 0 0 16px;
}

.jitz-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.jitz-card__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: opacity var(--jitz-ease), transform 400ms ease;
}

.jitz-card__img--a { position: relative; z-index: 1; opacity: 1 !important; }
.jitz-card__img--b {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0 !important;
  pointer-events: none;
}

.jitz-card--hover:hover .jitz-card__img--a {
  opacity: 0 !important;
  transform: scale(1.02);
}

.jitz-card--hover:hover .jitz-card__img--b {
  opacity: 1 !important;
  transform: scale(1.02);
}

.jitz-card__badge,
.jitz-gallery__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.jitz-card__info {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.jitz-card__line {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jitz-muted);
}

.jitz-card__name {
  margin: 0 0 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35 !important;
}

.jitz-card__name a {
  color: #111 !important;
  opacity: 1 !important;
}

.jitz-card__price {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* ---------- brand / newsletter / footer ---------- */

.jitz-brand {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 560px;
  border-bottom: 1px solid var(--jitz-border);
}

.jitz-brand__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(28px, 5vw, 72px);
  background: var(--jitz-bg);
}

.jitz-brand__title {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.jitz-brand__text {
  margin: 0 0 14px;
  max-width: 340px;
  color: var(--jitz-text);
  font-size: 16px;
  line-height: 1.55;
}

.jitz-brand__media {
  overflow: hidden;
  background: var(--jitz-bg-soft);
  min-height: 420px;
}

.jitz-newsletter {
  padding: var(--jitz-section) 0;
  border-top: 1px solid var(--jitz-border);
  background: var(--jitz-bg-soft);
}

.jitz-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 40px 72px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}

.jitz-newsletter__copy {
  max-width: 420px;
}

.jitz-newsletter__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.jitz-newsletter__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--jitz-muted);
  max-width: 340px;
}

.jitz-newsletter__form-wrap {
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

.jitz-nl,
.jitz-nl.block_newsletter,
.jitz-newsletter .block_newsletter {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jitz-nl__form,
.jitz-newsletter form {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jitz-nl__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: stretch !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 1px solid var(--jitz-border) !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
}

.jitz-nl__input,
.jitz-nl input[type="email"],
.jitz-nl input[name="email"],
.jitz-newsletter input[type="email"] {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  color: #111 !important;
  transform: none !important;
}

.jitz-nl__input::placeholder {
  color: #9a9590;
}

.jitz-nl__btn,
.jitz-nl button[type="submit"],
.jitz-nl button[name="submitNewsletter"],
.jitz-newsletter button[name="submitNewsletter"] {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 132px !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-left: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  border-radius: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  transform: none !important;
  z-index: 1;
}

.jitz-nl__btn:hover,
.jitz-nl button[type="submit"]:hover {
  background: #333 !important;
}

.jitz-nl__legal,
.jitz-newsletter .jitz-nl__legal,
.jitz-nl p,
.jitz-newsletter form > p {
  position: relative !important;
  display: block !important;
  clear: both !important;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: var(--jitz-muted) !important;
}

.jitz-nl__msg {
  margin: 0 0 14px;
  font-size: 13px;
}

.jitz-nl__msg--ok { color: var(--jitz-accent); }
.jitz-nl__msg--error { color: #8b1e1e; }

/* Kill Classic newsletter chrome */
.jitz-newsletter .block_newsletter > .row,
.jitz-newsletter .block_newsletter .row {
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.jitz-newsletter .block_newsletter .col-md-5,
.jitz-newsletter .block_newsletter .col-md-7,
.jitz-newsletter .block_newsletter .col-xs-12,
.jitz-newsletter #block-newsletter-label,
.jitz-newsletter .input-wrapper {
  display: none !important;
}

.jitz-newsletter .input-group {
  display: contents !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .jitz-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .jitz-newsletter__form-wrap {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .jitz-nl__row {
    grid-template-columns: 1fr !important;
    border: 0 !important;
    background: transparent !important;
    gap: 10px;
    overflow: visible;
  }

  .jitz-nl__input,
  .jitz-nl input[type="email"] {
    border: 1px solid var(--jitz-border) !important;
    background: #fff !important;
  }

  .jitz-nl__btn,
  .jitz-nl button[type="submit"] {
    width: 100% !important;
    border-left: 0 !important;
  }

  .jitz-shopnav__rail {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px 22px !important;
  }

  .jitz-shopnav__rail > a,
  .jitz-shopnav__rail > a:first-child,
  .jitz-shopnav__rail > a:last-child {
    width: auto !important;
    text-align: center !important;
  }

  .jitz-shopnav__list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px 22px !important;
  }

  .jitz-shopnav__list li,
  .jitz-shopnav__list li:first-child,
  .jitz-shopnav__list li:last-child {
    flex: 0 0 auto;
    text-align: center;
  }
}

/* ---------- CMS pages (O marce, FAQ, Regulamin…) ---------- */

body#cms #content-wrapper,
body#cms #main,
body#cms .page-content {
  max-width: var(--jitz-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--jitz-pad) !important;
  padding-right: var(--jitz-pad) !important;
}

body#cms .page-cms {
  max-width: 720px;
  padding: 24px 0 80px;
}

body#cms .page-cms h1,
body#cms .page-cms h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 20px;
}

body#cms .page-cms h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 28px 0 10px;
}

body#cms .page-cms p,
body#cms .page-cms li {
  color: #444;
  font-size: 15px;
  line-height: 1.65;
}

body#cms .page-cms ul {
  padding-left: 1.2em;
  margin: 0 0 16px;
}

body#cms .page-cms a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body#cms .page-cms table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 14px;
}

body#cms .page-cms th,
body#cms .page-cms td {
  border-bottom: 1px solid var(--jitz-border);
  padding: 10px 8px;
  text-align: left;
}

body#cms .page-cms th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.jitz-footer {
  background: #111;
  color: #fff;
  padding: 64px 0 0;
}

.jitz-footer a { color: rgba(255,255,255,0.65); opacity: 1; }
.jitz-footer a:hover { color: #fff; }

.jitz-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 32px;
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.jitz-footer__brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.jitz-footer__tagline {
  margin: 0 0 20px;
  max-width: 200px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

.jitz-footer__social { display: flex; gap: 14px; }
.jitz-footer__social a {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jitz-footer__col-title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.jitz-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.jitz-footer__links a { font-size: 13px; }

.jitz-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

#footer,
.footer-container {
  background: #111 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#footer .container { max-width: none; padding: 0; }

/* =========================================================
   PRODUCT PAGE
   ========================================================= */

body#product #wrapper {
  padding-top: 0 !important;
}

body#product #content-wrapper,
body#product #main {
  padding: 0 !important;
  margin: 0 !important;
}

.jitz-pdp {
  width: 100%;
  max-width: var(--jitz-max);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.jitz-pdp__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr) !important;
  gap: 48px !important;
  align-items: start;
  margin: 0 !important;
  width: 100% !important;
}

.jitz-pdp__grid.row,
.jitz-pdp__grid.product-container {
  display: grid !important;
  flex-wrap: unset !important;
}

.jitz-pdp__gallery,
.jitz-pdp__info {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.jitz-pdp__gallery .page-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Gallery: cover on top, thumbs flush below */
.jitz-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.jitz-gallery__cover,
.jitz-gallery .product-cover {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--jitz-bg-soft);
  margin: 0 !important;
}

.jitz-gallery__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.jitz-gallery__zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--jitz-border);
  color: #111;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--jitz-ease);
}

.jitz-gallery__zoom-hint .material-icons {
  font-size: 20px;
  color: #111 !important;
}

.jitz-gallery__cover:hover .jitz-gallery__zoom-hint {
  opacity: 1;
}

.jitz-gallery__img,
.jitz-gallery .product-cover img,
.jitz-gallery .js-qv-product-cover {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
}

.jitz-gallery__thumbs,
.jitz-gallery .product-images,
.jitz-gallery ul.js-qv-product-images {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  position: relative !important;
  left: auto !important;
  transform: none !important;
}

.jitz-gallery__thumb,
.jitz-gallery .thumb-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
}

.jitz-gallery__thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: var(--jitz-bg-soft);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.jitz-gallery__thumb-btn:has(.selected),
.jitz-gallery__thumb-btn:has(.js-thumb-selected) {
  border-color: #111;
}

.jitz-gallery .thumb,
.jitz-gallery .js-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  display: block !important;
}

.jitz-gallery .js-qv-mask,
.jitz-gallery .mask {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 !important;
  white-space: normal !important;
}

/* Custom lightbox (replaces broken Classic #product-modal) */
body.jitz-lightbox-open {
  overflow: hidden !important;
}

.jitz-lightbox[hidden] {
  display: none !important;
}

.jitz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}

.jitz-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.88);
}

.jitz-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(880px, 94vw);
  max-height: 90vh;
  width: min(880px, 94vw);
  height: min(880px, 90vh);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.jitz-lightbox__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111;
}

.jitz-lightbox__close,
.jitz-lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jitz-lightbox__close {
  top: 16px;
  right: 16px;
}

.jitz-lightbox__nav--prev { left: 16px; }
.jitz-lightbox__nav--next { right: 16px; }

@media (max-width: 767px) {
  .jitz-lightbox {
    padding: 56px 12px 12px;
  }
  .jitz-lightbox__nav--prev { left: 8px; }
  .jitz-lightbox__nav--next { right: 8px; }
}

/* Product info column */
.jitz-pdp__eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-pdp__title,
.jitz-pdp__info h1.h1 {
  margin: 0 0 14px !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.1 !important;
}

.jitz-pdp__price {
  margin: 0 0 20px;
}

.jitz-pdp__price .current-price,
.jitz-pdp__price .price,
.jitz-pdp__price .product-price,
.jitz-pdp__price .current-price-value {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #111 !important;
}

.jitz-pdp__price .has-discount,
.jitz-pdp__price .regular-price,
.jitz-pdp__price .tax-shipping-delivery-label,
.jitz-pdp__price .product-discount {
  color: var(--jitz-muted) !important;
  font-size: 12px !important;
}

.jitz-pdp__short,
.jitz-pdp__short p {
  margin: 0 0 28px;
  color: var(--jitz-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 420px;
}

.jitz-pdp__variants {
  margin: 0 0 28px;
}

.jitz-pdp__variants .product-variants,
.jitz-variants {
  margin: 0 !important;
  padding: 0 !important;
}

.jitz-variants__item,
.jitz-pdp__variants .product-variants-item {
  clear: both !important;
  float: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  width: 100% !important;
}

.jitz-variants__label,
.jitz-pdp__variants .control-label,
.jitz-pdp__variants label {
  display: block !important;
  float: none !important;
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}

.jitz-variants__select,
.jitz-pdp__variants select,
.jitz-pdp__variants .form-control,
.jitz-pdp__variants .form-control-select {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 200px !important;
  min-height: 48px !important;
  height: 48px !important;
  border: 1px solid var(--jitz-border) !important;
  background: #fff !important;
  padding: 0 36px 0 14px !important;
  font-size: 14px !important;
  color: #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}

.jitz-variants__sizes {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.jitz-variants__size {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jitz-variants__size input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none;
}

.jitz-variants__size-face {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--jitz-border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.jitz-variants__size.is-selected .jitz-variants__size-face,
.jitz-variants__size input:checked + .jitz-variants__size-face {
  border-color: #111;
  background: #111;
  color: #fff;
}

.jitz-pdp__actions {
  margin-top: 4px;
}

/* ---- Add to cart: kill TouchSpin, clean row ---- */
.jitz-pdp__cart,
.jitz-atc {
  margin: 0 !important;
  padding: 0 !important;
}

.jitz-pdp__cart .product-add-to-cart,
.jitz-atc.product-add-to-cart {
  margin: 0 !important;
  padding: 0 !important;
}

.jitz-atc__label,
.jitz-pdp__cart .control-label {
  display: block !important;
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}

.jitz-atc__row,
.jitz-pdp__cart .product-quantity {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 480px !important;
  float: none !important;
}

.jitz-atc__qty,
.jitz-pdp__cart .qty {
  position: relative !important;
  flex: 0 0 72px !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--jitz-border) !important;
  background: #fff !important;
  display: block !important;
  float: none !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.jitz-atc__input,
.jitz-pdp__cart #quantity_wanted,
.jitz-pdp__cart input[name="qty"],
.jitz-pdp__cart .qty input {
  position: relative !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #111 !important;
  border-radius: 0 !important;
  -moz-appearance: textfield !important;
}

.jitz-atc__input::-webkit-outer-spin-button,
.jitz-atc__input::-webkit-inner-spin-button,
.jitz-pdp__cart input::-webkit-outer-spin-button,
.jitz-pdp__cart input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.jitz-atc__add,
.jitz-pdp__cart .add {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
}

.jitz-atc__btn,
.jitz-pdp__cart .add .btn,
.jitz-pdp__cart .add-to-cart,
.jitz-pdp__cart button.add-to-cart {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 20px !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.jitz-pdp__cart .add-to-cart .material-icons,
.jitz-atc__btn .material-icons {
  display: none !important;
}

/* Destroy Bootstrap TouchSpin chrome completely */
.jitz-pdp .bootstrap-touchspin,
.jitz-pdp__cart .bootstrap-touchspin,
.jitz-atc .bootstrap-touchspin,
body#product .bootstrap-touchspin {
  display: contents !important;
  width: auto !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jitz-pdp .bootstrap-touchspin-postfix,
.jitz-pdp .bootstrap-touchspin-prefix,
.jitz-pdp .bootstrap-touchspin .input-group-btn-vertical,
.jitz-pdp .bootstrap-touchspin-up,
.jitz-pdp .bootstrap-touchspin-down,
.jitz-pdp__cart .bootstrap-touchspin-postfix,
.jitz-pdp__cart .bootstrap-touchspin-prefix,
.jitz-pdp__cart .bootstrap-touchspin .input-group-btn-vertical,
.jitz-pdp__cart .bootstrap-touchspin-up,
.jitz-pdp__cart .bootstrap-touchspin-down,
.jitz-atc .bootstrap-touchspin-up,
.jitz-atc .bootstrap-touchspin-down,
.jitz-atc .input-group-btn-vertical,
body#product .bootstrap-touchspin-up,
body#product .bootstrap-touchspin-down,
body#product .input-group-btn-vertical {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.jitz-pdp__cart .product-availability,
.jitz-pdp__cart .product-minimal-quantity,
.jitz-pdp__cart .product-quantities,
.jitz-atc__availability,
.jitz-atc__min {
  display: none !important;
}

.jitz-pdp__desc,
.jitz-pdp__details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--jitz-border);
}

.jitz-pdp__desc-title,
.jitz-pdp__details .h6,
.jitz-pdp__details h6 {
  margin: 0 0 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jitz-pdp__desc .product-description,
.jitz-pdp__desc p {
  color: var(--jitz-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 440px;
}

.jitz-pdp__related {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--jitz-border);
}

/* Comments / footer product hooks — quiet, match page bg (no white card) */
#product-comments-list-header,
.product-comments-additional-info,
.product-comment-modal,
.modal {
  max-width: 100%;
}

#product-comments-list-header,
#product-comments-list-header .comments-nb,
#product-comments-list-footer {
  background: transparent !important;
  color: var(--jitz-text) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.comments_note,
.product-comments-list,
#product-comments-list,
.product-comment-list-item,
#empty-product-comment {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#empty-product-comment {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: var(--jitz-muted) !important;
  text-align: left !important;
  font-size: 14px !important;
}

.product-comments-list,
#product-comments-list {
  margin-top: 24px !important;
  padding: 0 !important;
}

#product-comments-list-header {
  margin-top: 40px !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid var(--jitz-border) !important;
}

/* Category / listing page */
body#category #products,
body#new-products #products {
  padding: 32px 0 64px;
}

.category-cover,
.block-category {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 24px 0 !important;
}

/* Pagination — quiet, no Classic white bar / blue active */
.pagination,
nav.pagination {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 40px 0 0 !important;
  padding: 24px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--jitz-border) !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: var(--jitz-content);
}

.pagination > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: 0 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.pagination .col-md-4 {
  font-size: 13px;
  color: var(--jitz-muted);
  letter-spacing: 0.02em;
}

.pagination .page-list,
.pagination ul.page-list {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  float: none !important;
  text-align: right !important;
}

.pagination .page-list li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  float: none !important;
}

.pagination .page-list a,
.pagination .page-list .disabled,
.pagination .page-list span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--jitz-text) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  opacity: 1 !important;
}

.pagination .page-list li.current a,
.pagination .page-list a.disabled,
.pagination .page-list .current a {
  color: var(--jitz-text) !important;
  background: transparent !important;
  border-bottom: 1px solid #111 !important;
  font-weight: 600 !important;
}

.pagination .page-list a:hover {
  opacity: 0.45 !important;
  color: var(--jitz-text) !important;
  background: transparent !important;
}

.pagination .page-list a.next,
.pagination .page-list a.previous {
  gap: 4px;
  min-width: auto;
  padding: 0 4px 0 12px !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pagination .page-list .material-icons {
  font-size: 16px !important;
  line-height: 1 !important;
}

#js-product-list .hidden-md-up.up,
.pagination + .hidden-md-up.up {
  display: none !important;
}

/* ---------- responsive ---------- */

@media (max-width: 1199px) {
  .jitz-products .products,
  .jitz-featured__grid,
  .jitz-product-grid,
  .featured-products .products,
  .products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .jitz-categories__grid { grid-template-columns: repeat(3, 1fr); }
  .jitz-footer__grid { grid-template-columns: repeat(3, 1fr); }

  .jitz-pdp__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 991px) {
  .jitz-header__inner { display: none; }
  .jitz-header__mobile { display: flex; }

  .jitz-hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .jitz-hero__content {
    order: 2;
    padding: 40px 0 48px;
  }

  .jitz-hero__media {
    order: 1;
    position: relative;
    min-height: 62vw;
    max-height: 520px;
    height: 62vw;
  }

  .jitz-why__grid {
    grid-template-columns: 1fr;
  }

  .jitz-why__content { padding: 48px 24px; }
  .jitz-why__media { min-height: 320px; order: -1; }

  .jitz-lines__list { grid-template-columns: 1fr; gap: 20px; }

  .jitz-brand { grid-template-columns: 1fr; }
  .jitz-brand__content { padding: 40px 24px; }
  .jitz-newsletter__inner { grid-template-columns: 1fr; gap: 20px; }

  .jitz-pdp {
    padding: 20px 16px 48px;
  }

  .jitz-pdp__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --jitz-section: 72px;
    --jitz-header: 60px;
  }

  .jitz-products .products,
  .jitz-featured__grid,
  .jitz-product-grid,
  .featured-products .products,
  .products.row {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 14px !important;
  }

  .jitz-section-head {
    margin-bottom: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .jitz-categories__grid { grid-template-columns: 1fr; }
  .jitz-footer__grid { grid-template-columns: 1fr 1fr; }
  .jitz-footer__bottom { flex-direction: column; }

  .jitz-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* ---------- Cart page ---------- */

body#cart #main,
body#cart .cart-grid {
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 24px;
}

body#cart .cart-grid.row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr) !important;
  gap: 40px !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

body#cart .cart-grid-body,
body#cart .cart-grid-right,
body#cart .cart-grid [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body#cart .card,
body#cart .cart-container,
body#cart .cart-summary {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body#cart .cart-container .card-block {
  padding: 0 0 24px !important;
}

body#cart .cart-container .h1,
body#cart h1.h1 {
  margin: 0 !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

body#cart .separator,
body#cart hr.separator {
  display: none !important;
}

body#cart .cart-overview,
body#cart .cart-items,
body#cart .cart-item {
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#cart .cart-item {
  border-bottom: 1px solid var(--jitz-border) !important;
  padding: 28px 0 !important;
}

.jitz-cart-line,
body#cart .product-line-grid {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) auto !important;
  gap: 20px 24px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.jitz-cart-line [class*="col-"],
body#cart .product-line-grid [class*="col-"],
body#cart .product-line-grid .row {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: contents !important;
}

.jitz-cart-line__media,
.jitz-cart-line__image,
body#cart .product-image {
  display: block;
  width: 96px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--jitz-bg-soft);
}

.jitz-cart-line__image img,
body#cart .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.jitz-cart-line__info {
  min-width: 0;
}

.jitz-cart-line__name,
body#cart .product-line-info .label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111 !important;
  opacity: 1 !important;
}

.jitz-cart-line__unit,
body#cart .product-price.h5 {
  margin: 0 0 8px !important;
  font-size: 14px !important;
  color: var(--jitz-muted);
}

.jitz-cart-line__attr,
body#cart .product-line-info {
  font-size: 13px;
  color: var(--jitz-muted);
  margin: 0 0 2px;
}

.jitz-cart-line__actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  justify-content: flex-end;
}

.jitz-cart-line__qty,
body#cart .qty {
  position: relative !important;
  width: 64px !important;
  min-width: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--jitz-border) !important;
  background: #fff !important;
  overflow: hidden !important;
  float: none !important;
}

.jitz-cart-line__qty-input,
body#cart .js-cart-line-product-quantity,
body#cart input[name="product-quantity-spin"] {
  display: block !important;
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #111 !important;
  border-radius: 0 !important;
  -moz-appearance: textfield !important;
  float: none !important;
  position: relative !important;
}

.jitz-cart-line__qty-input::-webkit-outer-spin-button,
.jitz-cart-line__qty-input::-webkit-inner-spin-button,
body#cart input::-webkit-outer-spin-button,
body#cart input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.jitz-cart-line__total {
  min-width: 88px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.jitz-cart-line__remove .remove-from-cart,
body#cart .remove-from-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #111 !important;
  opacity: 1 !important;
}

.jitz-cart-line__remove .material-icons,
body#cart .remove-from-cart .material-icons {
  font-size: 20px !important;
  color: #111 !important;
  float: none !important;
}

body#cart .cart-summary {
  border: 1px solid var(--jitz-border) !important;
  background: #fff !important;
  padding: 28px !important;
}

body#cart .cart-summary .cart-summary-line,
body#cart .cart-summary-line {
  display: flex !important;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px !important;
  font-size: 14px;
}

body#cart .cart-summary .cart-total,
body#cart .cart-summary-line.cart-total {
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--jitz-border);
  font-weight: 600;
  font-size: 15px;
}

body#cart .checkout .btn,
body#cart .cart-detailed-actions .btn,
body#cart a.btn-primary {
  width: 100% !important;
  margin-top: 8px;
}

body#cart .label[href*="index"],
body#cart a.label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111 !important;
  opacity: 1 !important;
}

/* Global TouchSpin kill — cart + product + anywhere */
.bootstrap-touchspin {
  display: contents !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bootstrap-touchspin-up,
.bootstrap-touchspin-down,
.bootstrap-touchspin .input-group-btn-vertical,
.input-group-btn-vertical {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
}

@media (max-width: 991px) {
  body#cart .cart-grid.row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .jitz-cart-line,
  body#cart .product-line-grid {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .jitz-cart-line__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* ---------- Checkout ---------- */

body#checkout {
  padding-top: 0 !important;
  background: var(--jitz-bg) !important;
}

body#checkout #header {
  position: relative !important;
  background: #fff !important;
  border-bottom: 1px solid var(--jitz-border) !important;
  box-shadow: none !important;
}

.jitz-checkout-header {
  background: #fff;
  border-bottom: 1px solid var(--jitz-border);
}

.jitz-checkout-header__inner {
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jitz-checkout-header__logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111 !important;
  opacity: 1 !important;
  line-height: 1;
}

.jitz-checkout-header__back {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111 !important;
  opacity: 1 !important;
  border-bottom: 1px solid transparent;
}

.jitz-checkout-header__back:hover {
  border-bottom-color: #111;
}

body#checkout #content,
body#checkout #wrapper .container {
  max-width: var(--jitz-content) !important;
  margin: 0 auto !important;
  padding: 40px 24px 64px !important;
}

body#checkout #content > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr) !important;
  gap: 40px !important;
  margin: 0 !important;
  width: 100% !important;
}

body#checkout .cart-grid-body,
body#checkout .cart-grid-right,
body#checkout #content [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  flex: none !important;
}

body#checkout .card,
body#checkout .checkout-step,
body#checkout .js-current-step,
body#checkout section.checkout-step {
  background: #fff !important;
  border: 1px solid var(--jitz-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 0 16px !important;
  padding: 28px !important;
}

body#checkout .checkout-step .step-title,
body#checkout h1.step-title,
body#checkout .step-title.h3 {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Kill Classic green step dots — black brand */
body#checkout .checkout-step .step-title .step-number,
body#checkout .step-number,
body#checkout .checkout-step.-current .step-title::before,
body#checkout .checkout-step.-reachable .step-title::before,
body#checkout .checkout-step .number-circle,
body#checkout span.step-number {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

body#checkout .checkout-step.-complete .step-title .step-number,
body#checkout .checkout-step.-complete .step-number {
  background: var(--jitz-accent) !important;
  border-color: var(--jitz-accent) !important;
}

body#checkout .form-control,
body#checkout input[type="text"],
body#checkout input[type="email"],
body#checkout input[type="password"],
body#checkout input[type="tel"],
body#checkout input[type="date"],
body#checkout select,
body#checkout textarea {
  border: 1px solid var(--jitz-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  min-height: 48px !important;
  color: #111 !important;
}

body#checkout .form-control:focus,
body#checkout input:focus,
body#checkout select:focus {
  border-color: #111 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body#checkout .custom-radio input[type="radio"]:checked + span,
body#checkout .custom-radio input[type="radio"] + span {
  border-color: #111 !important;
}

body#checkout .custom-radio input[type="radio"]:checked + span::after {
  background: #111 !important;
}

body#checkout .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
body#checkout .custom-checkbox input[type="checkbox"]:checked + span {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

body#checkout .btn,
body#checkout .btn-primary,
body#checkout button[type="submit"],
body#checkout .continue,
body#checkout #customer-form .form-footer button {
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 48px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

body#checkout .btn:hover,
body#checkout .btn-primary:hover {
  background: #333 !important;
  border-color: #333 !important;
}

body#checkout .btn-secondary,
body#checkout .btn-tertiary,
body#checkout .forgot-password,
body#checkout a[data-link-action="show-login-form"],
body#checkout a[data-link-action="show-password"] {
  background: transparent !important;
  color: #111 !important;
  border-color: var(--jitz-border) !important;
}

body#checkout .nav-item .nav-link,
body#checkout .nav-item .nav-separator {
  color: #111 !important;
  opacity: 1 !important;
}

body#checkout .nav-item .nav-link.active {
  font-weight: 600;
  border-bottom: 1px solid #111 !important;
}

body#checkout .cart-summary,
body#checkout #js-checkout-summary {
  background: #fff !important;
  border: 1px solid var(--jitz-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 24px !important;
}

body#checkout .cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
  color: #111;
}

body#checkout .cart-summary-line.cart-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--jitz-border);
  font-weight: 600;
}

.jitz-checkout-footer {
  max-width: var(--jitz-content);
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--jitz-border);
}

.jitz-checkout-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--jitz-muted);
  letter-spacing: 0.06em;
}

.jitz-checkout-footer__tos {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--jitz-muted);
}

/* Hide leftover Classic checkout logo img if any */
body#checkout #_desktop_logo img,
body#checkout .header-nav img.logo {
  display: none !important;
}

@media (max-width: 991px) {
  body#checkout #content > .row {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   JITZ. magazine — Społeczność / Dziennik
   ========================================================= */

body#cms:has(.jitz-mag) #wrapper > .container,
body#cms:has(.jitz-mag) #content-wrapper,
body#cms:has(.jitz-mag) #main,
body#cms:has(.jitz-mag) .page-content,
body#cms .page-cms-9,
body#cms .page-cms-10,
body#cms .page-cms-11,
body#cms .page-cms-12,
body#cms .page-cms-13,
body#cms .page-cms-14,
body#cms .page-cms-15,
body#cms .page-cms-16 {
  max-width: none !important;
}

body#cms .page-cms.jitz-mag,
body#cms .jitz-mag.page-cms {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body#cms:has(.jitz-mag) #wrapper > .container,
body#cms:has(.jitz-mag) #content-wrapper,
body#cms:has(.jitz-mag) #main,
body#cms:has(.jitz-mag) .page-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body#cms:has(.jitz-mag) #wrapper > .container > .row {
  margin: 0 !important;
  display: block !important;
}

.jitz-mag {
  max-width: none !important;
  padding: 0 !important;
  background: var(--jitz-bg);
}

.jitz-mag-hero--full {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  overflow: hidden;
  background: #111;
}

.jitz-mag-hero--full .jitz-mag-hero__media {
  position: absolute;
  inset: 0;
}

.jitz-mag-hero--full .jitz-mag-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.72;
}

.jitz-mag-hero--full .jitz-mag-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 64px;
  color: #fff;
}

.jitz-mag-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.jitz-mag-hero__title {
  margin: 0 0 20px;
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 14ch;
  color: inherit;
}

.jitz-mag-hero__lead {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 28ch;
  opacity: 0.88;
}

.jitz-mag-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(70vh, 640px);
  border-bottom: 1px solid var(--jitz-border);
  overflow: hidden;
}

.jitz-mag-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
}

.jitz-mag-hero--split .jitz-mag-hero__title {
  max-width: none;
  color: var(--jitz-text);
}

.jitz-mag-hero--split .jitz-mag-hero__eyebrow { color: var(--jitz-accent); opacity: 1; }
.jitz-mag-hero--split .jitz-mag-hero__lead { color: var(--jitz-muted); opacity: 1; }

.jitz-mag-hero__side {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--jitz-bg-soft);
}

.jitz-mag-hero__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.jitz-mag-section {
  padding: 96px 0;
}

.jitz-mag-section--soft { background: var(--jitz-bg-soft); }
.jitz-mag-section--flush { padding-bottom: 48px; }

.jitz-mag-section__head { margin-bottom: 48px; max-width: 560px; }

.jitz-mag-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
}

.jitz-mag-section__eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-mag-section__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.jitz-mag-section__text {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jitz-muted);
}

.jitz-mag-section__head--split .jitz-mag-section__text { margin: 0; }

/* People */
.jitz-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.jitz-people__media {
  overflow: hidden;
  background: var(--jitz-bg-soft);
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.jitz-people__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jitz-people__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.jitz-people__meta {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jitz-muted);
}

.jitz-people__story {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--jitz-muted);
}

/* Open mats */
.jitz-mats {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.jitz-mats__svg { width: 100%; height: auto; display: block; }

.jitz-mats__item {
  padding: 22px 0;
  border-top: 1px solid var(--jitz-border);
}

.jitz-mats__item:last-child { border-bottom: 1px solid var(--jitz-border); }

.jitz-mats__kind {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-mats__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.jitz-mats__detail {
  margin: 0;
  font-size: 14px;
  color: var(--jitz-muted);
}

/* Masonry */
.jitz-masonry {
  columns: 3;
  column-gap: 16px;
}

.jitz-masonry__item {
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--jitz-bg-soft);
}

.jitz-masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.jitz-masonry__item--tall img { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; }
.jitz-masonry__item--wide img { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: auto; }

/* Instagram */
.jitz-ig {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  margin-top: 32px;
}

.jitz-ig__cell {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--jitz-bg-soft);
  opacity: 1 !important;
}

.jitz-ig__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.jitz-ig__cell:hover img { opacity: 0.75; }

.jitz-ig__follow {
  margin: 24px auto 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jitz-ig__follow a {
  border-bottom: 1px solid #111;
  padding-bottom: 3px;
  opacity: 1 !important;
}

/* CTA */
.jitz-mag-cta {
  padding: 96px 0;
  border-top: 1px solid var(--jitz-border);
  background: var(--jitz-bg);
}

.jitz-mag-cta__inner { max-width: 560px; }

.jitz-mag-cta__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.jitz-mag-cta__text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jitz-muted);
}

.jitz-mag-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Journal cats */
.jitz-mag-cats {
  border-bottom: 1px solid var(--jitz-border);
  background: var(--jitz-bg);
}

.jitz-mag-cats__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  padding: 18px 0;
  overflow-x: auto;
}

.jitz-mag-cats__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jitz-muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.jitz-mag-cats__btn:hover { color: #111; }
.jitz-mag-cats__btn.is-active {
  color: #111;
  border-bottom-color: #111;
}

/* Journal cards */
.jitz-journal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 32px;
}

.jitz-journal__card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--jitz-border);
  margin-bottom: 8px;
}

.jitz-journal__media {
  display: block;
  overflow: hidden;
  background: var(--jitz-bg-soft);
  aspect-ratio: 16 / 11;
  opacity: 1 !important;
}

.jitz-journal__card--feature .jitz-journal__media { aspect-ratio: 16 / 10; }

.jitz-journal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jitz-journal__cat {
  margin: 18px 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jitz-accent);
}

.jitz-journal__card--feature .jitz-journal__cat { margin-top: 0; }

.jitz-journal__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.jitz-journal__title a { opacity: 1 !important; }

.jitz-journal__dek {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--jitz-muted);
  max-width: 42ch;
}

.jitz-journal__more {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid #111;
  padding-bottom: 3px;
  opacity: 1 !important;
}

.jitz-journal__empty {
  margin: 48px 0 0;
  color: var(--jitz-muted);
  font-size: 15px;
}

/* Article */
.jitz-article-hero__media {
  overflow: hidden;
  background: var(--jitz-bg-soft);
  max-height: 620px;
}

.jitz-article-hero__media img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.jitz-article-hero__copy {
  padding: 48px 0 24px;
  max-width: 720px;
}

.jitz-article-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jitz-muted);
}

.jitz-article-hero__eyebrow a {
  color: var(--jitz-accent);
  opacity: 1 !important;
}

.jitz-article-hero__title {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.jitz-article-body {
  padding: 16px 0 64px;
}

.jitz-article-body__inner {
  max-width: 640px;
}

.jitz-article-body__inner p,
.jitz-article-body__inner li {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 1.15em;
}

.jitz-article-body__inner ul,
.jitz-article-body__inner ol {
  padding-left: 1.2em;
  margin: 0 0 1.15em;
}

.jitz-article-body__inner strong { font-weight: 600; color: #111; }

.jitz-article-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 80px;
  border-top: 1px solid var(--jitz-border);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jitz-article-foot a { opacity: 1 !important; border-bottom: 1px solid #111; padding-bottom: 2px; }

@media (max-width: 991px) {
  .jitz-mag-hero--split,
  .jitz-mats,
  .jitz-mag-section__head--split,
  .jitz-journal__card--feature,
  .jitz-people {
    grid-template-columns: 1fr;
  }

  .jitz-mag-hero--split { min-height: 0; }
  .jitz-mag-hero__copy { padding: 48px 0 32px; order: 2; }
  .jitz-mag-hero__side { order: 1; min-height: 56vw; max-height: 420px; }

  .jitz-mag-section { padding: 64px 0; }
  .jitz-people { gap: 32px 16px; grid-template-columns: 1fr 1fr; }
  .jitz-masonry { columns: 2; }
  .jitz-ig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jitz-journal { grid-template-columns: 1fr; gap: 40px; }
  .jitz-journal__card--feature { padding-bottom: 40px; }
}

@media (max-width: 640px) {
  .jitz-people { grid-template-columns: 1fr; }
  .jitz-masonry { columns: 1; }
  .jitz-ig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jitz-mag-hero--full { min-height: 70vh; }
  .jitz-mag-hero--full .jitz-mag-hero__overlay { padding: 48px 0 40px; }
}
