/* MGardenPro storefront — Prírodné drevo. Scoped to the supported theme. */

.mattio-natural-storefront {
  --mattio-paper: #fbf8f1;
  --mattio-cream: #f4ecdd;
  --mattio-white: #fffefa;
  --mattio-sand: #e5d5bd;
  --mattio-beige: #c3a67f;
  --mattio-brown: #39271c;
  --mattio-olive: #647329;
  --mattio-olive-dark: #4f5d20;
  --mattio-gold: #a9864f;
  --mattio-ink: #241c17;
  --mattio-muted: #70665e;
  --mattio-line: rgba(77, 56, 40, 0.14);
  --mattio-radius-sm: 8px;
  --mattio-radius: 16px;
  --mattio-radius-lg: 28px;
  --mattio-shadow: 0 18px 50px rgba(69, 52, 38, 0.1);
  --mattio-shell: min(1360px, calc(100vw - 56px));
  background: var(--mattio-paper);
}

.mattio-natural-storefront .mattio-promo-bar {
  padding: 0.5rem 0;
  background: #f5e9d6;
  color: var(--mattio-ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
}

.mattio-natural-storefront .mattio-promo-bar .mattio-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.mattio-natural-storefront .mattio-promo-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.mattio-natural-storefront .mattio-site-header {
  position: sticky;
  top: 0;
  border-bottom-color: rgba(77, 56, 40, 0.11);
  background: rgba(255, 254, 250, 0.98);
}

.admin-bar.mattio-natural-storefront .mattio-site-header {
  top: 32px;
}

.mattio-natural-storefront .mattio-site-header.is-scrolled {
  box-shadow: 0 10px 36px rgba(57, 39, 28, 0.09);
}

.mattio-natural-storefront .mattio-header-main {
  min-height: 96px;
  grid-template-columns: minmax(290px, 330px) minmax(300px, 1fr) auto;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.mattio-natural-storefront .mattio-brand {
  min-width: 0;
}

.mattio-natural-storefront .mattio-wordmark {
  display: inline-flex;
  flex-direction: row !important;
  align-items: center;
  gap: 0.75rem;
  color: var(--mattio-brown);
}

.mattio-natural-storefront .mattio-wordmark-logo {
  display: block;
  flex: 0 0 auto;
  width: 92px;
  height: auto;
}

.mattio-natural-storefront .mattio-wordmark > span {
  font-size: clamp(1.8rem, 2.35vw, 2.25rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.mattio-natural-storefront .mattio-wordmark-accent {
  color: var(--mattio-olive);
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.mattio-natural-storefront .mattio-wordmark small {
  display: none;
}

.mattio-natural-storefront .mattio-primary-nav {
  display: none;
}

.mattio-natural-storefront .mattio-header-actions {
  gap: 0.75rem;
}

.mattio-natural-storefront .mattio-header-action {
  min-width: 46px;
  min-height: 46px;
  padding: 0.45rem;
  border-radius: 50%;
}

.mattio-natural-storefront .mattio-header-action > .mattio-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.mattio-natural-storefront .mattio-header-action > span:not(.mattio-cart-status),
.mattio-natural-storefront .mattio-cart-total,
.mattio-natural-storefront .mattio-header-action[href*="oblubene"] {
  display: none;
}

.mattio-natural-storefront .mattio-cart-count {
  position: absolute;
  top: -0.1rem;
  right: -0.1rem;
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--mattio-olive);
  color: #fff;
  font-size: 0.65rem;
  line-height: 1;
}

@media (min-width: 901px) {
  .mattio-natural-storefront .mattio-search-toggle {
    display: none;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline {
    position: relative;
    inset: auto;
    display: block;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline .mattio-search-panel-inner {
    width: 100%;
    gap: 0;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline .mattio-search-form {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) 54px;
    align-items: center;
    overflow: visible;
    border: 1px solid rgba(77, 56, 40, 0.22);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(57, 39, 28, 0.035);
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline .mattio-search-form > .mattio-icon {
    width: 1.25rem;
    margin-left: 1rem;
    color: #8a817a;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline input[type="search"] {
    min-width: 0;
    min-height: 50px;
    padding: 0.75rem 0.9rem;
    border: 0;
    background: transparent;
    color: var(--mattio-ink);
    outline: 0;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline input[type="search"]:focus {
    box-shadow: none;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline button[type="submit"] {
    align-self: stretch;
    width: 54px;
    overflow: hidden;
    border: 0;
    border-radius: 0 5px 5px 0;
    background-color: var(--mattio-olive);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 23px;
    color: transparent;
    cursor: pointer;
    font-size: 0;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline .mattio-icon-button {
    display: none;
  }
}

.mattio-natural-storefront .mattio-category-row {
  border-top: 1px solid rgba(77, 56, 40, 0.09);
  background: #fffefa;
}

.mattio-natural-storefront .mattio-category-menu {
  justify-content: flex-start;
  gap: clamp(2rem, 5vw, 4.6rem);
}

.mattio-natural-storefront .mattio-category-menu > li > a {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  color: var(--mattio-ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.mattio-natural-storefront .mattio-category-menu > li > a:hover,
.mattio-natural-storefront .mattio-category-menu > li.current-menu-item > a {
  color: var(--mattio-olive);
}

.mattio-natural-storefront.home .mattio-hero {
  min-height: clamp(430px, 35vw, 535px);
  border-bottom: 1px solid rgba(77, 56, 40, 0.09);
  background: linear-gradient(105deg, #fbf8f1 0%, #fffdf8 48%, #f4eddf 100%);
}

.mattio-natural-storefront.home .mattio-hero::before {
  top: auto;
  right: auto;
  bottom: -80px;
  left: -100px;
  width: 260px;
  height: 260px;
  border-color: rgba(100, 115, 41, 0.1);
}

.mattio-natural-storefront.home .mattio-hero::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 43%;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 84px 0 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 22px 0 45px rgba(57, 39, 28, 0.04);
}

.mattio-natural-storefront.home .mattio-hero-inner {
  align-items: center;
}

.mattio-natural-storefront.home .mattio-hero-copy {
  width: 42%;
  max-width: 550px;
  padding: clamp(4rem, 7vw, 6.5rem) 2.5rem clamp(4rem, 7vw, 6.5rem) 0;
}

.mattio-natural-storefront.home .mattio-hero-copy .mattio-eyebrow {
  margin-bottom: 1rem;
  color: var(--mattio-olive);
  letter-spacing: 0.14em;
}

.mattio-natural-storefront.home .mattio-hero-copy h1 {
  max-width: 560px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.mattio-natural-storefront.home .mattio-hero-copy p {
  max-width: 430px;
  margin-bottom: 1.8rem;
  color: #433a34;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.52;
}

.mattio-natural-storefront.home .mattio-hero .mattio-button {
  min-width: 205px;
  min-height: 52px;
  padding: 0.85rem 1.65rem;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(79, 93, 32, 0.16);
}

.mattio-natural-storefront.home .mattio-hero .mattio-text-link,
.mattio-natural-storefront.home .mattio-hero-note {
  display: none;
}

.mattio-natural-storefront.home .mattio-benefits {
  padding: 0;
  background: #fffefa;
}

.mattio-natural-storefront.home .mattio-benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mattio-natural-storefront.home .mattio-benefits-grid > div {
  min-height: 78px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  padding: 0 2rem;
}

.mattio-natural-storefront.home .mattio-benefits-grid > div:first-child {
  padding-left: 2rem;
}

.mattio-natural-storefront.home .mattio-benefits-grid > div:nth-child(3) {
  border-right: 0;
}

.mattio-natural-storefront.home .mattio-benefits-grid > div:nth-child(n + 4) {
  display: none;
}

.mattio-natural-storefront.home .mattio-benefits-grid .mattio-icon {
  grid-row: auto;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.48rem;
  border: 1px solid rgba(77, 56, 40, 0.2);
  border-radius: 50%;
  color: var(--mattio-brown);
}

.mattio-natural-storefront.home .mattio-benefits-grid strong {
  color: var(--mattio-ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.mattio-natural-storefront.home .mattio-benefits-grid span {
  display: none;
}

.mattio-natural-storefront.home .mattio-categories-section {
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(3.6rem, 7vw, 6.5rem);
  background: var(--mattio-paper);
}

.mattio-natural-storefront.home .mattio-categories-section .mattio-section-heading {
  display: none;
}

.mattio-natural-storefront.home .mattio-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.7vw, 1.35rem);
}

.mattio-natural-storefront.home .mattio-category-card {
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(77, 56, 40, 0.13);
  border-radius: 8px;
  background-color: #e9dfd0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 9px 28px rgba(57, 39, 28, 0.06);
}

.mattio-natural-storefront.home .mattio-category-card:nth-child(4),
.mattio-natural-storefront.home .mattio-category-card:nth-child(5) {
  display: none;
}

.mattio-natural-storefront.home .mattio-category-card::before {
  display: none;
}

.mattio-natural-storefront.home .mattio-category-card-content {
  right: 0.8rem;
  bottom: 0.7rem;
  left: 0.8rem;
  display: block;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(77, 56, 40, 0.09);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--mattio-brown);
  text-align: center;
  backdrop-filter: blur(7px);
}

.mattio-natural-storefront.home .mattio-category-card-content .mattio-icon,
.mattio-natural-storefront.home .mattio-category-card-content small {
  display: none;
}

.mattio-natural-storefront.home .mattio-category-card-content strong {
  color: var(--mattio-brown);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.2;
}

.mattio-natural-storefront.home .mattio-category-card:hover {
  color: var(--mattio-brown);
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(57, 39, 28, 0.11);
}

.mattio-natural-storefront.home .mattio-product-intro-empty {
  display: none;
}

.mattio-natural-storefront .mattio-section-heading-row {
  align-items: center;
}

.mattio-natural-storefront.home .mattio-product-section .mattio-section-heading-row {
  justify-content: center;
  text-align: center;
}

.mattio-natural-storefront.home .mattio-product-section .mattio-section-heading-row > div {
  max-width: 780px;
}

.mattio-natural-storefront.home .mattio-product-section .mattio-section-heading-row h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.mattio-natural-storefront.home .mattio-product-section .mattio-section-heading-row .mattio-text-link {
  position: absolute;
  right: max(28px, calc((100vw - 1360px) / 2));
}

.mattio-natural-storefront .woocommerce ul.products li.product,
.mattio-natural-storefront.woocommerce ul.products li.product,
.mattio-natural-storefront.woocommerce-page ul.products li.product {
  overflow: hidden;
  border: 1px solid rgba(77, 56, 40, 0.12);
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 7px 24px rgba(57, 39, 28, 0.035);
}

.mattio-natural-storefront .woocommerce ul.products li.product:hover,
.mattio-natural-storefront.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 38px rgba(57, 39, 28, 0.11);
}

.mattio-natural-storefront .woocommerce ul.products li.product a img,
.mattio-natural-storefront.woocommerce ul.products li.product a img {
  border-radius: 9px 9px 0 0;
}

.mattio-natural-storefront .woocommerce ul.products li.product .woocommerce-loop-product__title,
.mattio-natural-storefront.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.08rem;
  line-height: 1.35;
}

.mattio-natural-storefront .woocommerce ul.products li.product .button,
.mattio-natural-storefront.woocommerce ul.products li.product .button {
  border-radius: 6px;
}

.mattio-natural-storefront .mattio-catalog-filters {
  border-radius: 12px;
  background: #f5eddf;
}

.mattio-natural-storefront.woocommerce div.product div.images img,
.mattio-natural-storefront .woocommerce div.product div.images img {
  border-radius: 14px;
}

.mattio-natural-storefront.woocommerce div.product .summary,
.mattio-natural-storefront .woocommerce div.product .summary {
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(77, 56, 40, 0.11);
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.7);
}

@media (max-width: 1100px) {
  .mattio-natural-storefront {
    --mattio-shell: min(100% - 40px, 1040px);
  }

  .mattio-natural-storefront .mattio-header-main {
    grid-template-columns: minmax(260px, 290px) minmax(250px, 1fr) auto;
    gap: 1.25rem;
  }

  .mattio-natural-storefront.home .mattio-hero::after {
    left: 47%;
  }

  .mattio-natural-storefront.home .mattio-hero-copy {
    width: 46%;
  }

  .mattio-natural-storefront.home .mattio-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mattio-natural-storefront.home .mattio-benefits-grid > div,
  .mattio-natural-storefront.home .mattio-benefits-grid > div:first-child {
    padding: 0 1.2rem;
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .mattio-natural-storefront .mattio-header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .mattio-natural-storefront.home .mattio-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mattio-natural-storefront.home .mattio-category-card-content strong {
    font-size: 1.25rem;
  }
}

@media (max-width: 782px) {
  .mattio-natural-storefront {
    --mattio-shell: min(100% - 32px, 720px);
  }

  .mattio-natural-storefront .mattio-header-main {
    min-height: 72px;
  }

  .mattio-natural-storefront .mattio-wordmark > span {
    font-size: 1.65rem;
  }

  .mattio-natural-storefront .mattio-wordmark-logo {
    width: 70px;
  }

  .mattio-natural-storefront.home .mattio-hero {
    min-height: 720px;
  }

  .mattio-natural-storefront.home .mattio-hero::before {
    display: none;
  }

  .mattio-natural-storefront.home .mattio-hero::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 47%;
    border-radius: 42px 42px 0 0;
    background-position: center 58%;
  }

  .mattio-natural-storefront.home .mattio-hero-inner {
    align-items: flex-start;
  }

  .mattio-natural-storefront.home .mattio-hero-copy {
    width: 100%;
    max-width: 620px;
    padding: 3.3rem 0 23rem;
  }

  .mattio-natural-storefront.home .mattio-hero-copy h1 {
    max-width: 580px;
    font-size: clamp(2.9rem, 11vw, 4.45rem);
  }

  .mattio-natural-storefront.home .mattio-benefits {
    overflow: hidden;
  }

  .mattio-natural-storefront.home .mattio-benefits .mattio-shell {
    width: 100%;
    padding: 0 1rem;
    overflow-x: auto;
  }

  .mattio-natural-storefront.home .mattio-benefits-grid {
    min-width: 610px;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .mattio-natural-storefront.home .mattio-benefits-grid > div,
  .mattio-natural-storefront.home .mattio-benefits-grid > div:first-child {
    min-height: 74px;
    padding: 0 1rem;
  }

  .mattio-natural-storefront.home .mattio-product-section .mattio-section-heading-row .mattio-text-link {
    position: static;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .mattio-natural-storefront {
    --mattio-shell: calc(100vw - 28px);
  }

  .mattio-natural-storefront .mattio-promo-bar {
    font-size: 0.68rem;
  }

  .mattio-natural-storefront .mattio-header-main {
    grid-template-columns: 42px minmax(0, 1fr) 38px;
  }

  .mattio-natural-storefront .mattio-wordmark > span {
    font-size: 1.35rem;
  }

  .mattio-natural-storefront .mattio-wordmark {
    gap: 0.5rem;
  }

  .mattio-natural-storefront .mattio-wordmark-logo {
    width: 55px;
  }

  .mattio-natural-storefront.home .mattio-hero {
    min-height: 690px;
  }

  .mattio-natural-storefront.home .mattio-hero::after {
    height: 43%;
    border-radius: 30px 30px 0 0;
  }

  .mattio-natural-storefront.home .mattio-hero-copy {
    padding: 2.7rem 0 20rem;
  }

  .mattio-natural-storefront.home .mattio-hero-copy .mattio-eyebrow {
    font-size: 0.66rem;
  }

  .mattio-natural-storefront.home .mattio-hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .mattio-natural-storefront.home .mattio-hero-copy p {
    font-size: 1rem;
  }

  .mattio-natural-storefront.home .mattio-hero .mattio-button {
    min-width: 185px;
  }

  .mattio-natural-storefront.home .mattio-category-grid {
    grid-template-columns: 1fr;
  }

  .mattio-natural-storefront.home .mattio-category-card {
    aspect-ratio: 1 / 1;
  }

  .mattio-natural-storefront.home .mattio-category-card-content strong {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mattio-natural-storefront *,
  .mattio-natural-storefront *::before,
  .mattio-natural-storefront *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Catalogue and product detail — compact natural-wood shopping experience. */

.mattio-natural-storefront.post-type-archive-product .mattio-woocommerce-shell,
.mattio-natural-storefront.tax-product_cat .mattio-woocommerce-shell,
.mattio-natural-storefront.tax-product_tag .mattio-woocommerce-shell,
.mattio-natural-storefront.single-product .mattio-woocommerce-shell {
  padding-top: clamp(2rem, 4vw, 3.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.mattio-natural-storefront .mattio-archive-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
}

.mattio-natural-storefront .mattio-archive-kicker,
.mattio-natural-storefront .mattio-product-kicker {
  display: block;
  color: var(--mattio-olive);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mattio-natural-storefront .mattio-archive-heading .page-title {
  margin: 0;
  color: var(--mattio-brown);
  font-size: clamp(2.35rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.mattio-natural-storefront .mattio-catalog-filters {
  padding: 0;
  margin: 0 0 1rem;
  overflow: hidden;
  border-color: rgba(77, 56, 40, 0.13);
  border-radius: 10px;
  background: #f5eddf;
  box-shadow: 0 8px 26px rgba(57, 39, 28, 0.035);
}

.mattio-natural-storefront .mattio-catalog-filter-head {
  min-height: 70px;
  padding: 0.75rem 1rem 0.75rem 1.15rem;
  margin: 0;
}

.mattio-natural-storefront .mattio-catalog-filter-head h2 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
}

.mattio-natural-storefront .mattio-catalog-filter-kicker {
  margin-bottom: 0.15rem;
  color: var(--mattio-olive);
  font-size: 0.62rem;
}

.mattio-natural-storefront .mattio-catalog-filter-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.52rem 0.9rem;
  border-color: rgba(79, 93, 32, 0.38);
  border-radius: 6px;
  background: rgba(255, 254, 250, 0.75);
  color: var(--mattio-olive-dark);
}

.mattio-natural-storefront .mattio-catalog-filter-toggle::after {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 0.65rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.mattio-natural-storefront .mattio-catalog-filter-toggle[aria-expanded='true']::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.mattio-natural-storefront .mattio-catalog-filter-fields {
  gap: 0.75rem;
  padding: 0 1.15rem 1.15rem;
}

.mattio-natural-storefront .mattio-catalog-filter-fields[hidden] {
  display: none;
}

.mattio-natural-storefront .mattio-catalog-filter-fields .mattio-filter-control,
.mattio-natural-storefront .mattio-filter-checkbox,
.mattio-natural-storefront .mattio-catalog-filter-actions .button {
  min-height: 42px;
  border-radius: 6px;
}

.mattio-natural-storefront .mattio-filter-checkbox {
  padding: 0.55rem 0.7rem;
  background: rgba(255, 254, 250, 0.7);
}

.mattio-natural-storefront .mattio-catalog-filter-actions .button {
  padding: 0.65rem 1rem;
}

.mattio-natural-storefront .mattio-catalog-toolbar {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(77, 56, 40, 0.1);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.64);
}

.mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-result-count,
.mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-ordering {
  float: none;
  padding: 0;
  margin: 0;
}

.mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-result-count {
  color: var(--mattio-muted);
  font-size: 0.82rem;
}

.mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-ordering select {
  min-height: 40px;
  padding: 0.45rem 2.25rem 0.45rem 0.75rem;
  border: 1px solid rgba(77, 56, 40, 0.16);
  border-radius: 6px;
  background-color: #fffefa;
  color: var(--mattio-ink);
}

.mattio-natural-storefront.woocommerce ul.products,
.mattio-natural-storefront .woocommerce ul.products {
  gap: clamp(1rem, 2vw, 1.65rem);
}

.mattio-natural-storefront.woocommerce ul.products li.product,
.mattio-natural-storefront .woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.mattio-natural-storefront.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.mattio-natural-storefront .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.mattio-natural-storefront.woocommerce ul.products li.product .woocommerce-loop-product__title,
.mattio-natural-storefront .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 1rem 1rem 0.35rem;
  margin: 0;
  color: var(--mattio-brown);
}

.mattio-natural-storefront.woocommerce ul.products li.product .price,
.mattio-natural-storefront .woocommerce ul.products li.product .price {
  padding: 0 1rem;
  margin: auto 0 0;
  color: var(--mattio-olive-dark);
  font-size: 1rem;
  font-weight: 800;
}

.mattio-natural-storefront.woocommerce ul.products li.product > .button,
.mattio-natural-storefront .woocommerce ul.products li.product > .button {
  min-height: 44px;
  justify-content: center;
  margin: 0.85rem 1rem 1rem;
  border-color: var(--mattio-olive);
  background: var(--mattio-olive);
  color: #fff;
  box-shadow: 0 8px 18px rgba(79, 93, 32, 0.16);
}

.mattio-natural-storefront.woocommerce ul.products li.product > .button:hover,
.mattio-natural-storefront .woocommerce ul.products li.product > .button:hover,
.mattio-natural-storefront.woocommerce ul.products li.product > .button:focus-visible,
.mattio-natural-storefront .woocommerce ul.products li.product > .button:focus-visible {
  border-color: var(--mattio-olive-dark);
  background: var(--mattio-olive-dark);
  color: #fff;
  transform: translateY(-1px);
}

.mattio-natural-storefront.single-product div.product {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  column-gap: clamp(2rem, 5vw, 4.75rem);
  row-gap: clamp(3rem, 5vw, 4.5rem);
}

.mattio-natural-storefront.single-product div.product div.images {
  position: relative;
  top: auto;
  align-self: start;
}

.mattio-natural-storefront.single-product div.product div.images img {
  border-radius: 10px;
  background: #eee4d4;
  box-shadow: 0 12px 34px rgba(57, 39, 28, 0.08);
}

.mattio-natural-storefront.single-product div.product .summary {
  align-self: start;
  padding: clamp(1.4rem, 2.5vw, 2.35rem);
  border-radius: 10px;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: 0 10px 34px rgba(57, 39, 28, 0.045);
}

.mattio-natural-storefront.single-product .mattio-product-kicker {
  margin-bottom: 0.75rem;
}

.mattio-natural-storefront.single-product.woocommerce div.product div.summary .product_title {
  margin-bottom: 0.9rem;
  font-size: clamp(2.45rem, 3.6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.mattio-natural-storefront.single-product div.product .summary .price {
  margin-bottom: 1rem;
  color: var(--mattio-olive-dark);
  font-size: 1.4rem;
}

.mattio-natural-storefront.single-product .woocommerce-product-details__short-description {
  color: #615850;
  font-size: 0.98rem;
  line-height: 1.62;
}

.mattio-natural-storefront.single-product .mattio-product-lead-time {
  padding: 0.75rem 0.9rem;
  margin: 1rem 0;
  border-left-color: var(--mattio-gold);
  border-radius: 0 6px 6px 0;
  background: #f8f2e7;
}

.mattio-natural-storefront.single-product form.cart {
  padding-top: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  border-top: 1px solid rgba(77, 56, 40, 0.1);
}

.mattio-natural-storefront.single-product form.cart .variations {
  margin-bottom: 1rem;
}

.mattio-natural-storefront.single-product form.cart .variations tbody,
.mattio-natural-storefront.single-product form.cart .variations tr,
.mattio-natural-storefront.single-product form.cart .variations th,
.mattio-natural-storefront.single-product form.cart .variations td {
  display: block;
  width: 100%;
}

.mattio-natural-storefront.single-product form.cart .variations th {
  padding: 0 0 0.4rem;
  text-align: left;
}

.mattio-natural-storefront.single-product form.cart .variations td {
  padding: 0;
}

.mattio-natural-storefront.single-product form.cart .variations select,
.mattio-natural-storefront.single-product form.cart input[type='text'],
.mattio-natural-storefront.single-product form.cart input[type='date'],
.mattio-natural-storefront.single-product form.cart textarea {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(77, 56, 40, 0.18);
  border-radius: 6px;
  background: #fffefa;
  color: var(--mattio-ink);
}

.mattio-natural-storefront.single-product form.cart textarea {
  min-height: 104px;
}

.mattio-natural-storefront.single-product form.cart .variations select {
  margin-right: 0;
}

.mattio-natural-storefront.single-product form.cart .reset_variations {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--mattio-muted);
  font-size: 0.75rem;
}

.mattio-natural-storefront.single-product form.cart .quantity {
  margin-right: 0.5rem;
}

.mattio-natural-storefront.single-product form.cart .quantity .qty {
  width: 58px;
  min-height: 50px;
  border-radius: 6px;
}

.mattio-natural-storefront.single-product div.product form.cart .button,
.mattio-natural-storefront.single-product div.product .single_add_to_cart_button {
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--mattio-olive);
  border-radius: 6px;
  background: var(--mattio-olive);
  color: #fff;
  box-shadow: 0 10px 22px rgba(79, 93, 32, 0.16);
}

.mattio-natural-storefront.single-product div.product form.cart .button:hover,
.mattio-natural-storefront.single-product div.product .single_add_to_cart_button:hover {
  border-color: var(--mattio-olive-dark);
  background: var(--mattio-olive-dark);
  color: #fff;
}

.mattio-natural-storefront.single-product .mattio-personalization {
  padding: 1.15rem;
  margin: 0 0 1.15rem;
  border-color: rgba(77, 56, 40, 0.18);
  border-radius: 8px;
  background: #fbf7ef;
}

.mattio-natural-storefront.single-product .mattio-personalization legend {
  padding: 0 0.45rem;
  color: var(--mattio-brown);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
}

.mattio-natural-storefront.single-product .mattio-personalization-grid {
  gap: 0.8rem;
}

.mattio-natural-storefront.single-product .mattio-personalization-field > label {
  color: var(--mattio-ink);
  font-size: 0.8rem;
}

.mattio-natural-storefront.single-product .mattio-personalization-field > small {
  color: var(--mattio-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.mattio-natural-storefront.single-product .mattio-product-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(77, 56, 40, 0.1);
  border-bottom: 1px solid rgba(77, 56, 40, 0.1);
}

.mattio-natural-storefront.single-product .mattio-product-assurances > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.35rem;
  color: var(--mattio-muted);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.3;
}

.mattio-natural-storefront.single-product .mattio-product-assurances i {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(100, 115, 41, 0.12);
  color: var(--mattio-olive-dark);
  font-size: 0.7rem;
  font-style: normal;
}

.mattio-natural-storefront.single-product .product_meta {
  padding-top: 1rem;
  color: var(--mattio-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.mattio-natural-storefront.single-product .product_meta a {
  color: var(--mattio-olive-dark);
}

.mattio-natural-storefront.single-product .woocommerce-tabs {
  padding-top: 0;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 -1px;
  overflow-x: auto;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs::before,
.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li::before,
.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li {
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 7px 7px 0 0;
  background: transparent;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li a {
  padding: 0.75rem 1rem;
  color: var(--mattio-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: rgba(77, 56, 40, 0.13);
  border-bottom-color: #fffefa;
  background: #fffefa;
}

.mattio-natural-storefront.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--mattio-brown);
}

.mattio-natural-storefront.single-product.woocommerce div.product .woocommerce-tabs .panel {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.mattio-natural-storefront.single-product.woocommerce div.product .woocommerce-tabs .panel {
  padding: clamp(1.35rem, 3vw, 2.5rem);
  margin: 0;
  border: 1px solid rgba(77, 56, 40, 0.13);
  border-radius: 0 10px 10px 10px;
  background: #fffefa;
}

.mattio-natural-storefront.single-product .woocommerce-tabs .panel > h2:first-child {
  display: none;
}

.mattio-natural-storefront.single-product .related.products > h2 {
  margin-bottom: 1.5rem;
  color: var(--mattio-brown);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

@media (max-width: 1024px) {
  .mattio-natural-storefront.single-product div.product {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
    column-gap: 2rem;
  }

  .mattio-natural-storefront.single-product div.product div.images {
    position: static;
  }

  .mattio-natural-storefront.single-product.woocommerce div.product div.summary .product_title {
    font-size: clamp(2.15rem, 4.5vw, 2.8rem);
  }
}

@media (max-width: 782px) {
  .mattio-natural-storefront .mattio-catalog-filter-fields {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .mattio-natural-storefront.single-product div.product {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .mattio-natural-storefront.single-product div.product .summary {
    padding: 1.25rem;
  }

  .mattio-natural-storefront.single-product .mattio-product-assurances {
    grid-template-columns: 1fr;
  }

  .mattio-natural-storefront.single-product .mattio-product-assurances > span {
    font-size: 0.75rem;
  }
}

@media (max-width: 560px) {
  .mattio-natural-storefront.post-type-archive-product .mattio-woocommerce-shell,
  .mattio-natural-storefront.tax-product_cat .mattio-woocommerce-shell,
  .mattio-natural-storefront.tax-product_tag .mattio-woocommerce-shell,
  .mattio-natural-storefront.single-product .mattio-woocommerce-shell {
    padding-top: 1.5rem;
  }

  .mattio-natural-storefront .mattio-archive-heading .page-title {
    font-size: 2.45rem;
  }

  .mattio-natural-storefront .mattio-catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 0.75rem;
  }

  .mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-ordering,
  .mattio-natural-storefront .mattio-catalog-toolbar .woocommerce-ordering select {
    width: 100%;
  }

  .mattio-natural-storefront.single-product.woocommerce div.product div.summary .product_title {
    font-size: 2.25rem;
  }

  .mattio-natural-storefront.single-product .mattio-personalization-grid {
    grid-template-columns: 1fr;
  }

  .mattio-natural-storefront.single-product.woocommerce div.product .woocommerce-tabs .panel {
    padding: 1.15rem;
    border-radius: 0 8px 8px 8px;
  }
}

/* Storefront refinements — compact, stable and balanced desktop header. */

@media (min-width: 901px) {
  .mattio-natural-storefront .mattio-site-header {
    transition: box-shadow 160ms ease;
  }

  .mattio-natural-storefront .mattio-header-main {
    min-height: 68px;
  }

  .mattio-natural-storefront .mattio-wordmark-logo {
    width: 82px;
  }

  .mattio-natural-storefront .mattio-wordmark > span {
    font-size: 1.82rem;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline {
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline .mattio-search-form {
    grid-template-columns: auto minmax(0, 1fr) 46px;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline input[type="search"] {
    min-height: 42px;
    padding: 0.55rem 0.8rem;
  }

  .mattio-natural-storefront .mattio-search-panel.is-inline button[type="submit"] {
    width: 46px;
  }

  .mattio-natural-storefront .mattio-header-action {
    min-width: 40px;
    min-height: 40px;
  }

  .mattio-natural-storefront .mattio-category-menu > li > a {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

@media (max-width: 782px) {
  .admin-bar.mattio-natural-storefront .mattio-site-header {
    top: 46px;
  }
}

.mattio-natural-storefront.home .mattio-social-proof-section[hidden] {
  display: none !important;
}

.mattio-natural-storefront a[hidden],
.mattio-natural-storefront .mattio-newsletter-band[hidden] {
  display: none !important;
}

.mattio-natural-storefront .mattio-archive-description {
  max-width: 860px;
  margin-top: 0.65rem;
  color: var(--mattio-muted);
  font-size: clamp(0.94rem, 1.4vw, 1.02rem);
  line-height: 1.72;
}

.mattio-natural-storefront .mattio-archive-description p {
  margin: 0;
}

.mattio-natural-storefront .mattio-archive-description p + p {
  margin-top: 0.65rem;
}

.mattio-natural-storefront .mattio-category-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  overflow-x: auto;
  border: 1px solid rgba(77, 56, 40, 0.11);
  border-radius: 9px;
  background: rgba(255, 254, 250, 0.72);
}

.mattio-natural-storefront .mattio-category-links-label {
  flex: 0 0 auto;
  color: var(--mattio-muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mattio-natural-storefront .mattio-category-links > div {
  display: flex;
  gap: 0.45rem;
}

.mattio-natural-storefront .mattio-category-links a {
  flex: 0 0 auto;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(79, 93, 32, 0.22);
  border-radius: 999px;
  background: #fffefa;
  color: var(--mattio-olive-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.mattio-natural-storefront .mattio-category-links a:hover,
.mattio-natural-storefront .mattio-category-links a:focus-visible,
.mattio-natural-storefront .mattio-category-links a[aria-current='page'] {
  border-color: var(--mattio-olive);
  background: var(--mattio-olive);
  color: #fff;
}

.mattio-natural-storefront.single-product .mattio-product-delivery {
  padding: 1rem 1.1rem;
  margin-top: 1.25rem;
  border: 1px solid rgba(79, 93, 32, 0.18);
  border-radius: 9px;
  background: #f7f4e9;
}

.mattio-natural-storefront.single-product .mattio-product-delivery h3 {
  margin: 0 0 0.65rem;
  color: var(--mattio-brown);
  font-size: 1.2rem;
}

.mattio-natural-storefront.single-product .mattio-product-delivery ul {
  margin: 0;
}

.mattio-natural-storefront.single-product .mattio-product-delivery p:last-child {
  margin-bottom: 0;
}

.mattio-natural-storefront.home .mattio-story-visual {
  min-height: clamp(320px, 34vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(77, 56, 40, 0.12);
  border-radius: 24px;
  background-color: #e9dfd0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 18px 44px rgba(57, 39, 28, 0.12);
}

.mattio-natural-storefront.home .mattio-story-visual > .mattio-story-ring,
.mattio-natural-storefront.home .mattio-story-visual > .mattio-icon {
  display: none;
}

.mattio-natural-storefront.home .mattio-gallery-section {
  padding-top: clamp(2.8rem, 5vw, 4.75rem);
  padding-bottom: clamp(3.2rem, 6vw, 5.5rem);
}

.mattio-natural-storefront.home .mattio-gallery-products {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.mattio-natural-storefront.home .mattio-gallery-products .woocommerce,
.mattio-natural-storefront.home .mattio-gallery-products ul.products {
  margin-bottom: 0;
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(0.7rem, 1.4vw, 1.1rem) !important;
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product {
  width: 100% !important;
  min-width: 0;
  aspect-ratio: 1 / 1;
  float: none !important;
  clear: none !important;
  padding: 0;
  margin: 0 !important;
  border-radius: 12px;
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .woocommerce-LoopProduct-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 11px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product:hover img {
  transform: scale(1.035);
}

.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .woocommerce-loop-product__title,
.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .price,
.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .button,
.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .onsale,
.mattio-natural-storefront.home .mattio-gallery-products ul.products li.product .star-rating {
  display: none !important;
}

.mattio-natural-storefront .mattio-wordmark-footer > span {
  color: var(--mattio-white);
}

.mattio-natural-storefront .mattio-wordmark-footer .mattio-wordmark-accent {
  color: #b9ca78;
}

.mattio-natural-storefront .mattio-wordmark-footer .mattio-wordmark-logo {
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.mattio-natural-storefront .mattio-footer-grid {
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.mattio-natural-storefront .mattio-footer-title--visible {
  display: block !important;
}

.mattio-natural-storefront .mattio-footer-column > ul,
.mattio-natural-storefront .mattio-footer-list {
  padding: 0;
  margin: 0.9rem 0 0;
  list-style: none;
}

.mattio-natural-storefront .mattio-footer-column li + li,
.mattio-natural-storefront .mattio-footer-list li + li {
  margin-top: 0.55rem;
}

.mattio-natural-storefront .mattio-footer-column a,
.mattio-natural-storefront .mattio-footer-list,
.mattio-natural-storefront .mattio-footer-contact {
  color: rgba(255, 254, 250, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mattio-natural-storefront .mattio-footer-column a:hover,
.mattio-natural-storefront .mattio-footer-column a:focus-visible {
  color: #fff;
  text-decoration-color: #b9ca78;
}

.mattio-natural-storefront .mattio-footer-contact li:first-child {
  color: var(--mattio-white);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .mattio-natural-storefront.home .mattio-gallery-products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .mattio-natural-storefront .mattio-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mattio-natural-storefront .mattio-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  .mattio-natural-storefront.home .mattio-story-visual {
    min-height: 330px;
    border-radius: 18px;
  }
}

@media (max-width: 620px) {
	.mattio-natural-storefront .mattio-category-links {
		align-items: flex-start;
		flex-direction: column;
	}

  .mattio-natural-storefront.home .mattio-gallery-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mattio-natural-storefront .mattio-footer-grid {
    grid-template-columns: 1fr;
  }

  .mattio-natural-storefront .mattio-footer-brand {
    grid-column: auto;
  }
}

/* Homepage hero rotator — original MGardenPro campaign banners. */

.mattio-natural-storefront.home.mattio-home-hero-rotator .mattio-hero {
  position: relative;
  min-height: 0;
  aspect-ratio: 2172 / 724;
  overflow: hidden;
  isolation: isolate;
  background: #2b1b10 url("../images/hero-raised-beds.webp") center / cover no-repeat;
}

.mattio-natural-storefront.home.mattio-home-hero-rotator .mattio-hero::before,
.mattio-natural-storefront.home.mattio-home-hero-rotator .mattio-hero::after {
  display: none;
  content: none;
}

.mattio-natural-storefront.home.mattio-home-hero-rotator .mattio-hero > .mattio-hero-inner {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.mattio-natural-storefront.home .mattio-hero-rotator,
.mattio-natural-storefront.home .mattio-hero-slides,
.mattio-natural-storefront.home .mattio-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mattio-natural-storefront.home .mattio-hero-rotator {
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
}

.mattio-natural-storefront.home .mattio-hero-slide {
  z-index: 0;
  display: block;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms ease, visibility 0s linear 520ms;
}

.mattio-natural-storefront.home .mattio-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mattio-natural-storefront.home .mattio-hero-slide:focus-visible {
  outline: 3px solid #f2cf82;
  outline-offset: -5px;
}

.mattio-natural-storefront.home .mattio-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}

.mattio-natural-storefront.home .mattio-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(39, 25, 15, 0.68);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 12, 7, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.mattio-natural-storefront.home .mattio-hero-arrow:hover,
.mattio-natural-storefront.home .mattio-hero-arrow:focus-visible {
  background: rgba(101, 27, 18, 0.92);
  transform: translateY(-50%) scale(1.05);
}

.mattio-natural-storefront.home .mattio-hero-arrow:focus-visible,
.mattio-natural-storefront.home .mattio-hero-dot:focus-visible {
  outline: 3px solid #f2cf82;
  outline-offset: 3px;
}

.mattio-natural-storefront.home .mattio-hero-arrow--previous {
  left: clamp(0.7rem, 2vw, 1.75rem);
}

.mattio-natural-storefront.home .mattio-hero-arrow--next {
  right: clamp(0.7rem, 2vw, 1.75rem);
}

.mattio-natural-storefront.home .mattio-hero-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mattio-natural-storefront.home .mattio-hero-pagination {
  position: absolute;
  right: 50%;
  bottom: clamp(0.65rem, 1.5vw, 1.1rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(39, 25, 15, 0.6);
  transform: translateX(50%);
  backdrop-filter: blur(5px);
}

.mattio-natural-storefront.home .mattio-hero-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.mattio-natural-storefront.home .mattio-hero-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #f2cf82;
}

@media (max-width: 782px) {
  .mattio-natural-storefront.home.mattio-home-hero-rotator .mattio-hero {
    min-height: clamp(280px, 78vw, 420px);
    aspect-ratio: auto;
    background-position: left center;
  }

  .mattio-natural-storefront.home .mattio-hero-slide img {
    object-position: left center;
  }

  .mattio-natural-storefront.home .mattio-hero-arrow {
    width: 40px;
    height: 40px;
  }

  .mattio-natural-storefront.home .mattio-hero-arrow--previous {
    left: 0.55rem;
  }

  .mattio-natural-storefront.home .mattio-hero-arrow--next {
    right: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mattio-natural-storefront.home .mattio-hero-slide,
  .mattio-natural-storefront.home .mattio-hero-arrow,
  .mattio-natural-storefront.home .mattio-hero-dot {
    transition: none;
  }
}
