/*
 * ZUVA Hakoura Universal 9.2 — premium UI refinement layer.
 * This file intentionally contains only presentation overrides. It does not
 * alter WooCommerce, OTP, checkout, order tracking, PWA or POS behaviour.
 */

:root {
  --zuva-card-radius: 26px;
  --zuva-card-shadow: 0 18px 55px rgba(35, 29, 23, .08);
  --zuva-card-shadow-hover: 0 26px 72px rgba(35, 29, 23, .14);
  --zuva-premium-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Global polish and lightweight motion ---------- */
.zuva-premium-reveal {
  opacity: 1;
  transform: none;
}
.zuva-motion-ready .zuva-premium-reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.zuva-motion-ready .zuva-premium-reveal {
  transition: opacity .72s var(--zuva-premium-ease), transform .72s var(--zuva-premium-ease);
  transition-delay: var(--zuva-motion-delay, 0ms);
}
.zuva-motion-ready .zuva-premium-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.wp-block-button__link,
.zuva-add-order,
.zuva-cart-trigger,
.zuva-account-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  transition: transform .25s var(--zuva-premium-ease), box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease !important;
}
.wp-block-button__link:hover,
.zuva-add-order:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
}
.wp-block-button__link:active,
.zuva-add-order:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active {
  transform: translateY(0) scale(.985);
}

/* ---------- One clean mobile header: ZUVA | menu | Hakoura ---------- */
@media (max-width: 782px) {
  :root {
    --zuva-header-height: 74px !important;
    --zuva-live-header-height: 74px !important;
  }

  body .zuva-site-header,
  body header.wp-block-template-part .zuva-site-header {
    min-height: 74px !important;
  }

  body .zuva-site-header .zuva-header-inner,
  body header.wp-block-template-part .zuva-header-inner {
    display: grid !important;
    grid-template-columns: 52px minmax(44px, 1fr) 52px !important;
    align-items: center !important;
    min-height: 74px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 8px 18px !important;
    gap: 10px !important;
  }

  body .zuva-site-header .zuva-brand-lockup,
  body header.wp-block-template-part .zuva-brand-lockup {
    grid-column: 1 !important;
    justify-self: start !important;
    width: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  body .zuva-site-header .zuva-brand-text,
  body header.wp-block-template-part .zuva-brand-text {
    display: none !important;
  }
  body .zuva-site-header .wp-block-site-logo,
  body header.wp-block-template-part .wp-block-site-logo {
    margin: 0 !important;
    line-height: 0 !important;
  }
  body .zuva-site-header .wp-block-site-logo img,
  body header.wp-block-template-part .wp-block-site-logo img {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
  }

  body .zuva-site-header .zuva-header-nav,
  body header.wp-block-template-part .zuva-header-nav,
  body .zuva-site-header .wp-block-navigation {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
    width: 48px !important;
    min-width: 48px !important;
  }
  body .zuva-site-header .wp-block-navigation__responsive-container-open,
  body header.wp-block-template-part .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--zuva-charcoal) !important;
  }
  body .zuva-site-header .wp-block-navigation__responsive-container-open svg,
  body header.wp-block-template-part .wp-block-navigation__responsive-container-open svg {
    width: 30px !important;
    height: 30px !important;
  }

  body .zuva-site-header .zuva-header-actions,
  body header.wp-block-template-part .zuva-header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    display: block !important;
    width: 52px !important;
    min-width: 52px !important;
    margin: 0 !important;
  }
  body .zuva-site-header .zuva-header-actions > *,
  body header.wp-block-template-part .zuva-header-actions > * {
    display: none !important;
  }
  body .zuva-site-header .zuva-header-actions > .zuva-mobile-hakoura-slot,
  body header.wp-block-template-part .zuva-header-actions > .zuva-mobile-hakoura-slot,
  body .zuva-site-header .zuva-header-actions > .wp-block-shortcode:has(.zuva-hakoura-logo),
  body header.wp-block-template-part .zuva-header-actions > .wp-block-shortcode:has(.zuva-hakoura-logo) {
    display: block !important;
  }
  body .zuva-site-header .zuva-hakoura-logo,
  body header.wp-block-template-part .zuva-hakoura-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
  }
  body .zuva-site-header .zuva-hakoura-logo img,
  body header.wp-block-template-part .zuva-hakoura-logo img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    object-fit: contain !important;
  }

  /* Smooth, premium WordPress mobile navigation overlay. */
  body .zuva-site-header .wp-block-navigation__responsive-container {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
    transition: opacity .32s ease, transform .42s var(--zuva-premium-ease), visibility .32s ease !important;
  }
  body .zuva-site-header .wp-block-navigation__responsive-container.is-menu-open {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------- WooCommerce catalogue cards ---------- */
.zuva-universal-shop .wp-block-woocommerce-product-collection,
body.woocommerce-shop .wp-block-woocommerce-product-collection,
body.post-type-archive-product .wp-block-woocommerce-product-collection,
body.tax-product_cat .wp-block-woocommerce-product-collection,
body.tax-product_tag .wp-block-woocommerce-product-collection {
  width: min(100% - 32px, 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

.zuva-universal-shop .wc-block-product-template,
.zuva-universal-shop .wp-block-post-template,
body.woocommerce-shop .wc-block-product-template,
body.woocommerce-shop .wp-block-post-template,
body.post-type-archive-product .wc-block-product-template,
body.tax-product_cat .wc-block-product-template,
body.tax-product_tag .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(16px, 1.8vw, 26px) !important;
}

.zuva-universal-shop .wc-block-product,
body.woocommerce-shop .wc-block-product,
body.post-type-archive-product .wc-block-product,
body.tax-product_cat .wc-block-product,
body.tax-product_tag .wc-block-product,
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(94, 113, 60, .14) !important;
  border-radius: var(--zuva-card-radius) !important;
  background: rgba(255, 255, 255, .76) !important;
  box-shadow: var(--zuva-card-shadow) !important;
  text-align: center !important;
  transition: transform .42s var(--zuva-premium-ease), box-shadow .42s ease, border-color .3s ease !important;
}
.zuva-universal-shop .wc-block-product:hover,
body.woocommerce-shop .wc-block-product:hover,
body.post-type-archive-product .wc-block-product:hover,
body.tax-product_cat .wc-block-product:hover,
body.tax-product_tag .wc-block-product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(94, 113, 60, .28) !important;
  box-shadow: var(--zuva-card-shadow-hover) !important;
}

.zuva-universal-shop .wc-block-components-product-image,
.zuva-universal-shop .wp-block-woocommerce-product-image,
body.woocommerce-shop .wc-block-components-product-image,
body.woocommerce-shop .wp-block-woocommerce-product-image,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: var(--zuva-card-radius) var(--zuva-card-radius) 0 0 !important;
}
.zuva-universal-shop .wc-block-components-product-image img,
.zuva-universal-shop .wp-block-woocommerce-product-image img,
body.woocommerce-shop .wc-block-components-product-image img,
body.woocommerce-shop .wp-block-woocommerce-product-image img,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .7s var(--zuva-premium-ease) !important;
}
.zuva-universal-shop .wc-block-product:hover img,
body.woocommerce-shop .wc-block-product:hover img,
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.045) !important;
}

.zuva-universal-shop .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
body.woocommerce-shop .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
body.post-type-archive-product .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
body.tax-product_cat .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image) {
  width: calc(100% - 32px) !important;
  margin-inline: 16px !important;
}

.zuva-universal-shop .wc-block-product .wp-block-post-title,
body.woocommerce-shop .wc-block-product .wp-block-post-title,
body.post-type-archive-product .wc-block-product .wp-block-post-title,
body.tax-product_cat .wc-block-product .wp-block-post-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.42em !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  color: var(--zuva-charcoal) !important;
  font-family: var(--zuva-display) !important;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  text-align: center !important;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-summary,
.zuva-universal-shop .wc-block-product .wc-block-components-product-summary,
.zuva-universal-shop .wc-block-product .wp-block-post-excerpt,
body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-summary,
body.woocommerce-shop .wc-block-product .wc-block-components-product-summary,
body.woocommerce-shop .wc-block-product .wp-block-post-excerpt,
body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-summary,
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-summary,
.woocommerce ul.products li.product .woocommerce-loop-product__description {
  display: -webkit-box !important;
  min-height: 4.65em !important;
  max-height: 4.65em !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  color: rgba(26, 21, 18, .68) !important;
  font-size: .91rem !important;
  line-height: 1.55 !important;
  text-align: center !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-summary p,
.zuva-universal-shop .wc-block-product .wc-block-components-product-summary p,
body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-summary p,
body.woocommerce-shop .wc-block-product .wc-block-components-product-summary p {
  margin: 0 !important;
}
.zuva-product-summary-duplicate {
  display: none !important;
}

.zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-price,
body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-price,
body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-price,
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-price,
.woocommerce ul.products li.product .price {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  margin-top: auto !important;
  margin-bottom: 12px !important;
  color: var(--zuva-olive-deep) !important;
  font-family: var(--zuva-display) !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  text-align: center !important;
}

.zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-button,
.zuva-universal-shop .wc-block-product .wc-block-components-product-button,
body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-button,
body.woocommerce-shop .wc-block-product .wc-block-components-product-button,
body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-button,
body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-button {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}
.zuva-universal-shop .wc-block-product .wc-block-components-product-button__button,
.zuva-universal-shop .wc-block-product .wp-block-button__link,
body.woocommerce-shop .wc-block-product .wc-block-components-product-button__button,
body.woocommerce-shop .wc-block-product .wp-block-button__link,
.woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 148px !important;
  min-height: 48px !important;
  padding: 12px 20px !important;
  border-radius: 999px !important;
  background: var(--zuva-olive) !important;
  color: #fff !important;
  font-family: var(--zuva-accent) !important;
  font-size: .65rem !important;
  letter-spacing: .16em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

/* ---------- Homepage featured cards: equal rhythm and compact desktop sizing ---------- */
.zuva-universal-products-wrap {
  max-width: 1080px !important;
}
.zuva-universal-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 1020px !important;
  margin-inline: auto !important;
  gap: clamp(18px, 2vw, 28px) !important;
  align-items: stretch !important;
}
.zuva-universal-product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: var(--zuva-card-radius) !important;
  box-shadow: var(--zuva-card-shadow) !important;
  transition: transform .42s var(--zuva-premium-ease), box-shadow .42s ease !important;
}
.zuva-universal-product-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: var(--zuva-card-shadow-hover) !important;
}
.zuva-universal-product-image {
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 5 !important;
}
.zuva-universal-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .7s var(--zuva-premium-ease) !important;
}
.zuva-universal-product-card:hover .zuva-universal-product-image img {
  transform: scale(1.045) !important;
}
.zuva-universal-product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 22px 24px 24px !important;
}
.zuva-universal-product-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 12px !important;
  min-width: 0 !important;
}
.zuva-universal-product-head > div:first-child {
  min-width: 0 !important;
}
.zuva-universal-product-head h3 {
  display: -webkit-box !important;
  min-height: 2.25em !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  font-size: clamp(1.65rem, 2.1vw, 2rem) !important;
  line-height: 1.08 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.zuva-universal-product-head p {
  display: -webkit-box !important;
  min-height: 4.6em !important;
  max-height: 4.6em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: rgba(26, 21, 18, .62) !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.zuva-universal-product-price {
  margin-top: 2px !important;
  white-space: nowrap !important;
  font-size: 1.05rem !important;
}
.zuva-universal-product-copy .zuva-add-order {
  align-self: flex-start !important;
  margin-top: auto !important;
  padding-top: 18px !important;
}

/* ---------- Always-visible homepage PWA action ---------- */
.zuva-home-install-action {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 940;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(94, 113, 60, .24);
  border-radius: 999px;
  background: rgba(248, 241, 227, .94);
  color: var(--zuva-olive-deep);
  box-shadow: 0 14px 38px rgba(26, 21, 18, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  font-family: var(--zuva-accent);
  font-size: .67rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .3s var(--zuva-premium-ease), box-shadow .3s ease, background-color .3s ease;
}
.zuva-home-install-action::before {
  content: "↓";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--zuva-olive);
  color: #fff;
  font-size: .9rem;
  letter-spacing: 0;
}
.zuva-home-install-action:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 20px 48px rgba(26, 21, 18, .18);
}
.zuva-pwa-standalone .zuva-home-install-action {
  display: none !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) and (min-width: 783px) {
  .zuva-universal-shop .wc-block-product-template,
  .zuva-universal-shop .wp-block-post-template,
  body.woocommerce-shop .wc-block-product-template,
  body.woocommerce-shop .wp-block-post-template,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template,
  body.tax-product_tag .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ---------- Mobile product cards ---------- */
@media (max-width: 782px) {
  .zuva-universal-shop .wp-block-woocommerce-product-collection,
  body.woocommerce-shop .wp-block-woocommerce-product-collection,
  body.post-type-archive-product .wp-block-woocommerce-product-collection,
  body.tax-product_cat .wp-block-woocommerce-product-collection,
  body.tax-product_tag .wp-block-woocommerce-product-collection {
    width: calc(100% - 24px) !important;
    margin-inline: 12px !important;
  }

  .zuva-universal-shop .wc-block-product-template,
  .zuva-universal-shop .wp-block-post-template,
  body.woocommerce-shop .wc-block-product-template,
  body.woocommerce-shop .wp-block-post-template,
  body.post-type-archive-product .wc-block-product-template,
  body.tax-product_cat .wc-block-product-template,
  body.tax-product_tag .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .zuva-universal-shop .wc-block-product,
  body.woocommerce-shop .wc-block-product,
  body.post-type-archive-product .wc-block-product,
  body.tax-product_cat .wc-block-product,
  body.tax-product_tag .wc-block-product {
    border-radius: 20px !important;
  }

  .zuva-universal-shop .wc-block-components-product-image,
  .zuva-universal-shop .wp-block-woocommerce-product-image,
  body.woocommerce-shop .wc-block-components-product-image,
  body.woocommerce-shop .wp-block-woocommerce-product-image {
    aspect-ratio: 1 / 1 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .zuva-universal-shop .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
  body.woocommerce-shop .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
  body.post-type-archive-product .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image),
  body.tax-product_cat .wc-block-product > :not(.wp-block-woocommerce-product-image):not(.wc-block-components-product-image) {
    width: calc(100% - 20px) !important;
    margin-inline: 10px !important;
  }

  .zuva-universal-shop .wc-block-product .wp-block-post-title,
  body.woocommerce-shop .wc-block-product .wp-block-post-title,
  body.post-type-archive-product .wc-block-product .wp-block-post-title,
  body.tax-product_cat .wc-block-product .wp-block-post-title {
    min-height: 2.35em !important;
    margin-top: 12px !important;
    margin-bottom: 7px !important;
    font-size: clamp(1.22rem, 5.7vw, 1.55rem) !important;
    line-height: 1.08 !important;
  }

  .zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-summary,
  .zuva-universal-shop .wc-block-product .wc-block-components-product-summary,
  .zuva-universal-shop .wc-block-product .wp-block-post-excerpt,
  body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-summary,
  body.woocommerce-shop .wc-block-product .wc-block-components-product-summary,
  body.woocommerce-shop .wc-block-product .wp-block-post-excerpt,
  body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-summary,
  body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-summary {
    min-height: 4.5em !important;
    max-height: 4.5em !important;
    margin-bottom: 8px !important;
    font-size: clamp(.76rem, 3.2vw, .88rem) !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3 !important;
  }

  .zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-price,
  body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-price,
  body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-price,
  body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-price {
    min-height: 30px !important;
    margin-bottom: 9px !important;
    font-size: 1rem !important;
  }

  .zuva-universal-shop .wc-block-product .wp-block-woocommerce-product-button,
  .zuva-universal-shop .wc-block-product .wc-block-components-product-button,
  body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-button,
  body.woocommerce-shop .wc-block-product .wc-block-components-product-button,
  body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-button,
  body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-button {
    margin-bottom: 12px !important;
  }
  .zuva-universal-shop .wc-block-product .wc-block-components-product-button__button,
  .zuva-universal-shop .wc-block-product .wp-block-button__link,
  body.woocommerce-shop .wc-block-product .wc-block-components-product-button__button,
  body.woocommerce-shop .wc-block-product .wp-block-button__link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 10px 8px !important;
    font-size: .6rem !important;
    letter-spacing: .12em !important;
  }

  .zuva-universal-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding-inline: 12px !important;
  }
  .zuva-universal-product-card {
    border-radius: 20px !important;
  }
  .zuva-universal-product-image {
    aspect-ratio: 1 / 1 !important;
  }
  .zuva-universal-product-copy {
    padding: 14px 12px 16px !important;
  }
  .zuva-universal-product-head {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
  }
  .zuva-universal-product-head h3 {
    min-height: 2.25em !important;
    margin-bottom: 6px !important;
    font-size: clamp(1.2rem, 5.4vw, 1.5rem) !important;
  }
  .zuva-universal-product-head p {
    min-height: 4.45em !important;
    max-height: 4.45em !important;
    font-size: .78rem !important;
    line-height: 1.48 !important;
  }
  .zuva-universal-product-price {
    align-self: center !important;
    min-height: 28px !important;
    margin-top: auto !important;
    font-size: .95rem !important;
  }
  .zuva-universal-product-copy .zuva-add-order {
    align-self: stretch !important;
    justify-content: center !important;
    min-height: 46px !important;
    margin-top: 8px !important;
    padding: 10px 7px !important;
    border-radius: 999px !important;
    background: var(--zuva-olive) !important;
    color: #fff !important;
    font-size: .58rem !important;
    letter-spacing: .12em !important;
  }
  .zuva-universal-product-copy .zuva-add-order-line {
    display: none !important;
  }

  .zuva-home-install-action {
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 0 14px;
    font-size: .6rem;
  }
}

@media (max-width: 340px) {
  .zuva-universal-shop .wc-block-product-template,
  .zuva-universal-shop .wp-block-post-template,
  body.woocommerce-shop .wc-block-product-template,
  body.woocommerce-shop .wp-block-post-template,
  .zuva-universal-product-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .zuva-motion-ready .zuva-premium-reveal:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Neutralize the legacy 6.0 runtime mobile slot that previously converted the
   right side into an ORDER button. Version 9.2 deliberately uses Hakoura. */
@media (max-width: 782px) {
  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-header-row-runtime {
    grid-template-columns: 52px minmax(44px, 1fr) 52px !important;
    grid-template-rows: 74px !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
    padding: 0 18px !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready,
  html body header.wp-block-template-part.zuva-mobile-header-ready > .wp-block-group,
  html body header.wp-block-template-part.zuva-mobile-header-ready .zuva-site-header,
  html body header.wp-block-template-part.zuva-mobile-header-ready .zuva-site-header-runtime,
  html body header.wp-block-template-part.zuva-mobile-header-ready .zuva-mobile-header-shell-runtime {
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot.zuva-header-actions {
    display: block !important;
    width: 52px !important;
    min-width: 52px !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot.zuva-header-actions > * {
    display: none !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot.zuva-header-actions > .zuva-mobile-hakoura-slot,
  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot.zuva-header-actions > .wp-block-shortcode:has(.zuva-hakoura-logo) {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-header-reserve,
  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-mobile-reserve-as-order,
  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-cart-trigger,
  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-account-button {
    display: none !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-hakoura-logo {
    display: flex !important;
    width: 52px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  html body header.wp-block-template-part.zuva-mobile-header-ready
  .zuva-mobile-order-slot .zuva-hakoura-logo img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
  }
}
