* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

button, input, select, textarea {
  font: inherit;
}

a {
  text-underline-offset: 0.22em;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
}

input:not([type=checkbox]):not([type=radio]), select, textarea {
  max-width: 100%;
}

.wp-site-blocks {
  min-height: 100vh;
}

.tovari-main {
  --tovari-shell-inset: max(var(--wp--preset--spacing--30), calc((100vw - var(--wp--style--global--wide-size)) / 2));
  padding: clamp(var(--wp--preset--spacing--40), 5vw, var(--wp--preset--spacing--60)) var(--tovari-shell-inset) clamp(var(--wp--preset--spacing--50), 8vw, var(--wp--preset--spacing--60) * 1.3);
}

.tovari-main > * {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.tovari-main:focus {
  outline: none;
}

.tovari-page-content {
  min-height: 40vh;
}

.tovari-content-narrow {
  max-width: var(--wp--style--global--content-size) !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.tovari-section, .tovari-section * {
  box-sizing: border-box;
}

.tovari-section img {
  max-width: 100%;
  height: auto;
}

.tovari-section a {
  text-underline-offset: 0.22em;
}

.tovari-section :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 4px;
}

.tovari-section {
  margin-block: var(--wp--custom--tovari--layout--section-space);
}

.tovari-section-header {
  margin-bottom: var(--wp--preset--spacing--40);
}

.tovari-container {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.tovari-container > * {
  min-width: 0;
}

.tovari-container > :first-child {
  margin-block-start: 0;
}

.tovari-container > :last-child {
  margin-block-end: 0;
}

.tovari-text > .tovari-container {
  max-width: var(--wp--style--global--content-size);
}

.tovari-header {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding: var(--wp--preset--spacing--30) max(var(--wp--preset--spacing--30), (100vw - var(--wp--style--global--wide-size)) / 2);
}

.tovari-site-navigation {
  gap: var(--wp--preset--spacing--30);
}

.tovari-brand {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.tovari-brand a {
  text-decoration: none;
}

.tovari-navigation-tools {
  gap: var(--wp--preset--spacing--30);
}

.tovari-header-search {
  max-width: 320px;
  width: 100%;
  margin-block: var(--wp--preset--spacing--30) 0;
}

.tovari-header .wp-block-navigation {
  font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 780px) {
  .tovari-header {
    padding-block: var(--wp--preset--spacing--30);
  }
  .tovari-site-navigation {
    gap: var(--wp--preset--spacing--20);
  }
  .tovari-navigation-tools {
    gap: var(--wp--preset--spacing--20);
  }
  .tovari-header-search {
    max-width: none;
  }
}
.tovari-library-navigation .tovari-site-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.tovari-library-navigation .tovari-site-navigation > * {
  min-width: 0;
  margin-block: 0;
}
.tovari-library-navigation .wp-block-navigation {
  margin-inline-start: auto;
}
.tovari-library-navigation.tovari-navigation--centered .tovari-site-navigation {
  flex-direction: column;
}
.tovari-library-navigation.tovari-navigation--centered .wp-block-navigation {
  margin-inline: auto;
}
.tovari-library-navigation .wp-block-navigation__responsive-container.is-menu-open {
  color: var(--wp--preset--color--contrast);
  background: var(--wp--preset--color--base);
}

/* Native logo and optional navigation behavior, shared by public and editor. */
.tovari-navigation-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
  max-width: 100%;
}

.tovari-navigation-brand > * {
  margin-block: 0;
  min-width: 0;
}

.tovari-site-logo {
  max-width: 100%;
}

.tovari-site-logo img {
  width: var(--wp--custom--tovari--navigation--logo-width, 9rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.tovari-library-navigation {
  padding-inline: var(--wp--preset--spacing--30);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.tovari-library-navigation .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.tovari-library-navigation.tovari-navigation-is-transparent {
  background: transparent;
}

.tovari-navigation-is-sticky {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 20;
}

/* Do not let a preview header obscure the editor's block controls. */
.editor-styles-wrapper .tovari-navigation-is-sticky {
  position: relative;
  top: auto;
}

.tovari-navigation-stage {
  display: flow-root;
  position: relative;
  isolation: isolate;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.tovari-navigation-stage > .tovari-navigation-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: var(--wp--custom--tovari--navigation--backdrop-opacity, 0.12);
  z-index: -1;
}
.tovari-navigation-stage > .tovari-navigation-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tovari-navigation-stage > .tovari-header {
  position: relative;
  z-index: 1;
}

/* Keep native destinations available when scripting is disabled. */
@media (scripting: none) {
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation__responsive-container-open,
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation__responsive-container-close,
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation-submenu__toggle {
    display: none;
  }
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation__responsive-container {
    display: block;
    position: static;
  }
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation__container {
    flex-wrap: wrap;
  }
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation-item.has-child {
    align-items: flex-start;
    flex-direction: column;
  }
  :where(.tovari-header, .tovari-library-footer) .wp-block-navigation .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
    position: static;
    visibility: visible;
    opacity: 1;
    width: auto;
    height: auto;
    min-width: 0;
    overflow: visible;
    border: 0;
    padding-inline-start: var(--wp--preset--spacing--20);
  }
  .tovari-navigation-is-sticky {
    position: static;
  }
}
.tovari-section.tovari-centered {
  text-align: center;
}

.tovari-section.tovari-centered > * {
  margin-inline: auto;
}

.tovari-section.tovari-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--50);
  align-items: center;
}

.tovari-fit-contain img {
  object-fit: contain;
}

.tovari-fit-cover img {
  object-fit: cover;
}

@media (max-width: 780px) {
  .tovari-section.tovari-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tovari-hero:not(.hero--section) {
  padding-block: clamp(var(--wp--preset--spacing--30), 4vw, var(--wp--preset--spacing--50)) clamp(var(--wp--preset--spacing--40), 6vw, var(--wp--preset--spacing--60));
}

.tovari-hero-title:not(.hero--title) {
  font-size: var(--wp--preset--font-size--display);
  line-height: var(--wp--custom--typography--display--line-height);
  letter-spacing: var(--wp--custom--typography--display--letter-spacing);
  max-width: var(--wp--style--global--wide-size);
}

.tovari-footer:not(.footer--section), .tovari-base-footer:not(.footer--section) {
  border-top: 1px solid var(--wp--preset--color--line);
  padding: var(--wp--preset--spacing--50) max(var(--wp--preset--spacing--30), (100vw - var(--wp--style--global--wide-size)) / 2);
}

/* Tovari section: Typography */
:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6, p, li) {
  font-family: var(--wp--preset--font-family--body);
  color: inherit;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(p, li) {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--typography--body--font-weight);
  line-height: var(--wp--custom--typography--body--line-height);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--wp--preset--font-family--heading, var(--wp--preset--font-family--body));
  font-weight: var(--wp--custom--typography--heading--font-weight);
  line-height: var(--wp--custom--typography--heading--line-height);
  letter-spacing: var(--wp--custom--typography--heading--letter-spacing);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1) {
  font-size: var(--wp--preset--font-size--display);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h2) {
  font-size: var(--wp--preset--font-size--x-large);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h3, h4) {
  font-size: var(--wp--preset--font-size--large);
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h5, h6) {
  font-size: var(--wp--preset--font-size--medium);
}

:where(.tovari-eyebrow, .custom--hero-eyebrow) {
  font-size: var(--wp--preset--font-size--small);
  line-height: var(--wp--custom--typography--eyebrow--line-height);
  text-transform: uppercase;
  letter-spacing: var(--wp--custom--typography--eyebrow--letter-spacing);
  font-weight: var(--wp--custom--typography--eyebrow--font-weight);
}

:where(.tovari-lead) {
  font-size: var(--wp--preset--font-size--large);
  line-height: var(--wp--custom--typography--lead--line-height);
  max-width: var(--wp--style--global--content-size);
  color: var(--wp--preset--color--muted);
}

.tovari-system-page :where(.wp-block-search__label, .wp-block-search__input) {
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--typography--body--font-weight);
  line-height: var(--wp--custom--typography--body--line-height);
}

:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters, .wp-block-table) :where(label, input, select, textarea, th, td, small) {
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  line-height: var(--wp--custom--typography--body--line-height);
}

:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-copy, .tovari-collection) a:not(.wp-element-button) {
  text-underline-offset: 0.2em;
}

:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-copy, .tovari-collection) a:not(.wp-element-button):hover {
  text-decoration-thickness: 0.16em;
}

:where(.tovari-main, .editor-styles-wrapper) a:focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}

:where(.tovari-main, .editor-styles-wrapper) .wp-block-table figcaption {
  color: var(--wp--preset--color--muted);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--small);
}

:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) ::placeholder {
  color: var(--wp--preset--color--muted);
  opacity: 1;
}

.tovari-form .gform-theme.gform-theme--framework.gform_wrapper {
  --gf-font-family-base: var(--wp--preset--font-family--body);
  --gf-font-size-primary: var(--wp--preset--font-size--medium);
  --gf-font-size-secondary: var(--wp--preset--font-size--small);
  --gf-font-weight-primary: var(--wp--custom--typography--body--font-weight);
  --gf-line-height-primary: var(--wp--custom--typography--body--line-height);
}

/* Tovari section: Buttons */
:where(.tovari-main, .tovari-footer, .editor-styles-wrapper) :where(.wp-block-button__link, .wp-element-button, .button, input[type=submit], input[type=button], input[type=reset], button[type=submit]) {
  box-sizing: border-box;
  display: inline-block;
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
  border-radius: var(--wp--custom--button--border-radius);
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--typography--button--font-weight);
  line-height: var(--wp--custom--typography--button--line-height);
  text-align: center;
  text-decoration: none;
}

.content--section.cta--section .wp-block-buttons {
  align-items: center;
}

.tovari-account button {
  min-height: 44px;
  border-radius: 6px;
}

.wp-block-woocommerce-product-button {
  margin-top: var(--wp--preset--spacing--20);
}

@media (width < 545px) {
  :where(.tovari-main, .tovari-footer, .editor-styles-wrapper) :where(.wp-block-buttons, .wp-block-button, .wp-block-button__link, .wp-element-button, .button, input[type=submit], input[type=button], input[type=reset], button[type=submit]) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  :where(.tovari-main, .tovari-footer, .editor-styles-wrapper) .wp-block-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  :where(.tovari-main, .tovari-footer, .editor-styles-wrapper) .wp-block-button {
    flex-basis: auto !important;
    flex-shrink: 0 !important;
  }
}
.custom--hero .wp-block-buttons, .custom--hero-slider .wp-block-buttons {
  gap: var(--wp--preset--spacing--20);
}
.custom--hero.is-style-workshop-hero-image-overlay .wp-block-button__link, .custom--hero.custom--hero-slider-image .wp-block-button__link,
.custom--hero .custom--hero-slider-image .wp-block-button__link, .custom--hero-slider.is-style-workshop-hero-image-overlay .wp-block-button__link, .custom--hero-slider.custom--hero-slider-image .wp-block-button__link,
.custom--hero-slider .custom--hero-slider-image .wp-block-button__link {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
  border: 2px solid var(--wp--preset--color--base);
}
.custom--hero.is-style-workshop-hero-image-overlay .is-style-outline .wp-block-button__link, .custom--hero.custom--hero-slider-image .is-style-outline .wp-block-button__link,
.custom--hero .custom--hero-slider-image .is-style-outline .wp-block-button__link, .custom--hero-slider.is-style-workshop-hero-image-overlay .is-style-outline .wp-block-button__link, .custom--hero-slider.custom--hero-slider-image .is-style-outline .wp-block-button__link,
.custom--hero-slider .custom--hero-slider-image .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--wp--custom--tovari--hero--overlay-text);
}

.custom--hero-controls, .tovari-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 0 20px;
}
.custom--hero-controls button, .tovari-carousel-controls button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--wp--preset--color--contrast);
  border-radius: var(--wp--custom--tovari--slider--control-radius);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.custom--hero-controls button[aria-current=true], .tovari-carousel-controls button[aria-current=true] {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}
.custom--hero-controls button:focus-visible, .tovari-carousel-controls button:focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}
.custom--hero-controls button:disabled, .tovari-carousel-controls button:disabled {
  opacity: 0.6;
  cursor: default;
}

.tovari-system-page .wp-block-search__button {
  margin-inline-start: 0;
}

:where(.tovari-main, .editor-styles-wrapper) :where(.wp-element-button, .wp-block-button__link):hover:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:where(.tovari-main, .editor-styles-wrapper) :where(.wp-element-button, .wp-block-button__link):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}

:where(.tovari-main, .editor-styles-wrapper) .wp-element-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tovari-form .gform-theme.gform-theme--framework.gform_wrapper {
  --gf-ctrl-btn-font-family: var(--wp--preset--font-family--body);
  --gf-ctrl-btn-font-size: var(--wp--preset--font-size--medium);
}

@media (width < 545px) {
  .tovari-form .gform-theme.gform-theme--framework.gform_wrapper :is(.gform_footer, .gform_page_footer) {
    flex-direction: column;
    align-items: stretch;
  }
  .tovari-form .gform-theme.gform-theme--framework.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button) {
    width: 100% !important;
    max-width: none !important;
  }
}
/* Tovari section: Hero */
.hero--section {
  padding-block: clamp(var(--wp--preset--spacing--30), 4vw, var(--wp--preset--spacing--50)) clamp(var(--wp--preset--spacing--40), 6vw, var(--wp--preset--spacing--60));
}
.hero--section > .hero--row {
  min-width: 0;
}
.hero--section .hero--title {
  max-width: var(--wp--style--global--wide-size);
}
.hero--section .hero--image {
  margin-inline: 0;
}

:where(.hero--section .hero--title) {
  font-size: var(--wp--preset--font-size--display);
  line-height: var(--wp--custom--typography--display--line-height);
  letter-spacing: var(--wp--custom--typography--display--letter-spacing);
}

.custom--hero, .custom--hero-slider {
  padding-block: var(--wp--custom--tovari--hero--padding-block);
  padding-inline: var(--wp--custom--tovari--hero--padding-inline);
  border-radius: var(--wp--custom--tovari--hero--radius);
  background: var(--wp--custom--tovari--hero--background);
}
.custom--hero .custom--hero-row, .custom--hero-slider .custom--hero-row {
  min-width: 0;
}
.custom--hero .custom--hero-copy, .custom--hero-slider .custom--hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}
.custom--hero .custom--hero-body, .custom--hero-slider .custom--hero-body {
  max-width: var(--wp--custom--tovari--hero--copy-width);
}
.custom--hero .custom--hero-title, .custom--hero-slider .custom--hero-title {
  margin-block: 0.25em 0.45em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.custom--hero .custom--hero-image, .custom--hero-slider .custom--hero-image {
  margin: 0;
  min-width: 0;
  position: relative;
}
.custom--hero .custom--hero-image img, .custom--hero-slider .custom--hero-image img {
  width: 100%;
  height: 100%;
  object-fit: var(--wp--custom--tovari--hero--image-fit);
  aspect-ratio: var(--wp--custom--tovari--hero--image-ratio);
  border-radius: var(--wp--custom--tovari--hero--radius);
}
.custom--hero .custom--hero-row, .custom--hero .custom--hero-slide-layout, .custom--hero-slider .custom--hero-row, .custom--hero-slider .custom--hero-slide-layout {
  display: grid;
  gap: var(--wp--custom--tovari--hero--gap);
  align-items: center;
}
.custom--hero.is-style-workshop-hero-split-left .custom--hero-row, .custom--hero.is-style-workshop-hero-split-right .custom--hero-row, .custom--hero.custom--hero-slider-split .custom--hero-slide-layout,
.custom--hero .custom--hero-slider-split .custom--hero-slide-layout, .custom--hero-slider.is-style-workshop-hero-split-left .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-split-right .custom--hero-row, .custom--hero-slider.custom--hero-slider-split .custom--hero-slide-layout,
.custom--hero-slider .custom--hero-slider-split .custom--hero-slide-layout {
  grid-template-columns: var(--wp--custom--tovari--hero--split-columns);
}
.custom--hero.is-style-workshop-hero-split-right .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-split-right .custom--hero-image {
  order: -1;
}
.custom--hero.is-style-workshop-hero-centered .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-centered .custom--hero-row {
  text-align: center;
}
.custom--hero.is-style-workshop-hero-centered .custom--hero-copy, .custom--hero-slider.is-style-workshop-hero-centered .custom--hero-copy {
  max-width: var(--wp--custom--tovari--hero--centered-width);
  margin-inline: auto;
}
.custom--hero.is-style-workshop-hero-centered .custom--hero-body, .custom--hero-slider.is-style-workshop-hero-centered .custom--hero-body {
  margin-inline: auto;
}
.custom--hero.is-style-workshop-hero-centered .wp-block-buttons, .custom--hero-slider.is-style-workshop-hero-centered .wp-block-buttons {
  justify-content: center;
}
.custom--hero.is-style-workshop-hero-centered .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-centered .custom--hero-image img {
  aspect-ratio: var(--wp--custom--tovari--hero--wide-ratio);
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-row, .custom--hero.is-style-workshop-hero-image-overlay .custom--hero-slide-layout, .custom--hero.custom--hero-slider-image .custom--hero-row, .custom--hero.custom--hero-slider-image .custom--hero-slide-layout,
.custom--hero .custom--hero-slider-image .custom--hero-row,
.custom--hero .custom--hero-slider-image .custom--hero-slide-layout, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-slide-layout, .custom--hero-slider.custom--hero-slider-image .custom--hero-row, .custom--hero-slider.custom--hero-slider-image .custom--hero-slide-layout,
.custom--hero-slider .custom--hero-slider-image .custom--hero-row,
.custom--hero-slider .custom--hero-slider-image .custom--hero-slide-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  isolation: isolate;
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-copy, .custom--hero.is-style-workshop-hero-image-overlay .custom--hero-image, .custom--hero.custom--hero-slider-image .custom--hero-copy, .custom--hero.custom--hero-slider-image .custom--hero-image,
.custom--hero .custom--hero-slider-image .custom--hero-copy,
.custom--hero .custom--hero-slider-image .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-copy, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-image, .custom--hero-slider.custom--hero-slider-image .custom--hero-copy, .custom--hero-slider.custom--hero-slider-image .custom--hero-image,
.custom--hero-slider .custom--hero-slider-image .custom--hero-copy,
.custom--hero-slider .custom--hero-slider-image .custom--hero-image {
  grid-area: 1/1;
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-copy, .custom--hero.custom--hero-slider-image .custom--hero-copy,
.custom--hero .custom--hero-slider-image .custom--hero-copy, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-copy, .custom--hero-slider.custom--hero-slider-image .custom--hero-copy,
.custom--hero-slider .custom--hero-slider-image .custom--hero-copy {
  padding: var(--wp--custom--tovari--hero--overlay-padding);
  color: var(--wp--custom--tovari--hero--overlay-text);
  max-width: var(--wp--custom--tovari--hero--overlay-width);
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-image, .custom--hero.custom--hero-slider-image .custom--hero-image,
.custom--hero .custom--hero-slider-image .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-image, .custom--hero-slider.custom--hero-slider-image .custom--hero-image,
.custom--hero-slider .custom--hero-slider-image .custom--hero-image {
  align-self: stretch;
  min-height: var(--wp--custom--tovari--hero--min-height);
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-image img, .custom--hero.custom--hero-slider-image .custom--hero-image img,
.custom--hero .custom--hero-slider-image .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-image img, .custom--hero-slider.custom--hero-slider-image .custom--hero-image img,
.custom--hero-slider .custom--hero-slider-image .custom--hero-image img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.custom--hero.is-style-workshop-hero-image-overlay .custom--hero-image::after, .custom--hero.custom--hero-slider-image .custom--hero-image::after,
.custom--hero .custom--hero-slider-image .custom--hero-image::after, .custom--hero-slider.is-style-workshop-hero-image-overlay .custom--hero-image::after, .custom--hero-slider.custom--hero-slider-image .custom--hero-image::after,
.custom--hero-slider .custom--hero-slider-image .custom--hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--wp--custom--tovari--hero--radius);
  background: var(--wp--custom--tovari--hero--overlay);
}
.custom--hero.is-style-workshop-hero-editorial .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-row {
  grid-template-columns: var(--wp--custom--tovari--hero--editorial-columns);
  align-items: end;
}
.custom--hero.is-style-workshop-hero-editorial .custom--hero-title, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-title {
  font-size: var(--wp--custom--tovari--hero--editorial-title-size);
}
.custom--hero.is-style-workshop-hero-editorial .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-image {
  padding-block-end: var(--wp--custom--tovari--hero--editorial-offset);
}
.custom--hero.is-style-workshop-hero-editorial .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-image img {
  aspect-ratio: var(--wp--custom--tovari--hero--portrait-ratio);
  border-radius: var(--wp--custom--tovari--hero--editorial-radius);
}
.custom--hero.is-style-workshop-hero-image-card .custom--hero-title, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-title {
  font-size: var(--wp--custom--tovari--hero--card-title-size);
}
.custom--hero.is-style-workshop-hero-image-card .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  align-items: end;
}
.custom--hero.is-style-workshop-hero-image-card .custom--hero-copy, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-copy {
  grid-column: 1/8;
  grid-row: 1;
  margin-top: var(--wp--custom--tovari--hero--card-offset);
  padding: var(--wp--custom--tovari--hero--card-padding);
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--hero--radius);
}
.custom--hero.is-style-workshop-hero-image-card .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-image {
  grid-column: 3/-1;
  grid-row: 1;
  align-self: start;
}
.custom--hero.is-style-workshop-hero-image-card .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-image img {
  aspect-ratio: var(--wp--custom--tovari--hero--card-image-ratio);
}
.custom--hero .custom--hero-slide-layout, .custom--hero-slider .custom--hero-slide-layout {
  margin: 0;
}
.custom--hero .custom--hero-slider, .custom--hero-slider .custom--hero-slider {
  min-width: 0;
}
.custom--hero .custom--hero-track, .custom--hero-slider .custom--hero-track {
  touch-action: pan-y pinch-zoom;
}
.custom--hero .custom--hero-slide, .custom--hero-slider .custom--hero-slide {
  margin-block: 0 32px;
}
.custom--hero .custom--hero-slide[hidden], .custom--hero-slider .custom--hero-slide[hidden] {
  display: none;
}
.custom--hero .custom--hero-slider[data-enhanced] .custom--hero-slide, .custom--hero-slider .custom--hero-slider[data-enhanced] .custom--hero-slide {
  margin: 0;
}
.custom--hero .custom--hero-editor-note, .custom--hero-slider .custom--hero-editor-note {
  padding: 12px 16px;
  background: var(--wp--preset--color--base);
  border: 1px dashed var(--wp--preset--color--line);
}
@media (max-width: 781px) {
  .custom--hero.is-style-workshop-hero-split-left .custom--hero-row, .custom--hero.is-style-workshop-hero-split-right .custom--hero-row, .custom--hero.is-style-workshop-hero-editorial .custom--hero-row, .custom--hero.custom--hero-slider-split .custom--hero-slide-layout,
  .custom--hero .custom--hero-slider-split .custom--hero-slide-layout, .custom--hero-slider.is-style-workshop-hero-split-left .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-split-right .custom--hero-row, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-row, .custom--hero-slider.custom--hero-slider-split .custom--hero-slide-layout,
  .custom--hero-slider .custom--hero-slider-split .custom--hero-slide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .custom--hero.is-style-workshop-hero-split-right .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-split-right .custom--hero-image {
    order: 0;
  }
  .custom--hero.is-style-workshop-hero-editorial .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-image {
    padding: 0;
  }
  .custom--hero.is-style-workshop-hero-editorial .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-editorial .custom--hero-image img {
    aspect-ratio: var(--wp--custom--tovari--hero--image-ratio);
  }
  .custom--hero.is-style-workshop-hero-centered .custom--hero-image img, .custom--hero-slider.is-style-workshop-hero-centered .custom--hero-image img {
    aspect-ratio: var(--wp--custom--tovari--hero--image-ratio);
  }
  .custom--hero.is-style-workshop-hero-image-card .custom--hero-copy, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-copy {
    grid-column: 1/-1;
    grid-row: 2;
    margin: var(--wp--custom--tovari--hero--card-mobile-margin);
  }
  .custom--hero.is-style-workshop-hero-image-card .custom--hero-image, .custom--hero-slider.is-style-workshop-hero-image-card .custom--hero-image {
    grid-column: 1/-1;
  }
}

.custom--hero .custom--hero-slider {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.custom--hero-slider .custom--hero-slide[hidden] {
  display: none;
}

.custom--hero-image.tovari-fit-contain img {
  object-fit: contain;
}

.custom--hero-image.tovari-fit-cover img {
  object-fit: cover;
}

.custom--hero-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.custom--hero, .custom--hero-slider {
  container-type: inline-size;
}

@container (max-width: 720px) {
  .custom--hero.is-style-workshop-hero-split-left .custom--hero-row,
  .custom--hero.is-style-workshop-hero-split-right .custom--hero-row,
  .custom--hero.is-style-workshop-hero-editorial .custom--hero-row,
  .custom--hero-slider-split .custom--hero-slide-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .custom--hero.is-style-workshop-hero-split-right .custom--hero-image {
    order: 0;
  }
  .custom--hero.is-style-workshop-hero-editorial .custom--hero-image {
    padding: 0;
  }
  .custom--hero.is-style-workshop-hero-editorial .custom--hero-image img {
    aspect-ratio: var(--wp--custom--tovari--hero--image-ratio);
  }
  .custom--hero.is-style-workshop-hero-image-card .custom--hero-copy {
    grid-column: 1/-1;
    grid-row: 2;
    margin: var(--wp--custom--tovari--hero--card-mobile-margin);
  }
  .custom--hero.is-style-workshop-hero-image-card .custom--hero-image {
    grid-column: 1/-1;
  }
}
/* Tovari section: Header */
.header--section {
  margin-block: var(--wp--preset--spacing--40);
}
.header--section > .header--row {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}
.header--section .header--title {
  max-width: var(--wp--style--global--content-size);
}
.header--section .header--image {
  margin-inline: 0;
}

/* Tovari section: Content */
.content--section > .content--row {
  min-width: 0;
}
.content--section .content--info--block {
  min-width: 0;
}

.tovari-library-content-extended > .content--row {
  max-width: var(--wp--style--global--wide-size);
}
.tovari-library-content-extended .content--info--block {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tovari-library-content-extended .tovari-content-introduction {
  max-width: var(--wp--style--global--content-size);
}
.tovari-library-content-extended .tovari-content-items {
  display: grid;
  gap: var(--wp--custom--tovari--layout--gap);
}
.tovari-library-content-extended .tovari-content-items > * {
  min-width: 0;
  margin-block: 0;
}
.tovari-library-content-extended.tovari-content-layout--grid .tovari-content-items {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--tovari--card--min-width)), 1fr));
}
.tovari-library-content-extended.tovari-content--process .tovari-content-items {
  padding-inline-start: 1.5em;
  column-gap: calc(var(--wp--custom--tovari--layout--gap) + 1.5em);
}
.tovari-library-content-extended.tovari-content--process .tovari-content-items li {
  padding-inline-start: 0.25em;
  overflow-wrap: anywhere;
}
.tovari-library-content-extended.tovari-content--process .tovari-content-items li::marker {
  font-weight: 700;
}
@media (min-width: 782px) {
  .tovari-library-content-extended.tovari-content--asymmetric.tovari-content-layout--wide-left .tovari-content-items {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
  .tovari-library-content-extended.tovari-content--asymmetric.tovari-content-layout--wide-right .tovari-content-items {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
  .tovari-library-content-extended.tovari-content--asymmetric.tovari-content-layout--equal .tovari-content-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tovari-library-content-extended.tovari-content--asymmetric .tovari-content-item:only-child {
    grid-column: 1/-1;
  }
}
.tovari-library-content-extended.tovari-content--full-media .tovari-media-image {
  width: 100%;
  margin-inline: 0;
}
.tovari-library-content-extended.tovari-content--full-media.tovari-content-layout--full {
  width: calc(100% + 2 * var(--tovari-shell-inset, 0px));
  max-width: none;
  margin-inline: calc(-1 * var(--tovari-shell-inset, 0px));
}
.tovari-library-content-extended.tovari-content--full-media.tovari-content-layout--full > .content--row {
  max-width: none;
}
.tovari-library-content-extended.tovari-content--full-media.tovari-content-layout--full .tovari-content-introduction, .tovari-library-content-extended.tovari-content--full-media.tovari-content-layout--full figcaption, .tovari-library-content-extended.tovari-content--full-media.tovari-content-layout--full > .content--row > .wp-block-buttons {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--wp--style--global--content-size) + 2 * var(--wp--preset--spacing--30));
  padding-inline: var(--wp--preset--spacing--30);
  margin-inline: auto;
}

.tovari-panel {
  padding: clamp(var(--wp--preset--spacing--30), 4vw, var(--wp--preset--spacing--50));
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
}

.tovari-notice {
  border-left: 3px solid var(--wp--preset--color--accent);
  padding-left: var(--wp--preset--spacing--30);
  color: var(--wp--preset--color--muted);
}

.tovari-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--wp--custom--tovari--card--columns), minmax(0, 1fr));
  gap: var(--wp--preset--spacing--30);
}

.tovari-card-grid > * {
  min-width: 0;
  margin: 0;
}

.tovari-card {
  padding: var(--wp--custom--tovari--card--padding);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
}

.tovari-card > :first-child {
  margin-block-start: 0;
}

.tovari-card > :last-child {
  margin-block-end: 0;
}

.tovari-cards.is-style-tovari-auto-grid .tovari-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--tovari--card--min-width)), 1fr));
}

@media (max-width: 780px) {
  .tovari-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tovari-library-cards, .tovari-library-card-carousel {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tovari-library-cards .tovari-card, .tovari-library-cards .tovari-card-copy, .tovari-library-card-carousel .tovari-card, .tovari-library-card-carousel .tovari-card-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tovari-library-cards .tovari-media-image, .tovari-library-card-carousel .tovari-media-image {
  margin: 0;
}
.tovari-library-cards .tovari-card-copy > :first-child, .tovari-library-card-carousel .tovari-card-copy > :first-child {
  margin-block-start: 0;
}
.tovari-library-cards .tovari-card-copy > :last-child, .tovari-library-card-carousel .tovari-card-copy > :last-child {
  margin-block-end: 0;
}

.tovari-library-cards.tovari-card-layout--grid > .content--row > .tovari-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--tovari--card--min-width)), 1fr));
}

.tovari-library-cards.tovari-card-layout--list .tovari-card-grid {
  grid-template-columns: minmax(0, 1fr);
}

.tovari-library-cards.tovari-card-layout--list .tovari-card-grid,
.tovari-card-carousel {
  container-type: inline-size;
}

.tovari-library-cards.tovari-card-layout--list .tovari-card,
.tovari-card-carousel--horizontal .tovari-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--wp--custom--tovari--layout--gap);
  align-items: start;
}
.tovari-library-cards.tovari-card-layout--list .tovari-card .tovari-card-copy,
.tovari-card-carousel--horizontal .tovari-card .tovari-card-copy {
  margin-block: 0;
}
.tovari-library-cards.tovari-card-layout--list .tovari-card .tovari-card-copy:only-child,
.tovari-card-carousel--horizontal .tovari-card .tovari-card-copy:only-child {
  grid-column: 1/-1;
}

@container (max-width: 720px) {
  .tovari-library-cards.tovari-card-layout--list .tovari-card,
  .tovari-card-carousel--horizontal .tovari-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tovari-card-carousel {
  min-width: 0;
}
.tovari-card-carousel .tovari-card-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  touch-action: pan-y pinch-zoom;
}
.tovari-card-carousel .tovari-card[hidden] {
  display: none;
}
.tovari-card-carousel .tovari-carousel-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tovari-card-carousel .tovari-carousel-editor-note {
  padding: var(--wp--preset--spacing--20);
  border: 1px dashed var(--wp--preset--color--line);
}

.tovari-hero__content, .tovari-header__content, .tovari-image-text__content, .tovari-cta__content {
  min-width: 0;
}

.tovari-section.is-style-tovari-centered > .tovari-container {
  text-align: center;
}

.tovari-section.is-style-tovari-centered > .tovari-container > * {
  margin-inline: auto;
}

.tovari-section.is-style-tovari-centered .wp-block-buttons {
  justify-content: center;
}

.tovari-section.is-style-tovari-split > .tovari-container {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--layout--split-columns);
  align-items: center;
  gap: var(--wp--custom--tovari--layout--gap);
}

.tovari-section.is-style-tovari-split > .tovari-container > * {
  margin-block: 0;
}

.tovari-section .wp-block-image {
  width: 100%;
}

.tovari-section .wp-block-image img {
  display: block;
  width: 100%;
}

@media (max-width: 780px) {
  .tovari-section.is-style-tovari-split > .tovari-container {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--wp--preset--spacing--40);
  }
}
:where(.tovari-fit-contain) img {
  object-fit: contain;
}

:where(.tovari-fit-cover) img {
  object-fit: cover;
}

.tovari-library-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--tovari--card--min-width)), 1fr));
  gap: var(--wp--custom--tovari--layout--gap);
}
.tovari-library-columns > * {
  min-width: 0;
  margin-block: 0;
}

.tovari-library-image img {
  aspect-ratio: var(--wp--custom--tovari--library--image-ratio, 4/3);
  object-fit: var(--wp--custom--tovari--library--image-fit, cover);
}

.tovari-library-portrait img {
  aspect-ratio: var(--wp--custom--tovari--library--portrait-ratio, 1);
}

.tovari-library-image.tovari-fit-contain img {
  object-fit: contain;
}

.tovari-library-image.tovari-fit-cover img {
  object-fit: cover;
}

.tovari-library-logo img {
  aspect-ratio: var(--wp--custom--tovari--library--logo-ratio, 3/1);
  object-fit: contain;
}

.tovari-library-trust .wp-block-quote {
  margin: 0;
  padding-inline-start: var(--wp--preset--spacing--30);
  border-inline-start: 2px solid var(--wp--preset--color--accent);
}

.tovari-library-trust .wp-block-quote cite {
  display: block;
  color: var(--wp--preset--color--muted);
}

.tovari-library-value {
  font-size: var(--wp--preset--font-size--x-large);
  font-weight: var(--wp--custom--typography--heading--font-weight);
  overflow-wrap: anywhere;
}

.tovari-library-cta > .tovari-container {
  padding: var(--wp--custom--tovari--card--padding);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
}

.tovari-library-expandable > .tovari-container > * {
  min-width: 0;
}
.tovari-library-expandable.tovari-expandable--split > .tovari-container {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--layout--split-columns);
  gap: var(--wp--custom--tovari--layout--gap);
  align-items: start;
}
.tovari-library-expandable.tovari-expandable--split > .tovari-container > * {
  margin-block: 0;
}
.tovari-library-expandable .wp-block-details {
  padding-block: var(--wp--preset--spacing--30);
  border-block-end: 1px solid var(--wp--preset--color--line);
}
.tovari-library-expandable summary {
  cursor: pointer;
  font-weight: var(--wp--custom--typography--heading--font-weight);
}
.tovari-library-expandable .wp-block-details > :not(summary) {
  margin-block-start: var(--wp--preset--spacing--30);
}
.tovari-library-expandable .wp-block-accordion-item {
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
  overflow: clip;
}
.tovari-library-expandable .wp-block-accordion-heading {
  margin: 0;
}
.tovari-library-expandable .wp-block-accordion-heading__toggle {
  padding: var(--wp--preset--spacing--30);
  color: var(--wp--preset--color--contrast);
  background: var(--wp--preset--color--surface);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--medium);
  text-align: start;
}
.tovari-library-expandable .tovari-expandable-panel-content {
  padding: var(--wp--preset--spacing--30);
}
.tovari-library-expandable .wp-block-tab-list {
  gap: var(--wp--preset--spacing--20);
}
.tovari-library-expandable .wp-block-tab-list button {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: var(--wp--preset--spacing--30);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
  font: inherit;
}
.tovari-library-expandable .wp-block-tab-list button[aria-selected=true] {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent-contrast);
}
.tovari-library-expandable .wp-block-tab-panel {
  padding: var(--wp--custom--tovari--card--padding);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--tovari--card--radius);
}
.tovari-library-expandable :is(summary, .wp-block-accordion-heading__toggle, .wp-block-tab-list button, .wp-block-tab-panel):focus-visible {
  outline: 2px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}
.tovari-library-expandable button.wp-block-accordion-heading__toggle:focus-visible {
  outline-offset: -3px;
}

.tovari-expandable-media {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--layout--split-columns);
  gap: var(--wp--custom--tovari--layout--gap);
  align-items: start;
}
.tovari-expandable-media > * {
  min-width: 0;
  margin-block: 0;
}

@media (max-width: 780px) {
  .tovari-library-expandable.tovari-expandable--split > .tovari-container, .tovari-expandable-media {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (scripting: none) {
  .tovari-library-expandable .wp-block-tab-list {
    display: none;
  }
  .tovari-library-expandable .wp-block-tab-panel[hidden] {
    display: block !important;
  }
  .tovari-library-expandable .wp-block-tab-panel + .wp-block-tab-panel {
    margin-block-start: var(--wp--preset--spacing--30);
  }
}
.tovari-library-media > .tovari-container > * {
  min-width: 0;
}
.tovari-library-media.tovari-media--split > .tovari-container {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--layout--split-columns);
  gap: var(--wp--custom--tovari--layout--gap);
  align-items: start;
}
.tovari-library-media.tovari-media--split > .tovari-container > * {
  margin-block: 0;
}
.tovari-library-media figure.wp-block-image.tovari-media-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-media-ratio--natural img {
  aspect-ratio: auto;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-media-ratio--landscape img {
  aspect-ratio: 4 / 3;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-media-ratio--wide img {
  aspect-ratio: 16 / 9;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-media-ratio--square img {
  aspect-ratio: 1;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-media-ratio--portrait img {
  aspect-ratio: 3 / 4;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-fit-contain img {
  object-fit: contain;
}
.tovari-library-media figure.wp-block-image.tovari-media-image.tovari-fit-cover img {
  object-fit: cover;
}
.tovari-library-media .wp-block-video video {
  display: block;
  width: 100%;
  height: auto;
}
.tovari-library-media figcaption {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  overflow-wrap: anywhere;
}
.tovari-library-media .wp-block-gallery.tovari-media-gallery figure.wp-block-image figcaption {
  position: static;
  max-height: none;
  padding: var(--wp--preset--spacing--20) 0 0;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  background: none;
  text-shadow: none;
  overflow: visible;
  text-align: start;
}
.tovari-library-media .wp-block-gallery.tovari-media-gallery figure.wp-block-image:has(figcaption)::before {
  content: none;
}
.tovari-library-media :is(.lightbox-trigger, video):focus-visible {
  outline: 2px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .tovari-library-media.tovari-media--split > .tovari-container {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (scripting: none) {
  .tovari-library-media .lightbox-trigger {
    display: none;
  }
}
.tovari-system-page .wp-block-search {
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
  text-align: start;
}

.tovari-system-page .wp-block-search__inside-wrapper {
  gap: var(--wp--preset--spacing--20);
}

.tovari-system-page .wp-block-search__input {
  box-sizing: border-box;
  min-width: 0;
  padding: var(--wp--preset--spacing--20);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}

.tovari-search-results .wp-block-post {
  padding-block: var(--wp--preset--spacing--30);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.tovari-search-results .wp-block-query-pagination {
  gap: var(--wp--preset--spacing--20);
  margin-block-start: var(--wp--preset--spacing--40);
  flex-wrap: wrap;
}

@media (width < 545px) {
  .tovari-system-page .wp-block-search__inside-wrapper {
    flex-direction: column;
  }
}
:where(.tovari-main, .editor-styles-wrapper) :where(.wp-block-table) {
  overflow-x: auto;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.wp-block-table table) {
  border-collapse: collapse;
  width: 100%;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.wp-block-table th, .wp-block-table td) {
  padding: var(--wp--preset--spacing--20);
  border: 1px solid var(--wp--preset--color--muted);
  text-align: start;
  vertical-align: top;
  overflow-wrap: normal;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.wp-block-table thead) {
  background: var(--wp--preset--color--surface);
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) {
  margin-block: var(--wp--preset--spacing--30);
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) label {
  display: grid;
  gap: var(--wp--preset--spacing--10);
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) :where(input:not([type=checkbox], [type=radio], [type=hidden]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: var(--wp--preset--spacing--20);
  border: 1px solid var(--wp--preset--color--muted);
  border-radius: var(--wp--custom--button--border-radius);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) :where(input, select, textarea):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus);
  outline-offset: 3px;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) :where(input, select, textarea):disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) [aria-invalid=true] {
  border-width: 3px;
  border-style: dashed;
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field, .tovari-collection__filters) :where(input[type=checkbox], input[type=radio]) {
  width: 24px;
  height: 24px;
  accent-color: var(--wp--preset--color--contrast);
}
:where(.tovari-main, .editor-styles-wrapper) :where(.tovari-field--checkbox, .tovari-field--radio) label {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
}

.tovari-collection {
  min-width: 0;
}
.tovari-collection__filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
}
.tovari-collection__filters label {
  flex: 1 1 16rem;
}
.tovari-collection__items {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--wp--preset--spacing--40);
}
.tovari-collection__item {
  min-width: 0;
  padding: var(--wp--preset--spacing--30);
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--button--border-radius);
}
.tovari-collection__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.tovari-collection__copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tovari-collection__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wp--preset--spacing--30);
  margin-block-start: var(--wp--preset--spacing--30);
}
.tovari-collection__pagination a {
  padding: var(--wp--preset--spacing--20);
}
.tovari-collection--list .tovari-collection__items {
  grid-template-columns: 1fr;
}
.tovari-collection--list .tovari-collection__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--wp--preset--spacing--30);
}
.tovari-collection--list .tovari-collection__copy:only-child {
  grid-column: 1/-1;
}
.tovari-collection--people .tovari-collection__image img {
  aspect-ratio: 1;
  border-radius: 50%;
}

@media (width < 545px) {
  .tovari-collection--list .tovari-collection__item {
    grid-template-columns: 1fr;
  }
}
.tovari-catalog-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.tovari-catalog-layout > * {
  min-width: 0;
  margin-top: 0;
}

.tovari-catalog-controls {
  gap: 20px;
  margin-bottom: 28px;
}

.tovari-catalog-search {
  max-width: 420px;
  width: 100%;
}

.tovari-catalog .wp-block-woocommerce-product-filters {
  gap: 28px;
}

.tovari-catalog .wp-block-woocommerce-product-collection {
  margin-top: 0;
}

.tovari-product-layout {
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.tovari-product-summary {
  min-width: 0;
}

/* Keep the native product option text and touch target fully visible. */
.tovari-product-summary select {
  line-height: normal;
  min-height: 44px;
}

.tovari-product-summary > * {
  margin-block: 0 22px;
}

.tovari-product-summary h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.tovari-product-meta {
  border-top: 1px solid var(--wp--preset--color--line);
  padding-top: 18px;
  font-size: 0.85rem;
}

.tovari-empty-state {
  padding: 44px 24px;
  border: 1px dashed var(--wp--preset--color--line);
  border-radius: 12px;
  background: var(--wp--preset--color--surface);
}

.tovari-account {
  max-width: var(--wp--style--global--wide-size) !important;
}

.tovari-policy h2 {
  margin-top: 36px;
}

.tovari-faq {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding-block: 20px;
}

.tovari-faq summary {
  font-weight: 650;
  cursor: pointer;
  padding-block: 8px;
}

.tovari-faq p {
  color: var(--wp--preset--color--muted);
  max-width: 65ch;
}

.tovari-404 {
  padding-block: clamp(48px, 10vw, 120px);
}

.tovari-404 h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

/* Public block roots only; internal WooCommerce component markup stays upstream-owned. */
.wp-block-woocommerce-product-image, .wp-block-woocommerce-product-image-gallery {
  border-radius: 14px;
  overflow: hidden;
}

.wp-block-woocommerce-product-results-count, .wp-block-woocommerce-catalog-sorting {
  font-size: 0.875rem;
}

.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout {
  font-size: 1rem;
}

/* Woo prints this public notice at body-open. Keep it in document flow so it
   cannot cover mobile checkout actions or other keyboard/pointer targets. */
.woocommerce-store-notice.demo_store {
  position: static;
  inset: auto;
  width: auto;
  margin: 0;
  padding: 12px 20px;
  font-size: 0.875rem;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
  border-bottom: 1px solid var(--wp--preset--color--line);
  box-shadow: none;
  z-index: auto;
}

.woocommerce-store-notice.demo_store a {
  color: inherit;
}

/* Account remains the documented WooCommerce shortcode in this pinned version. */
.tovari-account input, .tovari-account select, .tovari-account textarea {
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--wp--preset--color--base);
}

.tovari-account nav {
  line-height: 2.5;
}

.tovari-account table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  .tovari-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--wp--preset--spacing--40);
  }
  .tovari-catalog-controls {
    align-items: flex-start;
  }
  .tovari-catalog-search {
    max-width: none;
  }
  .tovari-product-layout {
    gap: var(--wp--preset--spacing--40);
  }
}
.tovari-account th, .tovari-account td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--wp--preset--color--line);
}

/* Portable commerce compositions: own layout classes around native product blocks. */
.tovari-commerce-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: var(--wp--preset--spacing--50);
  margin-block: var(--wp--preset--spacing--40);
}
.tovari-commerce-item > * {
  min-width: 0;
  margin-block: 0;
}

.tovari-commerce-copy {
  overflow-wrap: anywhere;
}
.tovari-commerce-copy > * {
  margin-block: 0 var(--wp--preset--spacing--30);
}

@media (max-width: 780px) {
  .tovari-commerce-item {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tovari-form .gform-theme.gform-theme--framework.gform_wrapper {
  --gf-field-gap-y: var(--wp--preset--spacing--30);
  min-width: 0;
  overflow-wrap: anywhere;
}

.tovari-form .wp-block-column {
  min-width: 0;
}

.tovari-form .gform_confirmation_message {
  padding: var(--wp--preset--spacing--30);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
}

/* Tovari section: Custom */
/* Tovari section: Footer */
.footer--section {
  border-top: 1px solid var(--wp--preset--color--line);
  padding: var(--wp--preset--spacing--50) max(var(--wp--preset--spacing--30), (100vw - var(--wp--style--global--wide-size)) / 2);
}
.footer--section > .footer--row {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}
.footer--section .footer--logo, .footer--section .footer--contact--info {
  min-width: 0;
}
.footer--section .footer--credits {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
}

.tovari-footer-grid {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--footer--columns);
  gap: var(--wp--preset--spacing--40);
  align-items: start;
}

.tovari-footer-copy {
  color: var(--wp--preset--color--muted);
  max-width: var(--wp--style--global--content-size);
}

@media (max-width: 780px) {
  .tovari-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--wp--preset--spacing--40);
  }
}
.tovari-library-footer > .footer--row {
  display: grid;
  grid-template-columns: var(--wp--custom--tovari--footer--library-columns, repeat(3, minmax(0, 1fr)));
  gap: var(--wp--preset--spacing--40);
}
.tovari-library-footer .footer--row > * {
  min-width: 0;
  margin-block: 0;
}
.tovari-library-footer .footer--credits {
  grid-column: 1/-1;
  border-top: 1px solid var(--wp--preset--color--line);
  padding-top: var(--wp--preset--spacing--30);
}
.tovari-library-footer.tovari-footer--simple > .footer--row {
  grid-template-columns: var(--wp--custom--tovari--footer--columns);
}

@media (max-width: 780px) {
  .tovari-library-footer > .footer--row,
  .tovari-library-footer.tovari-footer--simple > .footer--row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tovari-footer-link-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--wp--preset--spacing--40);
}

.tovari-footer-link-group {
  min-width: 0;
  margin-block: 0;
}

.tovari-footer-link-group h2 {
  font-size: var(--wp--preset--font-size--large);
}

.tovari-library-footer.tovari-footer--groups > .footer--row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.tovari-library-footer.tovari-footer--groups .footer--contact--info {
  grid-column: 1/-1;
}
.tovari-library-footer.tovari-footer--groups .wp-block-navigation {
  align-items: flex-start;
}

.tovari-social-links {
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
}
.tovari-social-links.is-style-logos-only .wp-social-link {
  color: inherit;
}
.tovari-social-links .wp-social-link {
  max-width: 100%;
}
.tovari-social-links .wp-block-social-link-anchor {
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.tovari-social-links .wp-block-social-link-label {
  min-width: 0;
  line-height: var(--wp--custom--typography--body--line-height, 1.5);
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  .tovari-library-footer.tovari-footer--groups > .footer--row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Tovari section: Backgrounds */
.bg--primary {
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent-contrast);
}

.bg--secondary {
  background-color: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
}

/* Tovari section: Overrides */
.mb--0 {
  margin-bottom: 0 !important;
}

.pt--0 {
  padding-top: 0 !important;
}
