/* Integration of the NEW shell with preserved content; never loaded by Aurel itself. */
body.jo-shared-shell .jo-legacy-main {
  display: contents;
}
body.jo-shared-shell .jo-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
body.jo-shared-shell .jo-current-footer .jo-footer-menu a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(242, 238, 231, .3);
  color: #f2eee7;
  font-size: .7rem;
  line-height: 1.55;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.jo-shared-shell .jo-current-footer .jo-footer-menu a span { font-size: 1rem; line-height: 0; }
body.jo-shared-shell .jo-current-footer .jo-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(242, 238, 231, .8);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.jo-shared-shell .jo-current-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 900px) {
  body.jo-shared-shell.jo-shop-context.woocommerce-checkout .aurel_content.col12 {
    padding-inline: 0 !important;
  }
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-checkout-review-order-table {
  border: 0 !important;
  border-collapse: collapse;
  margin-bottom: 32px !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-checkout-review-order-table :is(th, td) {
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(32, 37, 31, .18) !important;
  background: transparent !important;
  text-align: left;
  font-size: 14px;
  line-height: 1.65;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total :is(th, td) {
  padding-block: 20px !important;
  border-bottom: 0 !important;
  font-size: 18px;
  font-weight: 600;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout {
  padding: 28px 0 0;
  border: 0 !important;
  border-top: 1px solid rgba(32, 37, 31, .25) !important;
  background: transparent !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-title {
  margin: 0 0 28px;
  font: 400 32px/1.1 "Cormorant Garamond", Georgia, serif;
  color: #20251f;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout ul.payment_methods {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout li.jo-payment-group {
  margin: 28px 0 4px;
  padding: 0;
  border: 0;
  list-style: none;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout li.jo-payment-group:first-child { margin-top: 0; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-group h4 {
  margin: 0;
  color: #566158;
  font: 500 11px/1.6 Montserrat, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout li.jo-payment-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(32, 37, 31, .18);
  list-style: none;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option::before,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option::after,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > label::before {
  display: none !important;
  content: none !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  appearance: auto !important;
  position: static !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 0 !important;
  align-self: center;
  opacity: 1 !important;
  accent-color: #20251f;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > input[type="radio"]::before,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > input[type="radio"]::after { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  font: 400 14px/1.6 Montserrat, Arial, sans-serif !important;
  cursor: pointer;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option:has(> input:checked) > label { font-weight: 600 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option:last-child { border-bottom: 0; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option > label img {
  float: none !important;
  width: auto !important;
  height: auto !important;
  max-width: 94px !important;
  max-height: 26px !important;
  margin: 0 !important;
  object-fit: contain;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-option .payment_box {
  grid-column: 1 / -1;
  width: auto;
  margin: 4px 0 0 !important;
  padding: 18px !important;
  border-left: 2px solid #8e998b;
  background: #e9e5de !important;
  font-size: 13px;
  line-height: 1.7;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .payment_box::before { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .payment_box label {
  display: block;
  position: relative;
  padding-left: 26px;
  font: 400 12px/1.75 Montserrat, Arial, sans-serif !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .payment_box label input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  margin: 0;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .place-order {
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(32, 37, 31, .25);
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .jo-payment-confirm-title {
  margin: 0 0 22px;
  font: 400 26px/1.1 "Cormorant Garamond", Georgia, serif;
  color: #20251f;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-privacy-policy-text {
  margin-bottom: 24px;
  color: #566158;
  font-size: 12px;
  line-height: 1.7;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 28px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper label {
  display: block;
  position: relative;
  min-height: 28px;
  margin: 0;
  padding-left: 32px;
  font-size: 13px;
  line-height: 1.7;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper label::before,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper input::before,
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper input::after { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  appearance: auto !important;
  position: absolute !important;
  left: 0;
  top: 2px;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  opacity: 1 !important;
  accent-color: #20251f;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout #place_order {
  float: none !important;
  width: 100% !important;
  min-height: 56px;
  margin: 0 !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout input:focus-visible {
  outline: 2px solid #566158;
  outline-offset: 4px;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment .payment_box {
  background: #f2eee7 !important;
  color: #20251f !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment .payment_box::before {
  border-bottom-color: #f2eee7 !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) .aurel_select_wrapper:has(> .select2-container) > :is(.aurel_select, .select-options) {
  display: none !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) .aurel_select_wrapper:has(> .select2-container),
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) .aurel_select_wrapper > .select2-container {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) select.select2-hidden-accessible {
  display: none !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(32, 37, 31, .3);
  border-radius: 0;
  background: #faf8f4;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .select2-selection--single .select2-selection__rendered {
  padding: 12px 32px 12px 16px;
  color: #20251f;
  line-height: 1.5;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .select2-selection--single .select2-selection__arrow {
  top: 0;
  height: 100%;
}
body.jo-shared-shell.jo-editorial.single-post .aurel_tiny iframe:is(
  [src*="youtube.com/embed/"],
  [src*="youtube-nocookie.com/embed/"]
) {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: 0;
}
body.jo-shared-shell.jo-editorial.single-post .elementor-widget-button:has(a[href*="/blog-youtube-jonasz-olszewski"]) {
  margin-block: 24px 32px !important;
}
body.jo-shared-shell.jo-editorial.single-post a.elementor-button[href*="/blog-youtube-jonasz-olszewski"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px !important;
  border: 1px solid #242824;
  border-radius: 0 !important;
  background: #242824 !important;
  color: #f2eee7 !important;
  font: 500 12px/1.5 Montserrat, Arial, sans-serif !important;
}
body.jo-shared-shell.jo-editorial.single-post a.elementor-button[href*="/blog-youtube-jonasz-olszewski"]:focus-visible {
  outline: 2px solid #566158;
  outline-offset: 4px;
}
body.jo-shared-shell .aurel_main_header,
body.jo-shared-shell .aurel_main_header_holder,
body.jo-shared-shell .aurel_mobile_menu_wrapper,
body.jo-shared-shell .aurel_footer { display: none !important; }

/* Content contexts define their own tokens. The shared shell keeps its own type. */
body.jo-shared-shell :is(.jo-site-header, .jo-site-footer) {
  --jo-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --jo-sans: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --jo-ink: #242824;
  --jo-ivory: #f2eee7;
  --jo-dark: #202521;
  font-family: var(--jo-sans);
  font-size: 16px;
  line-height: 1.55;
}
body.jo-shared-shell .jo-site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  align-items: center;
  padding: 24px max(4vw, calc((100vw - 1600px) / 2));
  transition: padding .34s cubic-bezier(.22, 1, .36, 1);
}
body.jo-shared-shell .jo-site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: var(--jo-ivory, #f2eee7);
  border-bottom: 1px solid rgba(27, 32, 28, .14);
  transition: opacity .35s cubic-bezier(.22, 1, .36, 1);
  content: "";
}
body.jo-shared-shell .jo-site-header.is-scrolled,
body.jo-shared-shell.jo-menu-open .jo-site-header {
  padding-top: 14px;
  padding-bottom: 14px;
}
body.jo-shared-shell .jo-site-header.is-scrolled::before,
body.jo-shared-shell.jo-menu-open .jo-site-header::before {
  opacity: 1;
}
html body.jo-shared-shell.admin-bar header.jo-site-header { top: 0; }
body.jo-shared-shell .jo-nav-shop-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
body.jo-shared-shell .jo-shop-toggle {
  display: grid;
  width: 24px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
body.jo-shared-shell .jo-shop-toggle span { transform: translateY(-2px); }
body.jo-shared-shell .jo-header-instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
}
body.jo-shared-shell .jo-header-instagram-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  body.jo-shared-shell .jo-header-instagram { display: none; }
}
@media (max-width: 900px) {
  body.jo-shared-shell .jo-site-header {
    padding: calc(16px + env(safe-area-inset-top, 0px)) 5vw 16px;
  }
  body.jo-shared-shell .jo-site-header.is-scrolled,
  body.jo-shared-shell.jo-menu-open .jo-site-header {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 5vw 12px;
  }
}
body.jo-shared-shell :is(.aurel_back2top, .aurel_back_to_top) { display: none !important; }
body.jo-shared-shell .jo-menu-toggle {
  background: transparent !important;
  color: #242824 !important;
  box-shadow: none !important;
}
body.jo-shared-shell .jo-menu-toggle:focus-visible {
  outline: 2px solid #566158 !important;
  outline-offset: 4px;
}
body.jo-shared-shell { overflow-x: clip; }
body.jo-shared-shell .grecaptcha-badge {
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.jo-shared-shell .aurel_site_wrapper { padding-top: 0 !important; }
body.jo-shared-shell .pswp { z-index: 2147483000 !important; }

body.jo-shared-shell .jo-context-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 8px max(4vw, calc((100vw - 1600px) / 2));
  border-block: 1px solid rgba(36, 40, 36, .18);
  background: #f2eee7;
  color: #242824;
  font: 14px/1.5 Montserrat, Arial, sans-serif;
}
body.jo-shared-shell .jo-context-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 900px) {
  body.jo-shared-shell .jo-site-header { padding: 22px 5vw; }
  body.jo-shared-shell .jo-context-links { padding: 8px 5vw; gap: 4px 20px; }
  body.jo-shared-shell .jo-shop-toggle { display: none; }
}

/* The new password screen needs a visible label, not Aurel's hidden label. */
body.jo-shared-shell.jo-client-password .post-password-form label {
  color: #242824 !important;
  font: 500 14px/1.6 Montserrat, Arial, sans-serif !important;
}

/* Complete the new shop and course canvas around preserved markup. */
html:has(body.jo-shared-shell.jo-course-context),
body.jo-shared-shell:is(.jo-shop-context, .jo-course-context),
body.jo-shared-shell:is(.jo-shop-context, .jo-course-context) :is(
  .aurel_site_wrapper,
  .aurel_main_wrapper,
  .aurel_container,
  .aurel_content_wrapper,
  .aurel_content,
  .aurel_tiny,
  .entry-content
) {
  background: #f2eee7 !important;
  background-image: none !important;
}
body.jo-shared-shell.jo-course-context {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}
body.jo-shared-shell.jo-course-context > .jo-site-footer {
  margin-top: auto !important;
}
body.jo-shared-shell.jo-course-context .elementor-widget-pm-grid-gallery img {
  margin: 0 !important;
  opacity: 1 !important;
}
@media (max-width: 759px) {
  body.jo-shared-shell.jo-course-context .elementor-widget-pm-grid-gallery .aurel_grid_inner.aurel_isotope_trigger {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    height: auto !important;
    margin: 0 !important;
  }
  body.jo-shared-shell.jo-course-context .elementor-widget-pm-grid-gallery .grid-item {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
}
body.jo-shared-shell:is(.jo-shop-context, .jo-course-context, .jo-editorial) .aurel_content_wrapper::before {
  background: #f2eee7 !important;
}
body.jo-shared-shell.jo-editorial-archive .pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
body.jo-shared-shell.jo-editorial-archive .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
}

/* New screens show ready content without waiting for Aurel's window-load mask.
   Archived client galleries deliberately keep their existing behavior. */
body.jo-shared-shell:is(.jo-editorial, .jo-course-context, .jo-shop-context, .single-pm-albums) .aurel_preloader_wrapper {
  display: none !important;
}
body.jo-shared-shell:is(.jo-editorial, .jo-course-context, .jo-shop-context, .single-pm-albums) .aurel_site_wrapper {
  opacity: 1 !important;
  transition: none !important;
}
body.jo-shared-shell.single-pm-albums,
body.jo-shared-shell.single-pm-albums :is(.aurel_site_wrapper, .aurel_main_wrapper) {
  background: #f2eee7 !important;
}
body.jo-shared-shell.single-pm-albums .jo-album-intro {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(24px, 4vw, 48px) max(4vw, calc((100vw - 1600px) / 2)) clamp(20px, 3vw, 36px);
  color: #242824;
}
body.jo-shared-shell.single-pm-albums .jo-album-intro span {
  display: block;
  font: 600 11px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #666a64;
}
body.jo-shared-shell.single-pm-albums .jo-album-intro h1 {
  margin: 12px 0 14px;
  font: 400 clamp(2.5rem, 5vw, 4.4rem)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.04em;
  color: #242824;
}
body.jo-shared-shell.single-pm-albums .jo-album-intro a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #242824;
  text-decoration: underline;
  text-underline-offset: 4px;
  font: 500 14px/1.4 Montserrat, Arial, sans-serif;
}
body.jo-shared-shell:is(.single-pm-albums, .jo-course-context, .jo-editorial.single-post) .grid-item:is(.load_anim_grid, .anim_el2, .anim_el),
body.jo-shared-shell:is(.single-pm-albums, .jo-course-context, .jo-editorial.single-post) .grid-item.anim_el2.load_anim_grid {
  opacity: 1 !important;
  transform: none !important;
  z-index: auto !important;
  pointer-events: auto !important;
}
body.jo-shared-shell:is(.single-pm-albums, .jo-course-context, .jo-editorial.single-post) .grid-item:is(.load_anim_grid, .anim_el2) a {
  pointer-events: auto !important;
}
body.jo-shared-shell:is(.single-pm-albums, .jo-course-context, .jo-editorial.single-post) .aurel-img-preloader {
  display: none !important;
}
body.jo-shared-shell:is(.single-pm-albums, .jo-editorial.single-post) .aurel_grid_inner img.grid_thmb {
  display: block !important;
  opacity: 1 !important;
}
body.jo-shared-shell.single-pm-albums .aurel_mobile_header,
body.jo-shared-shell.single-pm-albums .aurel_mobile_menu_wrapper {
  display: none !important;
}
@media (max-width: 900px) {
  :is(body.jo-shared-shell.single-pm-albums .aurel_single_gallery_wrapper, body.jo-shared-shell.jo-editorial.single-post .aurel_grid_wrapper) .aurel_grid_inner.aurel_isotope_trigger {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    height: auto !important;
  }
  body.jo-shared-shell.single-pm-albums .aurel_single_gallery_wrapper .aurel_grid_inner.aurel_isotope_trigger {
    padding: 0 5vw !important;
  }
  :is(body.jo-shared-shell.single-pm-albums .aurel_single_gallery_wrapper, body.jo-shared-shell.jo-editorial.single-post .aurel_grid_wrapper) .grid-item {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
  :is(body.jo-shared-shell.single-pm-albums .aurel_single_gallery_wrapper, body.jo-shared-shell.jo-editorial.single-post .aurel_grid_wrapper) .grid-item img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Persistent labels remain readable while composing a blog comment. */
body.jo-shared-shell.jo-editorial #commentform .jo-comment-field-label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #242824 !important;
  font: 500 14px/1.5 Montserrat, Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.jo-shared-shell.jo-editorial #commentform :is(.comment-form-comment, .comment-form-author, .comment-form-email) {
  margin-bottom: 24px !important;
}
body.jo-shared-shell.jo-editorial #commentform .comment-form-cookies-consent {
  line-height: 1.6 !important;
}

/* Sharing links follow the current editorial palette and touch target size. */
body.jo-shared-shell.jo-editorial .aurel_sharing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 20px !important;
}
body.jo-shared-shell.jo-editorial .aurel_sharing > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: #242824 !important;
  font: 500 12px/1.5 Montserrat, Arial, sans-serif !important;
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
}
body.jo-shared-shell.jo-editorial .aurel_sharing > a:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 4px !important;
}
@media (max-width: 600px) {
  body.jo-shared-shell.jo-editorial .aurel_sharing_label {
    flex-basis: 100%;
    margin: 0 !important;
  }
}

/* Keep the current archive page distinct, and mobile navigation in a clear order. */
body.jo-shared-shell.jo-editorial-archive .pagination .page-numbers.current {
  background: #242824 !important;
  border-color: #242824 !important;
  color: #f2eee7 !important;
}
body.jo-shared-shell.jo-editorial-archive .pagination a:focus-visible {
  outline: 2px solid #242824;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  body.jo-shared-shell.jo-editorial-archive .pagination :is(.prev, .next) {
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  body.jo-shared-shell.jo-editorial-archive .pagination .nav-links:has(.prev):has(.next) :is(.prev, .next) {
    flex-basis: calc(50% - 4px);
  }
}

/* Section headings inside article text must not inherit Aurel's justified display style. */
body.jo-shared-shell.jo-editorial.single-post .elementor-widget-text-editor :is(h2, h3) {
  font-family: Georgia, serif !important;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  letter-spacing: normal !important;
  margin: 44px 0 20px !important;
  overflow-wrap: break-word;
}
body.jo-shared-shell.jo-editorial.single-post .elementor-widget-text-editor :is(h2, h3) :is(strong, b, span) {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
}

/* The current editorial layout is one column; retired Aurel widgets must not spill below it. */
body.jo-shared-shell.jo-editorial.single-post .aurel_single_post > .aurel_sidebar {
  display: none !important;
}

/* Readable neighbouring-post links in the current one-column article layout. */
body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation > :is(.aurel_prev_post_wrapper, .aurel_next_post_wrapper) {
  float: none !important;
  width: auto !important;
  min-width: 0;
}
body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation > .clear { display: none; }
body.jo-shared-shell.jo-editorial.single-post .aurel_post_nav_button a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
body.jo-shared-shell.jo-editorial.single-post :is(.aurel_prev_post_title, .aurel_next_post_title) {
  display: block;
  min-height: 44px;
  font: 400 24px/1.25 Georgia, serif !important;
  color: #242824 !important;
  overflow-wrap: anywhere;
}
body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation a:focus-visible {
  outline: 2px solid #242824;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation > :is(.aurel_prev_post_wrapper, .aurel_next_post_wrapper) { text-align: left !important; }
  body.jo-shared-shell.jo-editorial.single-post .aurel_posts_navigation > .aurel_next_post_wrapper { border-top: 1px solid rgba(36,40,36,.2); padding-top: 16px; }
}

/* Restore an obvious exit from photo previews in the current public article and album templates. */
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__bg { background: rgba(15,18,15,.96) !important; opacity: 1 !important; }
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__top-bar {
  display: block !important;
  opacity: 1 !important;
  height: 72px;
  background: linear-gradient(rgba(0,0,0,.7), transparent);
}
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__counter {
  display: block !important;
  position: absolute;
  top: 12px;
  left: 24px;
  height: 48px;
  color: #fff;
  opacity: 1;
  font: 400 14px/48px Montserrat, Arial, sans-serif;
}
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__button--close {
  display: block !important;
  position: absolute;
  right: 16px;
  top: 12px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #fff;
  opacity: 1 !important;
}
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__button--close::before {
  content: "×";
  display: block;
  position: static;
  width: 48px;
  height: 48px;
  background: none;
  font: 300 40px/44px Arial, sans-serif;
}
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__top-bar { z-index: 1600; }
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) :is(.pswp__counter, .pswp__button--close) { z-index: 2; }
body.jo-shared-shell:is(.jo-editorial.single-post, .single-pm-albums) .pswp__preloader {
  position: absolute;
  left: calc(50% - 22px);
  top: 12px;
  margin: 0;
  pointer-events: none;
}

/* Store notices: one calm surface, readable copy, and properly centred actions. */
body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  box-sizing: border-box !important;
  position: relative;
  padding: 20px 24px !important;
  margin: 0 0 28px !important;
  border: 0 !important;
  border-left: 3px solid #566158 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #e7e9e2 !important;
  color: #242824 !important;
  font: 400 14px/1.7 Montserrat, Arial, sans-serif !important;
}
body.jo-shared-shell.jo-shop-context .woocommerce-error {
  background: #f1e6df !important;
  border-left-color: #944a36 !important;
}
body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::after {
  display: none !important;
  content: none !important;
}
body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 14px 22px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  white-space: normal !important;
  margin: 0 !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce-message .wc-forward { display: none !important; }
@media (max-width: 600px) {
  body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { padding: 16px 18px !important; }
  body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
    float: none !important;
    width: 100% !important;
    margin-top: 14px !important;
  }
}

/* Purchase journey, shared by the cart and checkout. */
body.jo-shared-shell.jo-shop-context .jo-purchase-steps {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 24px;
  color: #566158; font: 400 12px/1.6 Montserrat, Arial, sans-serif;
}
body.jo-shared-shell.jo-shop-context .jo-purchase-steps > * { display: inline-flex; align-items: center; min-height: 44px; }
body.jo-shared-shell.jo-shop-context .jo-purchase-steps [aria-current] { color: #20251f; font-weight: 600; border-bottom: 1px solid currentColor; }
body.jo-shared-shell.jo-shop-context :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { display: flow-root; }
body.jo-shared-shell.jo-shop-context .woocommerce-error > li { list-style: none; margin: 0; padding: 0; }
body.jo-shared-shell.jo-shop-context .woocommerce-error.jo-cart-information { border-left-color: #566158 !important; background: #e7e9e2 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart :is(.woocommerce-message, .woocommerce-error) .wc-forward { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 28px 56px; align-items: start;
}
body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce-cart-form { grid-column: 1; grid-row: 2; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart-collaterals { grid-column: 2; grid-row: 2 / span 2; margin-top: 0 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; padding: 24px 0 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals h2 { font-size: 32px !important; line-height: 1.15; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals table,
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals :is(th, td) { border: 0 !important; background: transparent !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals :is(th, td) { padding: 16px 0 !important; text-align: left; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals td { text-align: right; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart_totals .order-total :is(th, td) { border-top: 1px solid rgba(32,37,31,.2) !important; font-size: 20px !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-continue-shopping { grid-column: 1; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; text-decoration: underline; text-underline-offset: 5px; font-size: 13px; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart table { display: block; border: 0 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart tbody { display: block; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart tr.cart_item {
  display: grid; grid-template-columns: 88px minmax(0,1fr) auto 44px; gap: 12px 20px;
  align-items: center; position: relative; padding: 24px 0; border-top: 1px solid rgba(32,37,31,.22);
}
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart tr.cart_item:last-of-type { border-bottom: 1px solid rgba(32,37,31,.22); }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td::before { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-thumbnail { grid-column: 1; grid-row: 1; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart .product-thumbnail img { display: block; width: 88px !important; height: 66px !important; object-fit: contain; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-name { grid-column: 2; grid-row: 1; font: 400 21px/1.25 "Cormorant Garamond", Georgia, serif !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-subtotal { grid-column: 3; grid-row: 1; white-space: nowrap; font-size: 14px; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-remove { grid-column: 4; grid-row: 1; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart .product-remove a { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; color: #242824 !important; background: transparent !important; font: 400 24px/1 Arial, sans-serif; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart :is(td.product-price, td.product-quantity, td.actions) { display: none !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-cart .aurel_page_title { margin-bottom: 28px !important; font-size: clamp(42px,5vw,68px) !important; }
@media (max-width: 1000px) {
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .cart-collaterals { grid-column: 1; grid-row: 4; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-continue-shopping { grid-row: 3; }
}
@media (max-width: 600px) {
  body.jo-shared-shell.jo-shop-context .jo-purchase-steps { gap: 4px 18px; font-size: 11px; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart tr.cart_item { grid-template-columns: 64px minmax(0,1fr) 44px; gap: 8px 14px; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart .product-thumbnail img { width: 64px !important; height: 48px !important; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-thumbnail { grid-row: 1 / span 2; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-name { font-size: 22px !important; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-subtotal { grid-column: 2; grid-row: 2; }
  body.jo-shared-shell.jo-shop-context.woocommerce-cart .jo-digital-cart td.product-remove { grid-column: 3; grid-row: 1 / span 2; }
}

body.jo-shared-shell.jo-shop-context.woocommerce-cart .woocommerce:not(:has(.woocommerce-cart-form)) { display: block; }
body.jo-shared-shell.jo-shop-context .woocommerce-notices-wrapper a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .aurel_page_title { font-size: clamp(42px,5vw,68px) !important; margin-bottom: 36px !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout form.checkout { row-gap: 24px !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #order_review_heading { margin-bottom: 0 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-billing-fields > h3 { margin-bottom: 28px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .form-row > label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.5; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout :is(input.input-text, textarea) {
  padding: 12px 14px !important; border: 1px solid #9ba297 !important;
  background: rgba(255,255,255,.5) !important; color: #20251f !important;
  font: 400 16px/1.5 Montserrat, Arial, sans-serif !important;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout :is(input.input-text, textarea)::placeholder { font-size: 13px !important; text-transform: none !important; letter-spacing: 0 !important; color: #686d67; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-field-hint { display: block; margin-top: 8px; color: #566158; font: 400 12px/1.6 Montserrat,Arial,sans-serif; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-invoice-details { clear: both; margin: 20px 0 28px; border-block: 1px solid rgba(32,37,31,.2); }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-invoice-details summary { display: list-item; min-height: 48px; padding: 14px 0; color: #242824; font-size: 14px; cursor: pointer; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-invoice-details[open] summary { margin-bottom: 12px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-field-error { display: block; margin-top: 8px; color: #8c3928 !important; font: 400 12px/1.6 Montserrat,Arial,sans-serif; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-field-invalid :is(input.input-text, .select2-selection) { border-color: #a44732 !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout :is(input, textarea, summary):focus-visible { outline: 2px solid #566158 !important; outline-offset: 3px; }

/* Use one reliable native country/region picker; keep WooCommerce change handlers. */
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) .aurel_select_wrapper {
  display: block !important; width: 100% !important; min-width: 0 !important; height: auto !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) :is(.aurel_select, .select-options, .select2-container) { display: none !important; }
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) select:is(#billing_country, #billing_state, #shipping_country, #shipping_state) {
  box-sizing: border-box !important;
  display: inline-block !important;
  vertical-align: middle !important;
  position: static !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 44px 12px 14px !important;
  border: 1px solid #9ba297 !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  overflow: hidden !important;
  background: #faf8f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2320251f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center !important;
  color: #20251f !important;
  font: 400 16px/1.5 Montserrat,Arial,sans-serif !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) select:is(#billing_country, #billing_state, #shipping_country, #shipping_state)::picker-icon {
  display: none !important;
  content: none !important;
}
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field)::before,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field)::after,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) .woocommerce-input-wrapper::before,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) .woocommerce-input-wrapper::after,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) .aurel_select_wrapper::before,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) :is(#billing_country_field, #billing_state_field, #shipping_country_field, #shipping_state_field) .aurel_select_wrapper::after,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) select:is(#billing_country, #billing_state, #shipping_country, #shipping_state)::before,
body.jo-shared-shell.jo-shop-context:is(.woocommerce-checkout, .woocommerce-account) select:is(#billing_country, #billing_state, #shipping_country, #shipping_state)::after,
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering select.orderby::before,
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering select.orderby::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
body.jo-shared-shell .jo-recaptcha-notice {
  box-sizing: border-box;
  width: min(90vw, 1280px);
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--jo-muted);
  font-size: .62rem;
  line-height: 1.5;
  text-align: center;
}
body.jo-shared-shell .jo-recaptcha-notice a {
  color: inherit !important;
  text-decoration: underline !important;
}
body.jo-shared-shell.jo-search-results .aurel_search_form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
  margin-top: 24px;
}
body.jo-shared-shell.jo-search-results .aurel_search_form input[type="text"] {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #777d75;
  background: #faf8f4;
  color: #20251f;
  font-size: 16px;
}
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-field-error:empty { display: none; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .woocommerce-additional-fields:has(.jo-order-notes) > h3 { display: none; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-order-notes { border-block: 1px solid rgba(32,37,31,.2); margin: 12px 0 24px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout .jo-order-notes summary { min-height: 48px; padding: 14px 0; cursor: pointer; font-size: 14px; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout input[type="checkbox"] { accent-color: #20251f; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #customer_details .col-2 { margin-top: 24px !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout:not(:has(input[name="payment_method"])) { border-top: 0 !important; padding-top: 0; }
body.jo-shared-shell.jo-shop-context.woocommerce-checkout #payment.jo-payment-layout #place_order { display: flex; align-items: center; justify-content: center; padding: 16px 20px !important; line-height: 1.5 !important; }

/* Order results retain the gateway's status and instructions, with readable shared typography. */
body.jo-shared-shell.jo-shop-context .woocommerce-order { font-size: 16px !important; line-height: 1.7 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order > :is(p, ul),
body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-order-overview li { height: auto !important; font-size: 15px !important; line-height: 1.7 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order > .woocommerce-notice { display: block !important; margin: 0 0 28px !important; padding: 20px 24px !important; background: #e9ede5; border: 0 !important; border-left: 3px solid #566158 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order > .woocommerce-notice--error { background: #f3e8e2; border-left-color: #a44732 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0 !important; margin: 32px 0 48px !important; list-style: none !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-order-overview li { float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; overflow-wrap: anywhere; }
body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-order-overview strong { display: block; font-size: 17px !important; line-height: 1.6 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order h2 { margin: 40px 0 24px !important; font-size: clamp(28px,3vw,40px) !important; line-height: 1.2 !important; }
body.jo-shared-shell.jo-shop-context .woocommerce-order table.shop_table { border: 0 !important; width: 100%; }
body.jo-shared-shell.jo-shop-context .woocommerce-order table.shop_table :is(th,td) { border: 0 !important; border-bottom: 1px solid #c6c9c0 !important; padding: 16px 12px !important; font-size: 14px !important; line-height: 1.6 !important; overflow-wrap: anywhere; }
body.jo-shared-shell.jo-shop-context .woocommerce-order a.button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px !important; line-height: 1.5 !important; margin: 4px 8px 4px 0; }
@media(max-width:600px) {
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-order-overview { grid-template-columns: minmax(0,1fr); gap: 18px; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads :is(thead,thead tr) { display:none !important; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads :is(tbody,tr,td) { display:block !important; width:100% !important; box-sizing:border-box; text-align:left !important; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads td::before { content:attr(data-title); display:block; font-weight:600; margin-bottom:4px; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .download-file a.button { width:100%; margin:0; box-sizing:border-box; }
}
@media(max-width:600px) {
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads td::before { float:none !important; width:auto !important; font-size:12px !important; line-height:1.6 !important; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads td.download-file { padding:16px 12px !important; }
 body.jo-shared-shell.jo-shop-context .woocommerce-order .woocommerce-table--order-downloads .download-file a.button { display:flex !important; }
}

/* A single recovery field should use the same readable measure as the account form. */
body.jo-shared-shell.jo-shop-context.woocommerce-account .woocommerce-ResetPassword .form-row-first { float:none !important; width:100% !important; }
body.jo-shared-shell.jo-shop-context.woocommerce-account .woocommerce-ResetPassword button.button { display:inline-flex !important; align-items:center; justify-content:center; min-height:52px; line-height:1.5 !important; }

/* Give the education listing a clear start after the introductory video. */
body.jo-shared-shell.jo-blog-context .elementor-element-a77ef2a .elementor-heading-title { margin-top:clamp(32px,4vw,56px) !important; }
/* Shared subscription panel inside the new editorial overlay. */
body.jo-editorial.single-post .elementor-inner-section:has(a.elementor-button[href*="youtube.com/jonaszolszewski"]) {
  background: #d4dace !important;
  min-height: 0 !important;
  padding: 24px !important;
  margin-block: 32px !important;
}
body.jo-editorial.single-post .elementor-inner-section:has(a.elementor-button[href*="youtube.com/jonaszolszewski"]) :is(p, strong, b) {
  color: #242824 !important;
}
body.jo-editorial.single-post .elementor-inner-section a.elementor-button[href*="youtube.com/jonaszolszewski"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 14px 24px !important;
  background: #242824 !important;
  color: #f2eee7 !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 1.2 !important;
}
@media (max-width: 767px) {
  body.jo-editorial.single-post .elementor-inner-section:has(a.elementor-button[href*="youtube.com/jonaszolszewski"]) > .elementor-container { flex-direction: column; gap: 16px; }
  body.jo-editorial.single-post .elementor-inner-section:has(a.elementor-button[href*="youtube.com/jonaszolszewski"]) .elementor-column { width: 100% !important; }
  body.jo-editorial.single-post .elementor-inner-section a.elementor-button[href*="youtube.com/jonaszolszewski"] { width: 100% !important; }
}
/* Keep nested discussion readable in the new overlay on small screens. */
@media (max-width: 600px) {
  body.jo-editorial.single-post .comment { display: flex !important; flex-wrap: wrap; column-gap: 12px; }
  body.jo-editorial.single-post .comment > .aurel_comment_ava { flex: 0 0 32px; width: 32px !important; height: 32px !important; margin: 0 !important; }
  body.jo-editorial.single-post .comment > .aurel_comment_ava img { width: 32px !important; height: 32px !important; }
  body.jo-editorial.single-post .comment > .aurel_comment_body { flex: 1 1 0%; min-width: 0; width: auto !important; }
  body.jo-editorial.single-post .comment > .comment { flex: 0 0 100%; max-width: 100%; padding-left: 12px !important; }
  body.jo-editorial.single-post .comment-reply-link { display: inline-flex; min-height: 44px; align-items: center; }
}
/* Product category URLs share the typography of the native shop. */
body.jo-shared-shell.jo-shop-context.tax-product_cat .aurel_shop_loop > h1.page-title {
  font: 400 clamp(3rem, 6vw, 5.8rem)/.98 var(--jo-serif) !important;
  letter-spacing: -.05em !important;
}
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-loop-product__title {
  font: 400 clamp(1.8rem, 3.2vw, 3.3rem)/1.06 var(--jo-serif) !important;
  letter-spacing: -.04em !important;
}
/* Use the accessible native WooCommerce sorter in product categories. */
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering { width: min(100%, 300px) !important; }
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering .aurel_select_wrapper { width: 100% !important; min-width: 0 !important; }
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering .aurel_select,
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering .select-options { display: none !important; }
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering select.orderby {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 12px 32px 12px 12px !important;
  border: 1px solid #798076 !important;
  border-radius: 0 !important;
  background: #f2eee7 !important;
  appearance: auto !important;
  color: #242824 !important;
  font: 400 .875rem/1.4 var(--jo-sans) !important;
}
body.jo-shared-shell.jo-shop-context.tax-product_cat .woocommerce-ordering select.orderby:focus-visible { outline: 2px solid #566158; outline-offset: 4px; }
/* Recovered education thumbnails keep their entire frame in category/tag lists. */
body.jo-editorial-archive .standard_post_item img[data-jo-full-thumbnail] { aspect-ratio: auto !important; object-fit: contain !important; }
/* The archive cover opens the same article as its adjacent title. */
body.jo-editorial-archive .jo-archive-image-link { display: block; width: 100%; }
body.jo-editorial-archive .jo-archive-image-link:focus-visible { outline: 3px solid #566158; outline-offset: 4px; }
body.jo-shared-shell #wpadminbar input.adminbar-input { background: transparent !important; border: 0 !important; min-height: 0 !important; padding: 0 24px 0 2px !important; box-shadow: none !important; }
