/* =========================================================
   NORTERRA SINGLE PRODUCT
   Shopify-style product page for WooCommerce
========================================================= */

.norterra-product-page-active .wp-site-blocks,
.norterra-product-page-active main,
.norterra-product-page-active .wp-block-post-content,
.norterra-product-page-active .woocommerce,
.norterra-product-page-active .woocommerce-page {
  overflow: visible;
}

.norterra-product-page-active .woocommerce-breadcrumb,
.norterra-product-page-active .woocommerce-notices-wrapper,
.norterra-product-page-active .woocommerce-error,
.norterra-product-page-active .woocommerce-message,
.norterra-product-page-active .woocommerce-info {
  box-sizing: border-box;
}

.norterra-single-product,
.norterra-single-product *,
.norterra-single-product *::before,
.norterra-single-product *::after {
  box-sizing: border-box;
}

.norterra-single-product {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #17212b;
  background: #fff;
  font-family: inherit;
}

.norterra-product-shell {
  width: min(100% - 40px, 1460px);
  margin: 0 auto;
  padding: 24px 0 72px;
}

.norterra-product-breadcrumb {
  margin: 0 0 20px;
  color: #727b82;
  font-size: 12px;
  line-height: 1.4;
}

.norterra-product-breadcrumb .woocommerce-breadcrumb {
  margin: 0;
}

.norterra-product-breadcrumb a {
  color: #4f5961;
  text-decoration: none;
}

.norterra-product-breadcrumb span {
  padding: 0 8px;
  color: #a8afb4;
}

.norterra-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(460px, 0.94fr);
  align-items: start;
  gap: clamp(34px, 5vw, 78px);
}

.norterra-product-gallery,
.norterra-product-summary {
  min-width: 0;
}

.norterra-product-gallery__sticky {
  position: sticky;
  top: 24px;
}

.norterra-product-gallery__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 24px;
  background: #f7f7f7;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
  outline: none;
}

.norterra-product-gallery__viewport:focus-visible {
  outline: 2px solid #247da4;
  outline-offset: 3px;
}

.norterra-product-gallery__track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 280ms ease;
  will-change: transform;
}

.norterra-product-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  background: transparent;
}

.norterra-product-gallery__slide a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.norterra-product-gallery__slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 7% 10% 10%;
  object-fit: contain;
  object-position: center;
  transition: transform 220ms ease;
}

@media (hover: hover) {
  .norterra-product-gallery__slide a:hover img {
    transform: scale(1.015);
  }
}

.norterra-product-gallery__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transform: translateY(-50%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #17212b;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.norterra-product-gallery__arrow:hover {
  background: #fff;
}

.norterra-product-gallery__arrow.is-prev {
  left: 16px;
}

.norterra-product-gallery__arrow.is-next {
  right: 16px;
}

.norterra-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.norterra-product-gallery__thumb {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #dedede;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.norterra-product-gallery__thumb.is-active {
  border-color: #247da4;
  box-shadow: 0 0 0 1px #247da4;
}

.norterra-product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.norterra-product-gallery__dots {
  display: none;
}

.norterra-product-gallery__placeholder {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 24px;
  background: #f7f7f7;
}

.norterra-product-summary {
  max-width: 640px;
}

.norterra-product-brand {
  margin-bottom: 6px;
  color: #6a747c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.norterra-product-title {
  margin: 0;
  color: #111820;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.norterra-product-intro {
  margin-top: 12px;
  color: #5b6670;
  font-size: 14px;
  line-height: 1.55;
}

.norterra-product-intro > * {
  margin-top: 0;
  margin-bottom: 0.65em;
}

.norterra-product-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.norterra-product-spec {
  display: flex;
  min-width: 0;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 7px;
  border: 1px solid #dde2e5;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(30, 42, 55, 0.045);
  text-align: center;
}

.norterra-product-spec.is-flavor {
  border-color: #bfe5d3;
  background: linear-gradient(135deg, #f1fff8 0%, #e6f8ee 100%);
}

.norterra-product-spec.is-format {
  border-color: #d7cdf6;
  background: linear-gradient(135deg, #fbf9ff 0%, #eee9ff 100%);
}

.norterra-product-spec.is-strength {
  border-color: #e3c8ed;
  background: linear-gradient(135deg, #fff9ff 0%, #f5e9fb 100%);
}

.norterra-product-spec.is-pouches {
  border-color: #c8dbef;
  background: linear-gradient(135deg, #f6fbff 0%, #e3f0ff 100%);
}

.norterra-product-spec__icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.norterra-product-spec__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.norterra-product-spec__copy {
  min-width: 0;
}

.norterra-product-spec small,
.norterra-product-spec strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.norterra-product-spec small {
  color: #73808a;
  font-size: 10px;
  line-height: 1.2;
}

.norterra-product-spec strong {
  margin-top: 2px;
  color: #18212a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

/* Quantity break selector */
.norterra-product-pack {
  width: 100%;
  min-width: 0;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid #dfe4e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 35, 45, 0.06);
}

.norterra-product-pack__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.norterra-product-pack__header h2 {
  margin: 0;
  color: #17212b;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
}

.norterra-product-pack__header p {
  margin: 4px 0 0;
  color: #68737d;
  font-size: 12px;
  line-height: 1.35;
}

.norterra-product-pack__header > span {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid #d0eaf4;
  border-radius: 999px;
  background: #eaf6fb;
  color: #126d93;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.norterra-product-pack__options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.norterra-product-pack__option {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(105px, 1fr) minmax(100px, auto) minmax(82px, auto);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.norterra-product-pack__option:hover {
  border-color: #9fc5d6;
  background: #fbfdfe;
}

.norterra-product-pack__option.is-selected {
  border-color: #247da4;
  background: #f0f8fb;
  box-shadow: 0 0 0 1px #247da4;
}

.norterra-product-pack__option.is-disabled {
  opacity: 0.45;
  background: #f6f6f6;
  cursor: not-allowed;
}

.norterra-product-pack__option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.norterra-product-pack__radio {
  display: flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #9da7ae;
  border-radius: 50%;
  background: #fff;
}

.norterra-product-pack__radio span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
}

.norterra-product-pack__option.is-selected .norterra-product-pack__radio {
  border-color: #247da4;
}

.norterra-product-pack__option.is-selected .norterra-product-pack__radio span {
  background: #247da4;
}

.norterra-product-pack__quantity {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.norterra-product-pack__quantity strong {
  color: #17212b;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.norterra-product-pack__quantity small {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e7f5fa;
  color: #176f94;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.norterra-product-pack__quantity small.is-plain {
  background: #f0f1f2;
  color: #6a737a;
  font-weight: 600;
}

.norterra-product-pack__pricing {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "regular total" "unit unit";
  align-items: center;
  justify-items: end;
  column-gap: 6px;
  row-gap: 2px;
  min-width: 0;
  text-align: right;
}

.norterra-product-pack__pricing del {
  grid-area: regular;
  color: #7b8389;
  font-size: 11px;
  white-space: nowrap;
}

.norterra-product-pack__pricing strong {
  grid-area: total;
  color: #111820;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.norterra-product-pack__pricing small {
  grid-area: unit;
  color: #69737b;
  font-size: 10px;
  white-space: nowrap;
}

.norterra-product-pack__saving {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 7px;
  background: #ebf7ef;
  color: #287744;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  white-space: nowrap;
}

.norterra-product-pack__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  background: #f5f7f8;
}

.norterra-product-pack__summary > div:first-child,
.norterra-product-pack__summary > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.norterra-product-pack__summary > div:last-child {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "regular total" "unit unit";
  align-items: center;
  justify-items: end;
  column-gap: 7px;
}

.norterra-product-pack__summary small {
  color: #6c757d;
  font-size: 10px;
}

.norterra-product-pack__summary strong {
  color: #17212b;
  font-size: 14px;
}

.norterra-product-pack__summary > div:last-child del {
  grid-area: regular;
  color: #7a8288;
  font-size: 11px;
}

.norterra-product-pack__summary > div:last-child strong {
  grid-area: total;
  font-size: 17px;
}

.norterra-product-pack__summary > div:last-child small {
  grid-area: unit;
}

.norterra-product-pack__savings {
  margin-top: 7px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #ebf7ef;
  color: #287744;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.norterra-product-pack__notice {
  margin: 8px 0 0;
  color: #6d757c;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

[hidden] {
  display: none !important;
}

.norterra-product-form {
  margin-top: 14px;
}

.norterra-product-atc {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #dc9511;
  color: #070709;
  box-shadow: 0 7px 18px rgba(220, 149, 17, 0.22);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.norterra-product-atc:hover {
  filter: brightness(1.035);
  transform: translateY(-1px);
}

.norterra-product-atc:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.norterra-product-atc.is-loading [data-atc-price],
.norterra-product-atc.is-loading [data-atc-label],
.norterra-product-atc.is-loading > span[aria-hidden="true"] {
  opacity: 0;
}

.norterra-product-atc__spinner {
  position: absolute;
  display: none;
  width: 23px;
  height: 23px;
  border: 3px solid rgba(7, 7, 9, 0.25);
  border-top-color: #070709;
  border-radius: 50%;
  animation: norterra-product-spin 700ms linear infinite;
}

.norterra-product-atc.is-loading .norterra-product-atc__spinner {
  display: block;
}

@keyframes norterra-product-spin {
  to { transform: rotate(360deg); }
}

.norterra-product-form__error {
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #fff0f0;
  color: #a92121;
  font-size: 12px;
  line-height: 1.4;
}

.norterra-product-payment {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #e0e3e5;
  border-radius: 11px;
  background: #fff;
  text-align: center;
}

.norterra-product-payment h2 {
  margin: 0;
  color: #18212a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.norterra-product-payment__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.norterra-product-payment__icon {
  display: inline-flex;
  width: 50px;
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: transparent;
}

.norterra-product-payment__icon svg {
  display: block;
  width: 50px;
  height: 32px;
  max-width: 100%;
}

.norterra-product-payment__icon.is-apple-pay svg {
  width: 50px;
  height: 32px;
}

.norterra-product-payment p {
  margin: 10px 0 0;
  color: #6a737b;
  font-size: 10px;
  line-height: 1.4;
}

.norterra-product-accordions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.norterra-product-accordion {
  overflow: hidden;
  border: 1px solid #e0e3e5;
  border-radius: 9px;
  background: #fff;
}

.norterra-product-accordion summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 15px;
  color: #18212a;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.norterra-product-accordion summary::-webkit-details-marker {
  display: none;
}

/* Chevron rotation is handled by the named premium chevron class below.
   Avoid broad span selectors because they can rotate the accordion label. */

.norterra-product-accordion__content {
  padding: 0 15px 16px;
  color: #5b6670;
  font-size: 13px;
  line-height: 1.6;
}

.norterra-product-accordion__content > :first-child {
  margin-top: 0;
}

.norterra-product-accordion__content > :last-child {
  margin-bottom: 0;
}

.norterra-product-variable {
  margin-top: 18px;
}

.norterra-product-variable .variations,
.norterra-product-variable .variations tbody,
.norterra-product-variable .variations tr,
.norterra-product-variable .variations th,
.norterra-product-variable .variations td {
  display: block;
  width: 100%;
}

.norterra-product-variable .variations th {
  margin-bottom: 5px;
  text-align: left;
}

.norterra-product-variable select {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #dfe3e6;
  border-radius: 8px;
  background: #fff;
}

.norterra-product-variable .single_add_to_cart_button {
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: #dc9511;
  color: #070709;
  font-weight: 800;
  text-transform: uppercase;
}

/* Reviews */
.norterra-product-reviews,
.norterra-related-products {
  margin-top: clamp(48px, 7vw, 92px);
  padding-top: clamp(34px, 5vw, 58px);
  border-top: 1px solid #e4e6e8;
}

.norterra-product-reviews > header,
.norterra-related-products > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.norterra-product-reviews > header span,
.norterra-related-products > header span {
  display: block;
  margin-bottom: 4px;
  color: #247da4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.norterra-product-reviews > header h2,
.norterra-related-products > header h2 {
  margin: 0;
  color: #111820;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.norterra-product-reviews > header > a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #17212b;
  border-radius: 7px;
  color: #17212b;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.norterra-product-reviews__native #reviews,
.norterra-product-reviews__native .woocommerce-Reviews {
  margin: 0;
}

.norterra-product-reviews__native .woocommerce-Reviews-title {
  display: none;
}

.norterra-product-reviews__native #comments,
.norterra-product-reviews__native #review_form_wrapper {
  padding: 20px;
  border: 1px solid #e1e4e6;
  border-radius: 12px;
  background: #fff;
}

.norterra-product-reviews__native #review_form_wrapper {
  margin-top: 16px;
}

.norterra-product-reviews__native .commentlist {
  margin: 0;
  padding: 0;
}

.norterra-product-reviews__native .commentlist li {
  list-style: none;
}

.norterra-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.norterra-related-product {
  overflow: hidden;
  border: 1px solid #e0e2e4;
  border-radius: 12px;
  background: #fff;
}

.norterra-related-product__image {
  display: flex;
  aspect-ratio: 1 / 0.92;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #eceeef;
  background: #f8f8f8;
}

.norterra-related-product__image img {
  display: block;
  width: 82%;
  height: 82%;
  margin: 0;
  object-fit: contain;
}

.norterra-related-product > div {
  padding: 13px;
}

.norterra-related-product small {
  display: block;
  min-height: 15px;
  color: #6b747c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.norterra-related-product h3 {
  min-height: 42px;
  margin: 4px 0 8px;
  font-size: 14px;
  line-height: 1.35;
}

.norterra-related-product h3 a {
  color: #17212b;
  text-decoration: none;
}

.norterra-related-product strong {
  font-size: 15px;
}

/* Remove default wrappers that fight with the custom page. */
.norterra-product-page-active .wp-block-post-title,
.norterra-product-page-active .wp-block-post-featured-image,
.norterra-product-page-active .wc-block-breadcrumbs,
.norterra-product-page-active .woocommerce-products-header,
.norterra-product-page-active .woocommerce div.product > .product_title,
.norterra-product-page-active .woocommerce div.product > .summary,
.norterra-product-page-active .woocommerce div.product > .woocommerce-product-gallery {
  display: none !important;
}

.norterra-product-page-active .wp-block-post-content,
.norterra-product-page-active .woocommerce,
.norterra-product-page-active .woocommerce div.product {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1120px) {
  .norterra-product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.92fr);
    gap: 34px;
  }

  .norterra-product-specs {
    gap: 7px;
  }

  .norterra-product-pack__option {
    grid-template-columns: 20px minmax(92px, 1fr) minmax(92px, auto);
  }

  .norterra-product-pack__saving {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .norterra-product-shell {
    width: min(100% - 28px, 1460px);
  }

  .norterra-product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
    gap: 26px;
  }

  .norterra-product-title {
    font-size: 31px;
  }

  .norterra-product-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .norterra-product-spec {
    min-height: 72px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
    text-align: left;
  }

  .norterra-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 749px) {
  .norterra-product-shell {
    width: min(100% - 20px, 1460px);
    padding-top: 10px;
    padding-bottom: 48px;
  }

  .norterra-product-breadcrumb {
    display: none;
  }

  .norterra-product-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .norterra-product-gallery,
  .norterra-product-summary {
    width: 100%;
    max-width: none;
  }

  .norterra-product-gallery__sticky {
    position: static;
  }

  .norterra-product-gallery__viewport {
    border-radius: 22px;
  }

  .norterra-product-gallery__slide img {
    padding: 7% 11% 12%;
  }

  .norterra-product-gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }

  .norterra-product-gallery__arrow.is-prev {
    left: 10px;
  }

  .norterra-product-gallery__arrow.is-next {
    right: 10px;
  }

  .norterra-product-gallery__thumbs {
    display: none;
  }

  .norterra-product-gallery__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }

  .norterra-product-gallery__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8cdd0;
    cursor: pointer;
  }

  .norterra-product-gallery__dots button.is-active {
    width: 20px;
    border-radius: 999px;
    background: #247da4;
  }

  .norterra-product-brand {
    margin-top: 2px;
  }

  .norterra-product-title {
    font-size: 28px;
  }

  .norterra-product-intro {
    font-size: 13px;
  }

  .norterra-product-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 17px;
  }

  .norterra-product-spec {
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 5px;
    text-align: center;
  }

  .norterra-product-spec__icon {
    width: 22px;
    height: 22px;
  }

  .norterra-product-spec small {
    font-size: 8px;
  }

  .norterra-product-spec strong {
    font-size: 10px;
  }

  .norterra-product-pack {
    margin-top: 13px;
    padding: 9px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(20, 35, 45, 0.05);
  }

  .norterra-product-pack__header {
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
  }

  .norterra-product-pack__header h2 {
    font-size: 15px;
  }

  .norterra-product-pack__header p {
    display: none;
  }

  .norterra-product-pack__header > span {
    min-height: 22px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .norterra-product-pack__options {
    gap: 5px;
  }

  .norterra-product-pack__option {
    grid-template-columns: 17px minmax(0, 1fr) minmax(82px, auto);
    gap: 6px;
    min-height: 51px;
    padding: 6px 7px;
    border-radius: 8px;
  }

  .norterra-product-pack__radio {
    width: 17px;
    height: 17px;
  }

  .norterra-product-pack__radio span {
    width: 8px;
    height: 8px;
  }

  .norterra-product-pack__quantity {
    gap: 3px;
  }

  .norterra-product-pack__quantity strong {
    font-size: 12px;
  }

  .norterra-product-pack__quantity small {
    min-height: 17px;
    padding: 2px 5px;
    font-size: 8px;
  }

  .norterra-product-pack__pricing {
    column-gap: 4px;
    row-gap: 1px;
  }

  .norterra-product-pack__pricing del,
  .norterra-product-pack__pricing small {
    font-size: 8px;
  }

  .norterra-product-pack__pricing strong {
    font-size: 12px;
  }

  .norterra-product-pack__saving,
  .norterra-product-pack__summary,
  .norterra-product-pack__notice {
    display: none;
  }

  .norterra-product-pack__savings {
    margin-top: 5px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .norterra-product-atc {
    min-height: 55px;
    border-radius: 7px;
    font-size: 16px;
  }

  .norterra-product-payment {
    padding: 13px 8px;
  }

  .norterra-product-payment__icons {
    gap: 5px;
  }

  .norterra-product-payment__icon {
    width: 42px;
    min-width: 42px;
    height: 27px;
  }

  .norterra-product-payment__icon svg,
  .norterra-product-payment__icon.is-apple-pay svg {
    width: 42px;
    height: 27px;
  }

  .norterra-product-accordion summary {
    min-height: 50px;
    padding: 11px 13px;
    font-size: 13px;
  }

  .norterra-product-accordion__content {
    padding: 0 13px 14px;
    font-size: 12px;
  }

  .norterra-product-reviews,
  .norterra-related-products {
    margin-top: 45px;
    padding-top: 32px;
  }

  .norterra-product-reviews > header,
  .norterra-related-products > header {
    align-items: center;
    margin-bottom: 17px;
  }

  .norterra-product-reviews > header h2,
  .norterra-related-products > header h2 {
    font-size: 24px;
  }

  .norterra-product-reviews > header > a {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 11px;
  }

  .norterra-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .norterra-related-product > div {
    padding: 10px;
  }

  .norterra-related-product h3 {
    min-height: 38px;
    font-size: 12px;
  }
}

@media screen and (max-width: 380px) {
  .norterra-product-specs {
    gap: 4px;
  }

  .norterra-product-spec {
    min-height: 70px;
    padding: 7px 3px;
  }

  .norterra-product-spec strong {
    font-size: 9px;
  }

  .norterra-product-pack__header > span {
    max-width: 78px;
    white-space: normal;
    text-align: center;
  }

  .norterra-product-pack__option {
    grid-template-columns: 16px minmax(0, 1fr) minmax(74px, auto);
    gap: 4px;
    padding: 6px;
  }

  .norterra-product-pack__quantity small.is-plain {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .norterra-product-gallery__track,
  .norterra-product-gallery__slide img,
  .norterra-product-gallery__arrow,
  .norterra-product-atc,
  .norterra-product-accordion summary span:last-child {
    transition: none;
  }
}


/* v1.9.3 — exact Shopify custom-block specification cards */
.norterra-product-specs,
.norterra-product-specs * {
  box-sizing: border-box;
}

.norterra-product-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  margin-top: 22px;
  padding: 4px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.norterra-product-spec {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 66px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 2px;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(48, 39, 75, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.norterra-product-spec::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -55%;
  width: 105%;
  height: 260%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(17deg);
  pointer-events: none;
}

.norterra-product-spec.is-flavor {
  background: linear-gradient(145deg, #f1fff7, #dcf6e8);
  border: 1px solid #c8ead7;
}

.norterra-product-spec.is-format {
  background: linear-gradient(145deg, #f8f6ff, #e8e3fb);
  border: 1px solid #d9d1f5;
}

.norterra-product-spec.is-strength {
  background: linear-gradient(145deg, #fcf7ff, #efe1fa);
  border: 1px solid #e1cef1;
}

.norterra-product-spec.is-pouches {
  background: linear-gradient(145deg, #f4f9ff, #dfedff);
  border: 1px solid #cddff7;
}

.norterra-product-spec__icon {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 44px;
  margin-bottom: 1px;
}

.norterra-product-spec__icon img,
.norterra-product-spec__icon svg {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.norterra-product-spec__copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.norterra-product-spec__label {
  color: #756c7d;
  font-size: inherit;
  font-weight: 700;
}

.norterra-product-spec__divider {
  color: #a39aaa;
  font-weight: 500;
}

.norterra-product-spec__value {
  display: inline;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #1d2430;
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  text-overflow: ellipsis;
}

@media screen and (max-width: 520px) {
  .norterra-product-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    margin-top: 17px;
    padding: 3px 0;
  }

  .norterra-product-spec {
    min-height: 59px;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 3px 1px;
    border-radius: 9px;
    text-align: center;
  }

  .norterra-product-spec__icon {
    flex-basis: 38px;
    width: 46px;
    height: 38px;
  }

  .norterra-product-spec__icon img,
  .norterra-product-spec__icon svg {
    width: 36px;
    height: 36px;
  }

  .norterra-product-spec__copy {
    gap: 2px;
    font-size: 8.5px;
    letter-spacing: -0.05px;
  }
}

@media screen and (max-width: 360px) {
  .norterra-product-specs {
    gap: 2px;
  }

  .norterra-product-spec {
    min-height: 55px;
    padding: 3px 1px;
    border-radius: 8px;
  }

  .norterra-product-spec__icon {
    flex-basis: 34px;
    width: 40px;
    height: 34px;
  }

  .norterra-product-spec__icon img,
  .norterra-product-spec__icon svg {
    width: 33px;
    height: 33px;
  }

  .norterra-product-spec__copy {
    gap: 1px;
    font-size: 7.6px;
  }
}

/* Shared accordion pages: How to Use, Shipping & Delivery, Product Authenticity. */
.norterra-product-accordion__content .norterra-shared-content,
.norterra-product-accordion__content .norterra-info-section {
  color: #34414d;
  font-size: 13px;
  line-height: 1.65;
}

.norterra-shared-content h3,
.norterra-info-section h3 {
  margin: 0 0 8px;
  color: #101923;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.norterra-shared-content h4,
.norterra-info-section h4 {
  margin: 0;
  color: #14202a;
  font-size: 14px;
  line-height: 1.35;
}

.norterra-info-intro {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  background: linear-gradient(145deg, #f9fcff, #eef6fb);
}

.norterra-info-intro p:last-child {
  margin-bottom: 0;
}

/* How to Use */
.norterra-steps {
  display: grid;
  gap: 10px;
}

.norterra-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e1e6e9;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(24, 42, 56, 0.045);
}

.norterra-step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #6238f8, #4923d2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(71, 29, 221, 0.22);
}

.norterra-step p {
  margin: 4px 0 0;
}

.norterra-good-to-know {
  margin-top: 12px;
  padding: 14px 15px;
  border: 1px solid #cce9d8;
  border-radius: 11px;
  background: linear-gradient(145deg, #f4fff8, #e8f8ee);
}

.norterra-good-to-know h4 {
  margin-bottom: 8px;
  color: #176538;
}

.norterra-good-to-know ul,
.norterra-shared-content ul {
  margin: 0;
  padding-left: 19px;
}

.norterra-good-to-know li,
.norterra-shared-content li {
  margin: 5px 0;
}

/* Carrier logo strip */
.norterra-carrier-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 14px;
}

.norterra-carrier-logo {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 8px 7px;
  border: 1px solid #dfe5e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(19, 35, 48, 0.045);
}

.norterra-carrier-wordmark--fedex {
  display: inline-flex;
  align-items: baseline;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1;
}

.norterra-carrier-wordmark--fedex span:first-child { color: #4d148c; }
.norterra-carrier-wordmark--fedex span:last-child { color: #ff6600; }

.norterra-carrier-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.norterra-carrier-symbol svg {
  display: block;
  width: 42px;
  height: 35px;
}

.norterra-carrier-symbol--ups svg { fill: #351c15; }
.norterra-carrier-symbol--usps svg { width: 52px; fill: #004b87; }

.norterra-carrier-ameriship {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.norterra-carrier-ameriship svg {
  display: block;
  width: 39px;
  height: 26px;
}

/* Shipping cards */
.norterra-carrier-group {
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid #dde4e8;
  border-radius: 12px;
  background: #fff;
}

.norterra-carrier-heading {
  padding: 10px 13px;
  border-bottom: 1px solid #e6ebee;
  background: linear-gradient(145deg, #f8fafc, #edf3f6);
  color: #111b24;
  font-size: 15px;
}

.norterra-shipping-method {
  margin: 10px;
  padding: 11px 12px;
  border: 1px solid #e6eaed;
  border-radius: 9px;
  background: #fbfcfd;
}

.norterra-shipping-method + .norterra-shipping-method {
  margin-top: 8px;
}

.norterra-shipping-method h4 {
  margin-bottom: 6px;
}

.norterra-shipping-method p {
  margin: 2px 0;
}

.norterra-shipping-note,
.norterra-shipping-disclaimer {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 9px;
  background: #f5f8fa;
  color: #52606b;
}

/* Product Authenticity */
.norterra-shared-content.is-authenticity > h3 {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid #d7e4ec;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7fbff, #eaf4fa);
}

.norterra-shared-content.is-authenticity > h4 {
  margin-top: 11px;
  padding: 12px 13px 0;
  border: 1px solid #e0e5e8;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
}

.norterra-shared-content.is-authenticity > h4 + p {
  margin: 0;
  padding: 6px 13px 13px;
  border: 1px solid #e0e5e8;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.norterra-shared-content.is-authenticity > ul {
  margin-top: 0;
  padding: 12px 13px 12px 32px;
  border: 1px solid #cfe7d8;
  border-radius: 0 0 10px 10px;
  background: #f3fff7;
}

@media screen and (max-width: 560px) {
  .norterra-carrier-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .norterra-product-accordion__content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .norterra-step {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .norterra-step-number {
    width: 31px;
    height: 31px;
  }
}


/* v1.9.8 — premium icon accordions */
.norterra-product-accordions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.norterra-product-accordion {
  --norterra-accordion-accent: #3d72d9;
  --norterra-accordion-accent-rgb: 61, 114, 217;
  --norterra-accordion-soft: #edf4ff;
  overflow: hidden;
  border: 1px solid #e5e8ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(25, 34, 45, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.norterra-product-accordion.is-use {
  --norterra-accordion-accent: #23956f;
  --norterra-accordion-accent-rgb: 35, 149, 111;
  --norterra-accordion-soft: #eaf8f2;
}

.norterra-product-accordion.is-shipping {
  --norterra-accordion-accent: #7847c2;
  --norterra-accordion-accent-rgb: 120, 71, 194;
  --norterra-accordion-soft: #f3effc;
}

.norterra-product-accordion.is-authenticity {
  --norterra-accordion-accent: #b87324;
  --norterra-accordion-accent-rgb: 184, 115, 36;
  --norterra-accordion-soft: #fff4e7;
}

.norterra-product-accordion:hover {
  border-color: rgba(var(--norterra-accordion-accent-rgb), 0.28);
  box-shadow: 0 9px 25px rgba(25, 34, 45, 0.075);
  transform: translateY(-1px);
}

.norterra-product-accordion[open] {
  border-color: rgba(var(--norterra-accordion-accent-rgb), 0.38);
  box-shadow: 0 11px 28px rgba(var(--norterra-accordion-accent-rgb), 0.11);
  transform: none;
}

.norterra-product-accordion summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(var(--norterra-accordion-accent-rgb), 0.025), rgba(255, 255, 255, 0));
  color: #172231;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  list-style: none;
  outline: none;
}

.norterra-product-accordion summary::-webkit-details-marker {
  display: none;
}

.norterra-product-accordion summary::marker {
  display: none;
  content: '';
}

.norterra-product-accordion summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--norterra-accordion-accent-rgb), 0.2);
}

.norterra-product-accordion__heading {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.norterra-product-accordion__icon {
  display: inline-flex;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--norterra-accordion-accent-rgb), 0.13);
  border-radius: 50%;
  background: var(--norterra-accordion-soft);
  color: var(--norterra-accordion-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.norterra-product-accordion__icon svg {
  display: block;
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.norterra-product-accordion__label {
  display: block;
  min-width: 0;
}

.norterra-product-accordion__chevron {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e8ec;
  border-radius: 50%;
  background: #fff;
  color: #56616d;
  box-shadow: 0 2px 7px rgba(21, 30, 40, 0.05);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 200ms ease;
}

.norterra-product-accordion__chevron svg {
  display: block;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.norterra-product-accordion summary:hover .norterra-product-accordion__chevron {
  border-color: rgba(var(--norterra-accordion-accent-rgb), 0.25);
  background: var(--norterra-accordion-soft);
  color: var(--norterra-accordion-accent);
}

.norterra-product-accordion[open] summary {
  background: linear-gradient(90deg, rgba(var(--norterra-accordion-accent-rgb), 0.065), rgba(255, 255, 255, 0));
}

.norterra-product-accordion[open] summary .norterra-product-accordion__chevron {
  border-color: rgba(var(--norterra-accordion-accent-rgb), 0.25);
  background: var(--norterra-accordion-soft);
  color: var(--norterra-accordion-accent);
  transform: rotate(180deg);
}

.norterra-product-accordion__content {
  margin: 0 14px;
  padding: 17px 3px 19px;
  border-top: 1px solid rgba(var(--norterra-accordion-accent-rgb), 0.12);
  color: #4f5c68;
  font-size: 13px;
  line-height: 1.68;
}

@media screen and (max-width: 749px) {
  .norterra-product-accordions {
    gap: 8px;
    margin-top: 15px;
  }

  .norterra-product-accordion {
    border-radius: 12px;
  }

  .norterra-product-accordion:hover {
    transform: none;
  }

  .norterra-product-accordion summary {
    min-height: 58px;
    gap: 10px;
    padding: 9px 11px;
    font-size: 13.5px;
  }

  .norterra-product-accordion__heading {
    gap: 10px;
  }

  .norterra-product-accordion__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .norterra-product-accordion__icon svg {
    width: 21px;
    height: 21px;
  }

  .norterra-product-accordion__chevron {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .norterra-product-accordion__chevron svg {
    width: 15px;
    height: 15px;
  }

  .norterra-product-accordion__content {
    margin: 0 11px;
    padding: 14px 2px 16px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .norterra-product-accordion,
  .norterra-product-accordion__chevron {
    transition: none;
  }
}


/* v1.9.9 — keep accordion headings upright when opened. */
.norterra-product-accordion summary .norterra-product-accordion__heading,
.norterra-product-accordion summary .norterra-product-accordion__label,
.norterra-product-accordion[open] summary .norterra-product-accordion__heading,
.norterra-product-accordion[open] summary .norterra-product-accordion__label {
  color: inherit;
  font-size: inherit;
  transform: none !important;
}
