/* Purchase orientation, using the existing product layout and native controls. */

/* A viewport-height body was ending the main header's sticky containing block. */
body.single-product { height: auto; min-height: 100%; }

.amg-sales-layout.has-product-roi { row-gap: 12px; }

.amg-sales-layout .amg-single-product__top { column-gap: 32px; row-gap: 0; grid-template-rows: auto 1fr; }

.amg-product-identity { grid-column: 2; grid-row: 1; min-width: 0; padding: 12px 12px 0; }

.amg-product-identity .product_title { margin: 0 0 6px; font-size: 32px; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }

.amg-product-identity .amg-single-product__sku { margin: 0; color: #67716c; font-size: 12px; }

.amg-product-identity .woocommerce-product-rating { margin-top: 8px; font-size: 13px; }

.amg-sales-layout .amg-single-product__gallery { grid-column: 1; grid-row: 1 / span 2; }

.amg-sales-layout .amg-single-product__summary { grid-column: 2; grid-row: 2; }

.amg-sales-layout:not(.product-type-variable) .woocommerce-product-details__short-description { grid-row: 1; }

.amg-sales-layout:not(.product-type-variable) .woocommerce-notices-wrapper { grid-row: 2; }

.amg-sales-layout:not(.product-type-variable) .amg-single-product__service-info { grid-row: 3; }

.amg-sales-layout:not(.product-type-variable) .amg-single-product__stock { grid-row: 4; }

.amg-sales-layout:not(.product-type-variable) .summary > .price { grid-row: 5; }

.amg-sales-layout:not(.product-type-variable) .summary form.cart { grid-row: 5 / span 2; }

.amg-sales-layout:not(.product-type-variable) .amg-single-product__tax-note,

.amg-sales-layout:not(.product-type-variable) .summary > .amg-product-price-enquiry { grid-row: 6; }

.amg-sales-layout:not(.product-type-variable) .amg-purchase-help { grid-column: 1 / -1; grid-row: 7; }

.amg-sales-layout:not(.product-type-variable) .amg-single-product__payments { grid-row: 8; }

.amg-sales-layout:not(.product-type-variable) .summary .amg-product-tools--single { grid-row: 9; }

.amg-sales-layout:not(.product-type-variable) .summary .product_meta { grid-row: 10; }

.amg-sales-layout .summary .woocommerce-product-details__short-description { color: #5b655c; line-height: 1.55; }

.amg-sales-layout.product-type-simple .summary { display: flex; flex-direction: column; align-items: stretch; }

.amg-simple-purchase { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; }

.amg-sales-layout .summary .amg-simple-purchase > .price { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }

.amg-sales-layout .summary .amg-simple-purchase > form.cart { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin: 0; }

.amg-sales-layout .summary .amg-simple-purchase > .amg-single-product__tax-note { grid-column: 1; grid-row: 2; margin: 0; }

.amg-sales-layout .summary .amg-simple-purchase > .amg-product-price-enquiry { grid-column: 1 / -1; grid-row: 2; margin: 0; }

.amg-sales-layout.onbackorder .summary .amg-single-product__stock { color: #805a19; }

.amg-sales-layout .amg-version-option__spec { font-size: 13px; }

.amg-sales-layout .amg-single-product-roi__header > span { display: none; }

.amg-sales-layout .amg-single-product-roi { grid-template-columns: minmax(150px, 1.1fr) minmax(180px, 1.15fr) repeat(4, minmax(0, 1fr)); align-items: center; gap: 10px 12px; padding: 18px; }

.amg-sales-layout .amg-single-product-roi__header h2 { font-size: 18px; line-height: 1.3; }

.amg-sales-layout .amg-single-product-roi__header,

.amg-sales-layout .amg-single-product-roi__field { grid-column: auto; align-self: stretch; align-content: center; }

.amg-sales-layout .amg-single-product-roi__metrics:not([hidden]) { display: contents; }

.amg-sales-layout .amg-single-product-roi__metrics > span { min-height: 64px; align-content: center; }

.amg-sales-layout .amg-single-product-roi__metrics span,

.amg-sales-layout .amg-single-product-roi__field-label { color: #606b5e; font-size: 12px; }

.amg-sales-layout .amg-single-product-roi__metrics strong { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }

.amg-sales-layout .amg-single-product-roi__input input { font-size: 16px; }

.amg-sales-layout .amg-single-product-roi__context { font-size: 11px; }

.amg-product-calculator-transition { position: relative; z-index: 0; min-width: 0; padding-block: 16px; }

.amg-product-calculator-transition::before { content: ""; position: absolute; z-index: -1; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: linear-gradient(to bottom, #fff 50%, #f3f4f6 50%); }

.has-product-roi .amg-single-product__details::before { top: -12px; }

@media (min-width: 681px) and (max-width: 1100px) {
  .amg-sales-layout .amg-single-product-roi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .amg-sales-layout .amg-single-product-roi__header,
  .amg-sales-layout .amg-single-product-roi__field { grid-column: span 2; }
}

.amg-sales-layout .amg-product-card__spec-note { margin: 0; padding: 8px 10px; border-radius: 8px; background: #f5f7f1; color: #596652; font-size: 12px; line-height: 1.5; }

.amg-sales-layout .woocommerce-product-gallery { position: relative; }

.amg-sales-layout .woocommerce-product-gallery__trigger { position: absolute; z-index: 5; top: -10px; right: 0; left: auto; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid #e1e6dc; border-radius: 12px; background: #fff; color: #4d5d44; font-size: 0; text-decoration: none; box-shadow: 0 2px 8px #24361708; }

.amg-sales-layout .woocommerce-product-gallery__trigger::before { content: ""; position: static; display: block; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 0; background: currentColor; mask: url("../icons/expand.svg") center / contain no-repeat; -webkit-mask: url("../icons/expand.svg") center / contain no-repeat; }

.amg-sales-layout .woocommerce-product-gallery__trigger > [aria-hidden="true"] { display: none; }

.amg-sales-layout .woocommerce-product-gallery__trigger::after { display: none; }

.amg-sales-layout .woocommerce-product-gallery__trigger:hover { color: #327d37; border-color: #8ea779; }

.amg-sales-layout .woocommerce-product-gallery__trigger:focus-visible { outline: 3px solid #557e2d; outline-offset: 3px; }

.amg-sales-layout .amg-product-firmware__group-count,

.amg-sales-layout .amg-product-firmware__meta { color: #626c61; }

.amg-sales-layout .amg-single-product__summary form.cart .single_add_to_cart_button,

.amg-product-buybar__action { background: #327d37; color: #fff; min-height: 46px; }

.amg-sales-layout .amg-single-product__summary form.cart .single_add_to_cart_button:hover,

.amg-product-buybar__action:hover { background: #28652c; color: #fff; }

.amg-sales-layout .amg-purchase-help { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 10px 0 12px; border-top: 1px solid #e6e9e5; border-bottom: 1px solid #e6e9e5; font-size: 13px; line-height: 1.5; }

.amg-purchase-help > .amg-single-product__payments-label { grid-column: 1; grid-row: 1; }

.amg-purchase-help > .amg-single-product__payments-list { grid-column: 1 / -1; grid-row: 2; }

.amg-delivery-info { position: relative; grid-column: 2; grid-row: 1; justify-self: end; min-width: 0; }

.amg-delivery-info__trigger { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 36px; padding: 4px 0 4px 8px; border: 0; border-radius: 4px; background: transparent; color: #52633e; font: inherit; font-weight: 500; line-height: 1.4; text-align: right; cursor: pointer; }

.amg-delivery-info__icon { display: grid; place-items: center; flex: 0 0 15px; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 11px; font-weight: 700; font-style: normal; line-height: 1; }

.amg-delivery-info__trigger:focus-visible { outline: 3px solid #557e2d; outline-offset: 3px; }

.amg-delivery-info__panel { position: absolute; z-index: 40; inset: calc(100% + 8px) 0 auto auto; width: min(320px, calc(100vw - 80px)); max-height: 320px; overflow: auto; padding: 16px; border: 1px solid #dfe6d9; border-radius: 12px; background: #fff; color: #53605a; box-shadow: 0 8px 28px #14250d1f; font-size: 13px; line-height: 1.55; }

.amg-delivery-info__panel[hidden] { display: none; }

.amg-delivery-info__panel.is-above { inset: auto 0 calc(100% + 8px) auto; }

.amg-delivery-info__panel p { margin: 0 0 10px; }

.amg-delivery-info__panel a { display: inline-block; padding-block: 4px; color: #415a32; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.amg-sales-layout .summary .amg-product-tools--single { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.amg-sales-layout .summary .amg-product-tools--single .amg-product-tool { min-width: 0; min-height: 44px; justify-content: flex-start; gap: 8px; padding: 0; }

.amg-sales-layout .summary .amg-product-tools--single .amg-product-tool__icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; }

.amg-sales-layout .summary .amg-product-tools--single .amg-product-tool__icon svg { width: 18px; height: 18px; }

.amg-sales-layout .summary .amg-product-tools--single .amg-product-tool__text { min-width: 0; color: #344034; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: normal; overflow-wrap: normal; text-align: left; }

@media (max-width: 680px) {
  .amg-delivery-info__trigger { min-height: 44px; }
  .amg-sales-layout .summary .amg-product-tools--single .amg-product-tool { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 6px 2px; }
  .amg-sales-layout .summary .amg-product-tools--single .amg-product-tool__icon { flex: 0 0 32px; width: 32px; height: 32px; }
  .amg-sales-layout .summary .amg-product-tools--single .amg-product-tool__text { font-size: 12px; font-weight: 500; text-align: center; }
}

@media (max-width: 360px) {
  .amg-sales-layout .amg-purchase-help { grid-template-columns: minmax(0, 1fr); }
  .amg-purchase-help > .amg-delivery-info { grid-column: 1; grid-row: 3; }
}

.amg-product-sections { display: flex; gap: 4px 24px; flex-wrap: wrap; align-items: center; padding: 4px 12px; border-top: 1px solid #e7eae4; border-bottom: 1px solid #e7eae4; }

.amg-product-sections a { display: inline-flex; align-items: center; min-height: 44px; color: #425139; font-size: 14px; font-weight: 600; text-decoration: none; }

.amg-product-sections a:hover { text-decoration: underline; text-underline-offset: 5px; }

.amg-product-sections { position: static; background: #fff; }

.amg-product-sections a[aria-current="location"] { color: #327d37; box-shadow: inset 0 -2px #638c35; }

.amg-product-sections a:focus-visible { outline-offset: -3px; }

.amg-sales-layout [id^="amg-product-"] { scroll-margin-top: var(--amg-product-anchor-top, 155px); }

.amg-product-buybar[hidden] { display: none !important; }

.amg-product-buybar { display: none; }

body.amg-product-buybar-visible .cmplz-manage-consent { bottom: calc(var(--amg-purchase-bar-height, 76px) + 8px) !important; }

body.amg-product-buybar-visible .amg-scroll-top { bottom: calc(var(--amg-purchase-bar-height, 76px) + 16px); }

/* Keep the native privacy control available without covering product links. */

body.amg-product-buybar-ready button.cmplz-manage-consent { left: 12px !important; right: auto !important; width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 11px !important; border-radius: 50% !important; font-size: 0 !important; line-height: 0 !important; color: #5a6751 !important; }

body.amg-product-buybar-ready button.cmplz-manage-consent::before { content: ""; position: absolute; left: 11px; top: 11px; display: block; width: 20px; height: 20px; background: currentColor; mask: url("../icons/cookie.svg") center / contain no-repeat; -webkit-mask: url("../icons/cookie.svg") center / contain no-repeat; }

body.amg-product-buybar-ready button.cmplz-manage-consent:focus-visible { outline: 3px solid #557e2d; outline-offset: 3px; }

.amg-purchase-help a:focus-visible,

.amg-purchase-help summary:focus-visible,

.amg-product-sections a:focus-visible,

.amg-product-buybar button:focus-visible { outline: 3px solid #557e2d; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 980px) {

  .amg-sales-layout .amg-single-product__top { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 10px; }

  .amg-product-identity { grid-column: 1; grid-row: 1; padding: 0 12px; }

  .amg-product-identity .product_title { font-size: clamp(24px, 5vw, 30px); }

  .amg-sales-layout .amg-single-product__gallery { grid-column: 1; grid-row: 2; }

  .amg-sales-layout .amg-single-product__summary { grid-column: 1; grid-row: 3; }

  .amg-product-sections { gap: 0 20px; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }

  .amg-product-sections a { flex: 0 0 auto; }

}

@media (max-width: 680px) {

  .amg-sales-layout:not(.product-type-variable) .amg-single-product__summary.summary > * { grid-column: 1 / -1; grid-row: auto; }

  .amg-sales-layout .amg-single-product-roi__footer .amg-single-product-roi__link { align-self: stretch; justify-content: space-between; }

  .amg-sales-layout .amg-single-product-roi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; }

  .amg-sales-layout .amg-single-product-roi__header h2 { font-size: 17px; }

  .amg-sales-layout .amg-single-product-roi__metrics > span { min-height: 56px; padding: 10px; }

  .amg-sales-layout .amg-single-product-roi__field { grid-column: auto; align-self: stretch; min-height: 64px; padding: 10px; }

  .amg-sales-layout .amg-single-product-roi__input em { font-size: 10px; padding-left: 5px; }

  .amg-sales-layout .amg-single-product-roi__field-label { font-size: 12px; line-height: 1.4; }

  .amg-simple-purchase { grid-template-columns: minmax(0, 1fr); }

  .amg-sales-layout .summary .amg-simple-purchase > form.cart { grid-column: 1; grid-row: auto; justify-self: stretch; }

}

@media (min-width: 981px) {

  .amg-sales-layout .amg-single-product__details-side { position: static; }

  .amg-sales-layout .amg-single-product__details-side.is-sidebar-fit { position: sticky; top: var(--amg-product-sidebar-top, 48px); }

}

/* WordPress makes its mobile toolbar absolute; the site menu must not keep its offset after it scrolls away. */
@media (max-width: 600px) {
  body.single-product.admin-bar .amg-header { top: 0; }
}

@media (min-width: 768px) {

  body.amg-product-buybar-ready { padding-bottom: 76px; }

  .amg-product-buybar { display: grid; position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; grid-template-columns: minmax(0, 1fr) auto 48px; align-items: center; gap: 24px; padding: 12px max(24px, calc((100vw - 1280px) / 2)); border-top: 1px solid #dce4d7; background: #fff; box-shadow: 0 -4px 24px #14250d0d; }

  .amg-product-buybar__offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }

  .amg-product-buybar__name { min-width: 0; color: #3e4a3a; font-size: 14px; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  .amg-product-buybar__price { flex: 0 0 auto; color: #1d291c; font-size: 20px; line-height: 1.3; font-weight: 650; }

  .amg-product-buybar__price .woocommerce-price-suffix { color: #606a5b; font-size: 12px; font-weight: 400; }

  .amg-product-buybar__price del { font-size: 14px; font-weight: 400; }

  .amg-product-buybar__price ins { text-decoration: none; }

  .amg-product-buybar__action { min-width: 180px; padding: 10px 22px; border: 0; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; cursor: pointer; }

  .amg-product-buybar .amg-bottombar__btn { min-width: 44px; min-height: 46px; padding: 4px; }

  .amg-product-buybar .amg-bottombar__label { display: none; }

  body.amg-menu-open .amg-product-buybar { display: none; }

}

@media (max-width: 767px) {

  body.amg-product-buybar-ready { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

  body.amg-product-buybar-visible .amg-bottombar { display: none; }

  body.amg-product-buybar-visible .amg-scroll-top { display: inline-flex !important; width: 48px; height: 48px; right: 12px; }

  .amg-product-buybar { display: grid; position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; grid-template-columns: minmax(0, 1fr) minmax(118px, auto) 42px; align-items: center; gap: 9px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dce4d7; background: #fff; box-shadow: 0 -4px 24px #14250d0d; }

  .amg-product-buybar__offer { min-width: 0; }

  .amg-product-buybar__name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 1.4; color: #5c6859; }

  .amg-product-buybar__price { display: block; margin-top: 2px; color: #1d291c; font-size: 15px; line-height: 1.25; font-weight: 650; overflow-wrap: anywhere; }

  .amg-product-buybar__price .woocommerce-price-suffix { display: block; font-size: 10px; font-weight: 400; color: #606a5b; }

  .amg-product-buybar__price del { font-size: 11px; font-weight: 400; }

  .amg-product-buybar__price ins { text-decoration: none; }

  .amg-product-buybar__action { min-width: 0; max-width: 175px; padding: 9px 12px; border: 0; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.3; cursor: pointer; }

  .amg-product-buybar .amg-bottombar__btn { min-width: 42px; min-height: 46px; padding: 3px; }

  .amg-product-buybar .amg-bottombar__label { font-size: 10px; }

  body.amg-menu-open .amg-product-buybar { display: none; }

  body.amg-product-buybar-ready .cmplz-manage-consent { bottom: calc(var(--amg-purchase-bar-height, 84px) + 8px) !important; }

}

