.jrh-announcement-short {
  display: none;
}

.product-info-main #product-spec[hidden] {
  display: none !important;
}
.product-info-main .jrh-single-spec {
  min-height: 44px;
  box-sizing: border-box;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #d5d8cf;
  color: #29342a;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.product-info-main .jrh-spec-options > .control {
  position: relative;
  width: 100%;
}
.product-info-main .jrh-spec-options > .control::before {
  content: none;
}
.product-info-main .jrh-spec-options > .control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #414b3d;
  border-bottom: 1.5px solid #414b3d;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.product-info-main .jrh-spec-options #product-spec {
  appearance: none;
  display: block;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 10px 36px 10px 12px;
  background-image: none;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-info-main .box-tocart .field.qty > .control {
  display: inline-grid;
  grid-template-columns: 44px minmax(44px, 64px) 44px;
  align-items: stretch;
}
.product-info-main .box-tocart .field.qty #qty {
  appearance: textfield;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 5px;
  text-align: center;
}
.product-info-main .box-tocart #qty::-webkit-inner-spin-button {
  appearance: none;
}
.product-info-main .box-tocart :is(.qty-switcher-dec, .qty-switcher-inc) {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5d8cf;
  background: #f5f7f3;
}
.product-info-main .box-tocart .qty-switcher-dec {
  border-right: 0;
}
.product-info-main .box-tocart .qty-switcher-inc {
  border-left: 0;
}
.product-info-main .qty-switcher-dec::before,
.product-info-main .qty-switcher-inc::after {
  top: 50%;
  right: auto;
  left: 50%;
  width: 8px;
  height: 8px;
}
.product-info-main .qty-switcher-dec::before {
  transform: translate(-38%, -50%) rotate(45deg);
}
.product-info-main .qty-switcher-inc::after {
  transform: translate(-62%, -50%) rotate(225deg);
}
.product-info-main .box-tocart :is(.qty-switcher-dec, .qty-switcher-inc):hover {
  background: #eaf0e7;
}
.product-info-main .box-tocart :is(.qty-switcher-dec, .qty-switcher-inc):focus-visible {
  z-index: 1;
  outline: 2px solid #31553d;
  outline-offset: -2px;
}

.cms-index-index .source-product-media > .product-item-photo,
.cms-index-index .source-feature-carousel .source-hero-track,
.page-footer .source-contact-qr-crop {
  background: #eef0ea;
}

body #jrh-ga4-consent-settings {
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  min-height: 38px;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}
body #jrh-contact-chat {
  top: auto;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 46px);
  transform: none;
}
body #jrh-contact-chat .jrh-chat-launcher {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
}
body #jrh-contact-chat .jrh-chat-launcher svg {
  width: 21px;
  height: 21px;
}
body #jrh-contact-chat .jrh-chat-card {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 120px);
  transform: none;
}

@media (max-width: 767px) {
  .page-header .panel.header .jrh-announcement-full {
    display: none;
  }
  .page-header .panel.header .jrh-announcement-short {
    display: inline;
  }
  .page-header .panel.header p:has(.jrh-announcement-short) {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }
  .catalog-product-view .product.data.items > .easytabs-tablist[role="tablist"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin: 0;
  }
  .catalog-product-view .product.data.items > .easytabs-tablist::before,
  .catalog-product-view .product.data.items > .easytabs-tablist::after {
    content: none;
    display: none;
  }
  .catalog-product-view .product.data.items > .easytabs-tablist > .item.title {
    min-width: 0;
    max-width: none;
    float: none;
    margin: 0;
  }
  .catalog-product-view .product.data.items.collapsed > .easytabs-tablist > .item.title > .switch {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid #d5d8cf;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    text-transform: none;
    text-overflow: clip;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }
  .catalog-product-view .product.data.items.collapsed > .easytabs-tablist > .item.title > .switch[aria-selected="true"] {
    border-color: #789078;
    background: #edf3eb;
    color: #26362b;
  }
  .catalog-product-view .product.data.items > .easytabs-tablist .switch:focus-visible {
    outline: 2px solid #31553d;
    outline-offset: -2px;
  }
  body #jrh-ga4-consent-settings {
    min-height: 44px;
  }
  body #jrh-contact-chat {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 52px);
  }
}
