/* Single product page */
.am-single-product-page {
    padding: 34px 0 56px;
    background: #fff;
    overflow-x: hidden;
    overflow-x: clip;
}

.am-single-product-container {
    width: min(calc(100% - 40px), 1200px);
}

.am-single-product-breadcrumbs {
    margin-bottom: 22px;
    color: #686868;
    font-size: 14px;
}

.am-single-product-breadcrumbs .woocommerce-breadcrumb {
    margin: 0;
}

.am-single-product-breadcrumbs .woocommerce-breadcrumb span {
    margin: 0 8px;
}

.am-single-product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #a8aaa6;
    padding-bottom: 16px;
}

.am-single-product-header h1 {
    margin: 0 0 8px;
    color: #282828;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.am-single-product-short {
    max-width: 930px;
    color: #686868;
    font-size: 14px;
    line-height: 1.45;
}

.am-single-product-short p {
    margin: 0;
}

.am-single-product-header-rating {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: #282828;
    font-size: 12px;
    white-space: nowrap;
}

.am-single-product-header-rating .am-product-stars,
.am-single-review-card__stars,
.am-product-review-summary .am-product-stars {
    color: #f1a718;
    letter-spacing: 1px;
}

.am-single-product-header-rating small {
    color: #8e8e8e;
    font-size: 14px;
    font-weight: 400;
}

.am-single-product-main {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr) 280px;
    gap: 16px;
    margin-top: 16px;
    align-items: start;
}

.am-single-product-gallery,
.am-single-product-purchase,
.am-single-product-aside {
    min-width: 0;
}

.am-single-product-main-image {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: #f4f4f2;
}

.am-single-product-main-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.am-single-product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity .18s ease, transform .3s ease;
}

.am-single-product-main-image img.is-changing {
    opacity: .25;
    transform: scale(.97);
}

.am-gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 36px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 0;
    background: #d9dfd7;
    color: #3e5338;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.am-gallery-arrow:hover {
    background: #c8d1c5;
}

.am-gallery-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-gallery-arrow--prev { left: 0; }
.am-gallery-arrow--next { right: 0; }

.am-single-product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.am-product-thumb {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5d7d2;
    border-radius: 4px;
    padding: 6px;
    background: #fff;
    cursor: pointer;
}

.am-product-thumb.is-active {
    border-color: #3e5338;
}

.am-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.am-single-product-main-image [data-gallery-open] {
    cursor: zoom-in;
}

body.am-product-lightbox-open {
    overflow: hidden;
}

.am-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 28px;
}

.am-product-lightbox[hidden] {
    display: none !important;
}

.am-product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(20, 26, 19, .72);
    backdrop-filter: blur(2px);
    cursor: zoom-out;
}

.am-product-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1000px);
    height: min(86vh, 760px);
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    border-radius: 6px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.am-product-lightbox__stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-product-lightbox__stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.am-product-lightbox__close,
.am-product-lightbox__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
}

.am-product-lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    background: #f2f2f2;
    color: #282828;
}

.am-product-lightbox__close svg,
.am-product-lightbox__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-product-lightbox__arrow {
    width: 44px;
    height: 54px;
    background: #d9dfd7;
    color: #3e5338;
}

.am-product-lightbox__arrow--prev {
    justify-self: start;
}

.am-product-lightbox__arrow--next {
    justify-self: end;
}

.am-product-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    color: #686868;
    font-size: 13px;
    transform: translateX(-50%);
}

.am-product-characteristics {
    margin-top: 16px;
}

.am-product-characteristics h2,
.am-product-characteristics__toggle {
    margin: 0 0 10px;
    color: #282828;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.am-product-characteristics__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.am-product-characteristics__chevron { display: none; }

.am-product-advantages h2,
.am-product-info-card h2,
.am-product-help-card h2 {
    margin: 0 0 10px;
    color: #3e5338;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.am-product-characteristics dl {
    margin: 0;
    color: #282828;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.am-product-characteristics dl > div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.am-product-characteristics dt,
.am-product-characteristics dd {
    color: #282828;
    font-weight: 500;
}

.am-product-characteristics dd { margin: 0; }
.am-product-characteristics a { color: #3e5338; }

.am-single-product-purchase {
    display: grid;
    gap: 12px;
}

.am-product-advantages {
    border-bottom: 1px solid #a8aaa6;
    padding: 0 0 12px;
}

.am-product-advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 16px;
    color: #282828;
    font-size: 13px;
}

.am-product-advantages__grid span {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.am-product-advantages__grid i {
    color: #3e5338;
    font-style: normal;
}

.am-single-product-form {
    display: grid;
    gap: 12px;
}

.am-product-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.am-product-option-group > label {
    display: block;
    margin-bottom: 7px;
    color: #282828;
    font-size: 14px;
    font-weight: 500;
}

.am-product-option-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.am-product-option-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.am-product-option-radio span,
.am-product-option-group select {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8f948c;
    border-radius: 4px;
    padding: 8px 12px;
    background: #fff;
    color: #686868;
    font-size: 13px;
    cursor: pointer;
}

.am-product-option-radio input:checked + span {
    border-color: #3e5338;
    background: rgba(62, 83, 56, .08);
    color: #3e5338;
}

.am-product-option-group select {
    width: 100%;
    justify-content: flex-start;
    outline: none;
}

.am-product-price-stock {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #a8aaa6;
    padding-top: 10px;
}

.am-product-price-column {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.am-product-live-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #3e5338;
    white-space: nowrap;
}

.am-product-live-price strong,
.am-product-live-price > .amount,
.am-product-live-price ins {
    color: #3e5338;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.am-product-live-price del {
    color: #909090;
    font-size: 12px;
    font-weight: 400;
}

.am-product-viewing {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #282828;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.am-product-price-stock > .am-product-viewing {
    grid-column: 1;
    grid-row: 2;
}

.am-product-viewing svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #686868;
    stroke-width: 1.5;
}

.am-product-stock-view {
    max-width: 245px;
    display: grid;
    justify-items: end;
    gap: 4px;
    color: #686868;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    align-self: flex-end;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.am-product-stock-view strong {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #6d8965;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.am-product-stock-view strong.is-on-backorder {
    color: #b98916;
}

.am-product-stock-view strong.is-out-of-stock {
    color: #b90101;
}

.am-product-stock-view strong small {
    color: inherit;
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
}

.am-product-stock-view > span {
    color: #686868;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.am-product-buy-row {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 12px;
}

.am-product-quantity {
    height: 52px;
    display: grid;
    grid-template-columns: 36px 52px 36px;
    align-items: center;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.am-product-quantity button,
.am-product-quantity input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
}

.am-product-quantity button {
    padding: 0;
    color: #3e5338;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.am-product-quantity input {
    width: 52px;
    height: 52px;
    border: 1px solid #282828;
    border-radius: 4px;
    background: transparent;
    color: #282828;
    -moz-appearance: textfield;
}

.am-product-quantity input::-webkit-inner-spin-button,
.am-product-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.am-product-add-button {
    min-height: 52px;
    border-radius: 4px;
    font-size: 14px;
}

.am-product-add-button.is-in-cart {
    border-color: transparent;
    background: rgba(62, 83, 56, .2);
    color: #3e5338;
}

.am-product-add-button.is-loading,
.am-quick-order button.is-loading {
    opacity: .65;
    pointer-events: none;
}

.am-product-form-status,
.am-quick-order__status {
    min-height: 16px;
    color: #c2493d;
    font-size: 12px;
}

.am-product-discounts {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.am-product-discount-banner {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #3e5338;
    border-radius: 4px;
    padding: 7px 12px;
    background: rgba(62, 83, 56, .2);
    color: #3e5338;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.am-product-discount-banner > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.am-product-discount-banner__chevron {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}

.am-product-discount-banner__chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-product-discounts.is-collapsed .am-product-discount-banner__chevron {
    transform: rotate(180deg);
}

.am-product-discount-list {
    display: grid;
}

.am-product-discount-content {
    min-width: 0;
    max-width: 100%;
    margin-top: 8px;
}

.am-product-discount-content[hidden],
.am-product-discounts.is-collapsed .am-product-discount-content {
    display: none;
}

.am-product-discount-content .am-product-subscription {
    margin-top: 8px;
}

.am-product-discount-tier {
    min-height: 45px;
    display: grid;
    grid-template-columns: 22px minmax(190px, 1fr) auto minmax(0, 145px);
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #d1d5db;
    padding: 6px 0;
    color: #282828;
    cursor: pointer;
}

.am-product-discount-tier:last-child { border-bottom: 0; }

.am-tier-check {
    width: 20px;
    height: 20px;
    border: 1px solid #3e5338;
    border-radius: 50%;
}

.am-product-discount-tier.is-active .am-tier-check {
    box-shadow: inset 0 0 0 4px #fff;
    background: #3e5338;
}

.am-tier-label {
    padding: 0 20px 0 10px;
    color: #282828;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: none;
}

.am-tier-saving {
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    white-space: nowrap;
}

.am-tier-prices {
    width: calc(100% - 20px);
    max-width: 125px;
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: 20px;
    padding: 0;
    white-space: nowrap;
}

.am-tier-prices del,
.am-tier-prices strong {
    width: auto;
    min-width: 0;
    min-height: 0;
    display: inline;
    padding: 0;
    white-space: nowrap;
}

.am-tier-prices del,
.am-tier-prices strong { flex: 0 0 auto; }

.am-tier-saving {
    width: auto;
    min-height: 27px;
    justify-self: stretch;
    border-right: 1px solid #b8b8b8;
    border-left: 1px solid #b8b8b8;
    border-radius: 0;
    padding: 0 8px;
    background: transparent;
}

.am-tier-saving > span {
    width: 115px;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    border-radius: 4px;
    padding: 4px 8px;
    background: #f2f2f2;
    color: #b90101;
    font-size: 12px;
    font-weight: 400;
}

.am-product-discount-tier del {
    color: #909090;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    text-decoration: line-through;
}

.am-product-discount-tier strong {
    color: #3e5338;
    font-size: 16px;
    font-weight: 500;
}

.am-product-subscription {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #8f948c;
    border-radius: 4px;
    padding: 10px 12px;
    color: #686868;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
}

.am-product-subscription [data-subscription-label] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.am-product-subscription input {
    position: absolute;
    opacity: 0;
}

.am-product-subscription__box {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border: 1px solid #8f948c;
    border-radius: 3px;
}

.am-product-subscription.is-active .am-product-subscription__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3e5338;
    color: #fff;
}

.am-product-subscription.is-active .am-product-subscription__box::after { content: "✓"; font-size: 13px; }
.am-product-subscription__info { position:relative; margin-left:0; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; flex:0 0 24px; cursor:help; }
.am-product-subscription__info svg { width:20px; height:20px; }
.am-product-subscription__tooltip {
    position:absolute;
    right:-8px;
    bottom:calc(100% + 15px);
    z-index:30;
    width:328px;
    display:grid;
    gap:4px;
    border-radius:8px;
    padding:10px 9px 9px;
    background:#fff;
    box-shadow:0 10px 32px rgba(62,83,56,.16);
    color:#686868;
    font-size:12px;
    font-weight:400;
    line-height:1.28;
    text-align:left;
    text-transform:none;
    white-space:normal;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(5px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.am-product-subscription__tooltip::after {
    content:"";
    position:absolute;
    right:18px;
    top:100%;
    border:7px solid transparent;
    border-top-color:#fff;
}
.am-product-subscription__tooltip strong {
    color:#282828;
    font-size:15px;
    font-weight:400;
    line-height:1.25;
}
.am-product-subscription__tooltip > span { display:block; }
.am-product-subscription__info:hover .am-product-subscription__tooltip,
.am-product-subscription__info:focus .am-product-subscription__tooltip,
.am-product-subscription__info:focus-visible .am-product-subscription__tooltip,
.am-product-subscription__info.is-open .am-product-subscription__tooltip {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

@media (max-width: 767px) {
    .am-product-subscription__tooltip {
        right: -4px;
        width: min(328px, calc(100vw - 40px));
    }
    .am-product-subscription__tooltip::after { right: 14px; }
}

/* Mobile product composition v6.22 */
@media (max-width: 767px) {
    .am-single-product-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .am-single-product-header > div {
        display: contents;
    }

    .am-single-product-header-rating {
        order: 1;
        align-self: flex-start;
        margin: 0 0 10px;
    }

    .am-single-product-header h1 {
        order: 2;
        margin: 0;
    }

    .am-single-product-short {
        order: 3;
        margin-top: 10px;
    }

    .am-single-product-main {
        display: flex;
        flex-direction: column;
    }

    .am-single-product-gallery,
    .am-single-product-purchase,
    .am-single-product-form,
    .am-single-product-aside {
        display: contents;
    }

    .am-single-product-main-image { order: 10; margin-top: 4px; }
    .am-single-product-thumbnails { display: none; }
    .am-product-lightbox { order: 11; }
    .am-product-advantages { order: 20; margin-top: 18px; }
    .am-product-price-stock { order: 30; margin-top: 18px; }
    .am-product-options { order: 40; margin-top: 18px; }
    .am-product-buy-row { order: 50; margin-top: 18px; }
    .am-product-form-status { order: 51; }
    .am-product-characteristics { order: 60; margin-top: 24px; }
    .am-product-discounts { order: 70; margin-top: 24px; }
    .am-product-subscription { order: 80; margin-top: 16px; }
    .am-quick-order { order: 90; margin-top: 16px; }
    .am-product-info-card { order: 100; margin-top: 24px; }
    .am-product-help-card { order: 101; margin-top: 16px; }

    .am-product-price-stock {
        grid-template-columns: minmax(0, auto) minmax(0, auto);
        justify-content: space-between;
        column-gap: 16px;
        row-gap: 8px;
        align-items: end;
        width: 100%;
    }

    .am-product-price-column,
    .am-product-stock-view {
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .am-product-live-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        white-space: normal;
    }

    .am-product-live-price del {
        order: -1;
        font-size: 12px;
        line-height: 1.2;
    }

    .am-product-live-price strong,
    .am-product-live-price > .amount,
    .am-product-live-price ins,
    .am-product-live-price ins .amount {
        font-size: 24px;
        line-height: 1.1;
    }

    .am-product-stock-view {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        justify-items: end;
    }

    .am-product-stock-view strong {
        flex-wrap: wrap;
        justify-content: flex-end;
        font-size: 14px;
        line-height: 1.25;
    }

    .am-product-stock-view strong small,
    .am-product-stock-view > span {
        font-size: 12px;
    }

    .am-product-price-stock > .am-product-viewing {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }

    .am-product-add-button {
        font-size: 16px;
        font-weight: 500;
    }

    .am-product-discount-tier {
        grid-template-columns: 20px minmax(0, 1fr) 115px;
        column-gap: 0;
    }

    .am-product-discount-tier .am-tier-label {
        grid-column: 2;
        grid-row: 1;
    }

    .am-product-discount-tier .am-tier-saving {
        grid-column: 3;
        grid-row: 1;
        width: 115px;
        margin: 0;
        border: 0;
        padding: 0;
    }

    .am-product-discount-tier .am-tier-saving > span {
        width: 115px;
        justify-content: center;
    }

    .am-product-discount-tier .am-tier-prices {
        display: none;
    }

    .am-quick-order__controls {
        grid-template-columns: 1fr;
    }

    .am-quick-order__phone-field,
    .am-quick-order__controls .am-button {
        width: 100%;
    }

    .am-quick-order__form a {
        color: #3e5338;
    }

    .am-product-review-cards {
        grid-auto-columns: 68%;
    }
}

.am-quick-order {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    border-radius: 4px;
    background: #f2f2f2;
}

.am-quick-order__form[hidden],
.am-quick-order__success[hidden],
.am-quick-order .am-country-select__menu[hidden] {
    display: none !important;
}

.am-quick-order__summary {
    width: 100%;
    min-height: 98px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    padding: 22px 16px 18px;
    background: transparent;
    color: #282828;
    text-align: left;
    cursor: pointer;
}

.am-quick-order__summary span:first-child {
    display: grid;
    gap: 6px;
}

.am-quick-order__summary strong {
    color: #282828;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}

.am-quick-order__summary small {
    color: #686868;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.am-quick-order__chevron {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: transform .2s ease;
}

.am-quick-order__chevron::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid #282828;
    border-bottom: 2px solid #282828;
    transform: rotate(45deg) translate(-1px, -1px);
}

.am-quick-order.is-open .am-quick-order__chevron {
    transform: rotate(180deg);
}

.am-quick-order__form {
    margin: 0 16px;
    border-top: 1px solid #8f948c;
    padding: 8px 0 14px;
}

.am-quick-order__controls {
    display: grid;
    grid-template-columns: 283px minmax(160px, 1fr);
    gap: 8px;
    align-items: stretch;
}

.am-quick-order__phone-field {
    width: 283px;
    height: 50px;
    min-height: 50px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    border: 1px solid #282828;
    border-radius: 4px;
    background: transparent;
}

.am-quick-order__phone-field > input {
    min-width: 0;
    width: 100%;
    height: 48px;
    border: 0;
    padding: 0 16px 0 12px;
    background: transparent !important;
    color: #282828;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    outline: none;
}

.am-quick-order__phone-field > input::placeholder {
    color: #8d8d8d;
    opacity: 1;
}

.am-quick-order__controls .am-button {
    width: 100%;
    height: 50px;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0 16px;
    background: rgba(62, 83, 56, .2);
    color: #3e5338;
    font-size: 15.36px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.am-quick-order__controls .am-button:hover,
.am-quick-order__controls .am-button:focus-visible {
    border-color: rgba(62, 83, 56, .2);
    background: rgba(62, 83, 56, .28);
    color: #3e5338;
    transform: none;
}

.am-quick-order .am-country-select {
    position: relative;
}

.am-quick-order .am-country-select__toggle {
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-right: 0;
    padding: 0;
    background: transparent;
}

.am-quick-order .am-country-select__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.am-quick-order .am-country-select__flag img {
    width: 22px;
    height: 16px;
    object-fit: cover;
}

.am-quick-order .am-country-select__chevron {
    width: 13px;
    height: 13px;
    display: inline-flex;
}

.am-quick-order .am-country-select__chevron svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #686868;
    stroke-width: 1.7;
}

.am-quick-order .am-country-select__menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 5px);
    left: 0;
    width: 300px;
    max-height: 270px;
    overflow-y: auto;
    border: 1px solid #d4d6d1;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
}

.am-quick-order .am-country-select__option {
    width: 100%;
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 8px;
    border: 0;
    padding: 9px 10px;
    background: #fff;
    text-align: left;
}

.am-quick-order .am-country-select__option:hover,
.am-quick-order .am-country-select__option.is-selected {
    background: #edf1eb;
}

.am-quick-order .am-country-select__dial {
    color: #8e8e8e;
}

.am-quick-order__form > p {
    margin: 8px 0 0;
    color: #8b8b8b;
    font-size: 11px;
    line-height: 1.4;
}

.am-quick-order__form a {
    color: #3e5338;
    text-decoration: none;
}

.am-quick-order__status {
    min-height: 16px;
    margin-top: 4px;
    color: #b90101;
    font-size: 12px;
}

.am-quick-order__success:not([hidden]) {
    min-height: 130px;
    display: flex;
    align-items: center;
    gap: 22px;
    border-radius: 4px;
    padding: 18px 22px;
    background: #d9dfd7;
}

.am-quick-order-success-icon {
    width: 92px;
    height: 92px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 92px;
    border: 1px solid #3e5338;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 9px 22px rgba(38,71,43,.22);
}

.am-quick-order-success-icon::after {
    content: "";
    width: 42px;
    height: 21px;
    border-left: 13px solid #07511c;
    border-bottom: 13px solid #07511c;
    transform: rotate(-45deg) translate(4px, -4px);
}

.am-quick-order__success > span:last-child {
    display: grid;
    gap: 8px;
}

.am-quick-order__success strong {
    color: #282828;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.am-quick-order__success small {
    color: #282828;
    font-size: 14px;
    line-height: 1.35;
}

.am-single-product-aside {
    display: grid;
    gap: 16px;
}

.am-product-info-card,
.am-product-help-card {
    border-radius: 4px;
    padding: 22px 18px;
    background: #f2f2f2;
}

.am-product-info-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #282828;
    font-size: 12px;
}

.am-product-info-card li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.am-product-feature-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #3e5338;
}

.am-product-feature-icon svg,
.am-product-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-product-help-card { background: #d9dfd7; }
.am-product-help-card p { margin: 0 0 16px; color: #686868; font-size: 12px; line-height: 1.45; }
.am-product-help-card > strong { display: block; margin-bottom: 8px; font-size: 12px; }
.am-product-help-card a { display: block; margin-top: 6px; color: #3e5338; font-size: 12px; }

.am-single-section {
    margin-top: 22px;
    border-top: 1px solid #a8aaa6;
    padding-top: 18px;
}

.am-single-section > h2,
.am-single-section__heading h2 {
    margin: 0;
    color: #3e5338;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.am-single-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.am-related-products__viewport {
    position: relative;
}

.am-related-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 36px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    padding: 0;
    background: #d9dfd7;
    color: #3e5338;
    transform: translateY(-50%);
    cursor: pointer;
}

.am-related-arrow--prev { left: 0; }
.am-related-arrow--next { right: 0; }

.am-related-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-related-products__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 4);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.am-related-products__track::-webkit-scrollbar { display: none; }
.am-related-products__track .am-product-card { scroll-snap-align: start; }

.am-product-reviews > h2 {
    margin-bottom: 14px;
}

.am-product-reviews__layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr);
    gap: 24px;
}

.am-product-review-summary {
    min-height: 268px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 32px;
    background: #f2f2f2;
    text-align: center;
}

.am-product-review-summary > .am-product-review-summary__rating {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.am-product-review-summary__stars-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.am-product-review-summary strong {
    color: #3e5338;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.am-product-review-summary .am-product-stars {
    gap: 3px;
}

.am-product-review-summary .am-product-stars img {
    width: 18px;
    height: 18px;
}

.am-product-review-summary small {
    color: #686868;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.am-product-review-summary p {
    max-width: none;
    margin: 26px 0;
    color: #282828;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.am-product-review-summary .am-button {
    width: 100%;
    min-height: 70px;
    border-color: transparent;
    background: rgba(62,83,56,.2);
    color: #3e5338;
    font-size: 18px;
    font-weight: 600;
}

.am-product-review-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.am-single-review-card {
    min-height: 268px;
    border: 1px solid #a8aaa6;
    border-radius: 4px;
    padding: 32px;
    background: #fff;
}

.am-single-review-card__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.am-single-review-card__head strong {
    color: #282828;
    font-size: 18px;
    font-weight: 600;
}

.am-single-review-card__head time {
    color: #a0a0a0;
    font-size: 14px;
}

.am-single-review-card__stars {
    margin: 14px 0 12px;
    color: #f5a623;
    line-height: 1;
}

.am-product-review-summary .am-product-stars img {
    width: 18px;
    height: 18px;
}

.am-single-review-card__stars .am-star-rating img {
    width: 18px;
    height: 17px;
}

.am-single-review-card__text {
    color: #282828;
    font-size: 18px;
    line-height: 1.3;
}

.am-single-review-card__text p {
    margin: 0;
}

.am-product-review-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    color: #282828;
    font-size: 13px;
}

.am-product-review-pagination > button,
.am-product-review-pagination__number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    padding: 0;
    background: transparent;
    color: #282828;
    cursor: pointer;
}

.am-product-review-pagination > button {
    color: #3e5338;
}

.am-product-review-pagination__pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.am-product-review-pagination__number.is-active {
    background: #3e5338;
    color: #fff;
}

.am-product-review-pagination__ellipsis {
    min-width: 22px;
    text-align: center;
}

.am-product-review-pagination button:disabled {
    opacity: .35;
    cursor: default;
}

.am-product-reviews.is-loading .am-product-review-cards {
    opacity: .45;
}

.am-product-reviews-empty {
    min-height: 222px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #8f948c;
    border-radius: 4px;
    padding: 28px 20px;
    background: #fff;
    text-align: center;
}

.am-product-reviews-empty h2 {
    margin: 0 0 12px;
    color: #282828;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
}

.am-product-reviews-empty p {
    margin: 0 0 16px;
    color: #282828;
    font-size: 18px;
    line-height: 1.35;
}

.am-product-reviews-empty .am-button {
    width: min(100%, 365px);
    min-height: 68px;
    border-color: transparent;
    background: rgba(62,83,56,.2);
    color: #3e5338;
    font-size: 16px;
    font-weight: 500;
}

.am-product-review-form[hidden] {
    display: none !important;
}

.am-product-review-form {
    margin-top: 20px;
    border: 1px solid #d4d6d1;
    border-radius: 4px;
    padding: 24px;
}

.am-product-review-form input,
.am-product-review-form textarea,
.am-product-review-form select {
    width: 100%;
    border: 1px solid #8f948c;
    border-radius: 4px;
    padding: 12px;
}

.am-product-review-form .submit {
    min-height: 48px;
    border: 0;
    border-radius: 4px;
    padding: 12px 24px;
    background: #3e5338;
    color: #fff;
}

.am-product-description > h2 { margin-bottom: 16px; }
.am-product-description__content {
    max-height: 2000px;
    overflow: hidden;
    color: #686868;
    font-size: 15px;
    line-height: 1.5;
    transition: max-height .35s ease;
}

.am-product-description__content h2,
.am-product-description__content h3,
.am-product-description__content h4 {
    color: #3e5338;
    font-size: 20px;
}

.am-product-description.is-collapsed .am-product-description__content {
    max-height: 320px;
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}

.am-product-description__toggle {
    min-width: 300px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    border: 0;
    border-radius: 4px;
    padding: 14px 22px;
    background: rgba(62,83,56,.2);
    color: #3e5338;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.am-product-description.is-collapsed .am-product-description__toggle span { transform: rotate(180deg); }

@media (max-width: 1100px) {
    .am-single-product-main { grid-template-columns: 320px minmax(0, 1fr); }
    .am-single-product-aside { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .am-single-product-page { padding: 20px 0 36px; }
    .am-single-product-container { width: min(calc(100% - 40px), 1200px); }
    .am-single-product-breadcrumbs { margin-bottom: 14px; font-size: 10px; line-height: 1.35; }
    .am-single-product-breadcrumbs .woocommerce-breadcrumb span { margin: 0 4px; }
    .am-single-product-header { display: block; padding-bottom: 12px; }
    .am-single-product-header h1 { font-size: 22px; }
    .am-single-product-short { font-size: 14px; }
    .am-single-product-header-rating { margin-top: 10px; }
    .am-single-product-main { display: block; }
    .am-single-product-gallery,
    .am-single-product-purchase,
    .am-single-product-aside { margin-top: 16px; }
    .am-single-product-main-image { height: 330px; }
    .am-product-lightbox { padding: 12px; }
    .am-product-lightbox__dialog {
        width: calc(100% - 8px);
        height: min(82vh, 620px);
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        padding: 50px 8px 34px;
    }
    .am-product-lightbox__arrow { width: 36px; height: 46px; }
    .am-product-lightbox__close { top: 8px; right: 8px; width: 38px; height: 38px; }
    .am-single-product-thumbnails { grid-template-columns: repeat(4, 72px); overflow-x: auto; }
    .am-product-characteristics { font-size: 13px; }
    .am-product-advantages__grid { grid-template-columns: 1fr; }
    .am-product-options { grid-template-columns: 1fr; }
    .am-product-price-stock { align-items: flex-end; }
    .am-product-live-price strong,
    .am-product-live-price > .amount,
    .am-product-live-price ins { font-size: 26px; }
    .am-product-stock-view { max-width: 50%; }
    .am-product-buy-row { grid-template-columns: 124px minmax(0, 1fr); }
    .am-product-discount-banner { height: auto; min-height: 42px; font-size: 14px; line-height: 1.25; }
    .am-product-discount-tier {
        grid-template-columns: 20px minmax(0, 1fr) minmax(0, 125px);
        gap: 0;
        padding: 8px 0;
    }
    .am-tier-label { padding: 0 12px 0 8px; font-size: 14px; }
    .am-product-discount-tier .am-tier-saving {
        grid-column: 2;
        justify-self: start;
        width: auto;
        min-width: 0;
        margin: 4px 0 0 8px;
    }
    .am-product-discount-tier .am-tier-prices {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 100%;
        max-width: 125px;
        min-height: 100%;
        flex-direction: row;
        align-self: stretch;
        gap: 4px;
        margin-left: 8px;
    }
    .am-product-discount-tier .am-tier-prices del,
    .am-product-discount-tier .am-tier-prices strong {
        flex: 0 0 auto;
        width: auto;
        min-height: 0;
        border-left: 0;
        padding: 2px 4px;
    }
    .am-product-discount-tier .am-tier-prices strong {
        font-size: 14px;
    }
    .am-quick-order__controls { grid-template-columns: 1fr; }
    .am-quick-order__phone-field { width: 100%; }
    .am-quick-order__controls .am-button { width: 100%; }
    .am-single-product-aside { display: grid; grid-template-columns: 1fr; }
    .am-related-products__track { grid-auto-columns: 68%; }
    .am-related-arrow { width: 34px; height: 46px; }
    .am-single-section > h2,
    .am-single-section__heading h2 { font-size: 22px; }
    .am-product-reviews__layout { display: block; }
    .am-product-review-summary { min-height: 210px; }
    .am-product-review-cards {
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-top: 12px;
    }
    .am-product-review-cards::-webkit-scrollbar { display: none; }
    .am-single-review-card { min-height: 230px; scroll-snap-align: center; }
    .am-product-reviews-empty { min-height: 240px; padding: 28px 18px; }
    .am-product-reviews-empty h2 { font-size: 26px; }
    .am-product-reviews-empty p { font-size: 16px; }
    .am-product-reviews-empty .am-button { min-height: 56px; }
    .am-product-description__content { font-size: 14px; }
    .am-product-description__toggle { width: 100%; min-width: 0; }
}

@media (max-width: 390px) {
    .am-single-product-container { width: min(calc(100% - 32px), 1200px); }
    .am-single-product-main-image { height: 300px; }
    .am-product-buy-row { grid-template-columns: 124px minmax(0, 1fr); gap: 8px; }
    .am-product-add-button { font-size: 12px; padding-inline: 8px; }
    .am-product-option-radio span { padding: 7px 9px; }
    .am-quick-order__success { padding: 16px; gap: 14px; }
    .am-quick-order-success-icon { width: 70px; height: 70px; flex-basis: 70px; }
    .am-quick-order-success-icon::after { width: 32px; height: 16px; border-width: 0 0 10px 10px; }
}

/* Product page design alignment v6.17 */
.am-single-product-breadcrumbs { font-size: 13px; }
.am-single-product-header h1 { font-size: 25px; line-height: 1.28; }
.am-single-product-short { font-size: 14px; line-height: 1.5; }
.am-product-characteristics h2,
.am-product-advantages h2,
.am-product-info-card h2,
.am-product-help-card h2 { font-size: 17px; }
.am-product-characteristics dl { font-size: 14px; line-height: 1.55; }
.am-product-advantages__grid { font-size: 14px; line-height: 1.35; }
.am-product-option-group > label { font-size: 14px; }
.am-product-option-radio span,
.am-product-option-group select { font-size: 14px; }

.am-product-price-stock {
    min-height: 62px;
    gap: 20px;
    padding-top: 9px;
}
.am-product-price-column { gap: 3px; }
.am-product-live-price strong,
.am-product-live-price > .amount,
.am-product-live-price ins { font-size: 31px; line-height: 1; }
.am-product-live-price del { font-size: 14px; }
.am-product-viewing { gap: 6px; font-size: 12px; color: #686868; }
.am-product-viewing svg,
.am-product-viewing img { width: 17px; height: 17px; flex: 0 0 17px; object-fit: contain; }
.am-product-viewing.is-bonus { color: #282828; }
.am-product-stock-view { max-width: 260px; gap: 3px; }
.am-product-stock-view strong { gap: 5px; font-size: 19px; font-weight: 500; line-height: 1.1; }
.am-product-stock-view strong::before { content: "•"; font-size: 18px; line-height: 1; }
.am-product-stock-view strong small { font-size: 12px; }
.am-product-stock-view > span { font-size: 12px; line-height: 1.35; }
.am-product-subscription { font-size: 16px; }

.am-product-info-card,
.am-product-help-card { padding: 24px 20px; }
.am-product-info-card ul { gap: 13px; font-size: 13px; line-height: 1.35; }
.am-product-feature-icon { width: 19px; height: 19px; flex-basis: 19px; }
.am-product-help-card p { font-size: 13px; line-height: 1.45; }
.am-product-help-card > strong { font-size: 13px; }
.am-product-help-phones { display: grid; gap: 7px; }
.am-product-help-card .am-product-help-phones a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #282828;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
}
.am-product-help-phones img { width: 18px; height: 18px; flex: 0 0 18px; }

.am-quick-order__summary { min-height: 84px; padding: 19px 16px 14px; }
.am-quick-order__summary strong { font-size: 16px; }
.am-quick-order__summary small { font-size: 12px; line-height: 1.45; }
.am-quick-order__form { padding-top: 8px; }
.am-quick-order__controls { grid-template-columns: minmax(0, 1fr) 186px; }
.am-quick-order__phone-field { width: 100%; }
.am-quick-order__form > p { font-size: 11px; line-height: 1.45; }

.am-single-section > h2,
.am-single-section__heading h2 { font-size: 25px; }
.am-product-reviews > h2 { font-size: 24px; }
.am-product-description__content { font-size: 14px; line-height: 1.5; }
.am-product-description__content h2,
.am-product-description__content h3 { font-size: 20px; }

@media (max-width: 767px) {
    .am-product-price-stock { min-height: 0; }
    .am-product-stock-view strong { font-size: 15px; }
    .am-product-stock-view strong::before { font-size: 14px; }
    .am-quick-order__controls { grid-template-columns: 1fr; }
}

.am-product-review-pagination button svg,
.am-product-description__toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-product-description__toggle span {
    width: 18px;
    height: 18px;
    display: inline-flex;
    transition: transform .2s ease;
}

/* ========================================================================
   Product review modal — v6.14
   ======================================================================== */
html.am-review-modal-open,
body.am-review-modal-open {
    overflow: hidden !important;
}

.am-review-modal[hidden],
.am-review-modal [hidden] {
    display: none !important;
}

.am-review-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.am-review-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.am-review-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: rgba(40,40,40,.36);
    cursor: default;
}

.am-review-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(600px, calc(100vw - 40px));
    max-width: 600px;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 4px;
    padding: 44px 44px 43px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    scrollbar-width: thin;
    scrollbar-color: #3e5338 transparent;
}

.am-review-modal__dialog::-webkit-scrollbar { width: 5px; }
.am-review-modal__dialog::-webkit-scrollbar-thumb { background: #3e5338; border-radius: 10px; }
.am-review-modal__dialog::-webkit-scrollbar-track { background: transparent; }

.am-review-modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #3e5338;
    cursor: pointer;
}

.am-review-modal__close svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.am-review-modal__product {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 24px 20px;
}

.am-review-modal__product img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
}

.am-review-modal__product strong {
    max-width: 340px;
    color: #3e4638;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.am-review-modal__divider {
    height: 1px;
    margin: 0 0 28px;
    background: #a5a5a5;
}

.am-review-modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.am-review-stars {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 4px;
}

.am-review-star {
    width: 36px;
    height: 34px;
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.am-review-star img {
    width: 36px;
    height: 34px;
    display: block;
    pointer-events: none;
}

.am-review-star__on { display: none !important; }
.am-review-star.is-active .am-review-star__off { display: none !important; }
.am-review-star.is-active .am-review-star__on { display: block !important; }

.am-review-field {
    position: relative;
    display: block;
    margin: 0;
}

.am-review-field input,
.am-review-field textarea {
    width: 100%;
    margin: 0 !important;
    border: 1px solid #282828 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #282828 !important;
    box-shadow: none !important;
    outline: 0;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.35;
}

.am-review-field input {
    height: 70px !important;
    padding: 0 24px !important;
}

.am-review-field textarea {
    height: 280px !important;
    min-height: 280px !important;
    resize: none;
    padding: 21px 24px 48px !important;
}

.am-review-field input::placeholder,
.am-review-field textarea::placeholder {
    color: #a5a5a5;
    opacity: 1;
}

.am-review-field--email input {
    padding-left: 58px !important;
}

.am-review-field__icon {
    position: absolute;
    z-index: 2;
    left: 24px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: #a5a5a5;
    pointer-events: none;
}

.am-review-field__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-review-counter {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: #686868;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.am-review-form-status {
    min-height: 0;
    margin: -4px 0 0;
    color: #a23a2d;
    font-size: 18px;
    line-height: 1.35;
}

.am-review-form-status:empty { display: none; }

.am-review-submit,
.am-review-done {
    width: 100%;
    min-height: 68px;
    margin: 0;
    border: 0 !important;
    border-radius: 4px !important;
    background: #3e5338 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
}

.am-review-submit.is-loading,
.am-review-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.am-review-modal__success {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 42px 0;
}

.am-review-success-image {
    width: 220px;
    height: 220px;
    display: block;
    object-fit: contain;
    margin: -14px auto 4px;
}

.am-review-modal__success h2 {
    margin: 0 0 8px;
    color: #3e4638;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
}

.am-review-modal__success p {
    max-width: 490px;
    margin: 0 0 32px;
    color: #3e4638;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

.am-review-modal__success .am-review-done {
    width: min(100%, 365px);
}

.am-review-modal.is-success .am-review-modal__dialog {
    padding-top: 30px;
    padding-bottom: 43px;
}

@media (max-width: 767px) {
    .am-review-modal {
        align-items: flex-end;
        justify-content: stretch;
        padding: 0;
    }

    .am-review-modal__dialog {
        width: 100vw;
        max-width: none;
        height: calc(100dvh - 57px);
        max-height: none;
        margin: 57px 0 0;
        border-radius: 4px 4px 0 0;
        padding: 21px 16px 24px;
        box-shadow: 0 -8px 28px rgba(0,0,0,.12);
    }

    .am-review-modal__close {
        top: 18px;
        right: 16px;
        width: 32px;
        height: 32px;
    }

    .am-review-modal__close svg {
        width: 27px;
        height: 27px;
    }

    .am-review-modal__product {
        min-height: 146px;
        gap: 25px;
        padding: 38px 24px 20px;
    }

    .am-review-modal__product img {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .am-review-modal__product strong {
        max-width: none;
        font-size: 19px;
        line-height: 1.18;
    }

    .am-review-modal__divider {
        margin: 0 0 20px;
    }

    .am-review-modal__form {
        gap: 8px;
    }

    .am-review-stars {
        gap: 7px;
        margin: 0 0 12px;
    }

    .am-review-star,
    .am-review-star img {
        width: 36px;
        height: 34px;
    }

    .am-review-field input,
    .am-review-field textarea {
        font-size: 17px !important;
    }

    .am-review-field input {
        height: 52px !important;
        padding: 0 16px !important;
    }

    .am-review-field--email input {
        padding-left: 42px !important;
    }

    .am-review-field__icon {
        left: 16px;
        width: 18px;
        height: 18px;
    }

    .am-review-field__icon svg {
        width: 18px;
        height: 18px;
    }

    .am-review-field textarea {
        height: 280px !important;
        min-height: 280px !important;
        padding: 15px 16px 42px !important;
    }

    .am-review-counter {
        right: 16px;
        bottom: 16px;
        font-size: 16px;
    }

    .am-review-submit {
    min-height: 70px;
        margin-top: 9px;
        font-size: 16px !important;
    }

    .am-review-modal.is-success .am-review-modal__dialog {
        width: 100vw;
        height: auto;
        min-height: 363px;
        max-height: min(70dvh, 430px);
        margin-top: auto;
        padding: 49px 16px 20px;
        overflow: visible;
    }

    .am-review-modal.is-success .am-review-modal__close {
        top: 18px;
        right: 16px;
    }

    .am-review-modal__success {
        min-height: 294px;
        padding: 0;
        justify-content: flex-start;
    }

    .am-review-success-image {
        width: 92px;
        height: 92px;
        margin: 4px auto 24px;
    }

    .am-review-modal__success h2 {
        margin-bottom: 14px;
        font-size: 20px;
        line-height: 1.2;
    }

    .am-review-modal__success p {
        max-width: 340px;
        margin: 0 auto 24px;
        font-size: 17px;
        line-height: 1.25;
    }

    .am-review-modal__success .am-review-done {
        width: 100%;
        min-height: 50px;
        margin-top: auto;
        font-size: 16px !important;
    }
}

/* Final mobile cascade: keep the product blocks in the approved v6.24 order. */
@media (max-width: 767px) {
    .am-single-product-header { display: flex; flex-direction: column; align-items: stretch; }
    .am-single-product-header > div { display: contents; }
    .am-single-product-header-rating { order: 1; align-self: flex-start; margin: 0 0 10px; }
    .am-single-product-header h1 { order: 2; margin: 0; }
    .am-single-product-short { order: 3; margin-top: 10px; }

    .am-single-product-main { display: flex; flex-direction: column; }
    .am-single-product-gallery,
    .am-single-product-purchase,
    .am-single-product-form,
    .am-single-product-aside { display: contents; }

    .am-single-product-main-image { order: 10; margin-top: 4px; }
    .am-single-product-thumbnails { display: none; }
    .am-product-lightbox { order: 11; }
    .am-product-advantages { order: 20; margin-top: 18px; }
    .am-product-price-stock { order: 30; margin-top: 18px; }
    .am-product-options { order: 40; margin-top: 18px; }
    .am-product-buy-row { order: 50; margin-top: 18px; }
    .am-product-form-status { order: 51; }
    .am-product-characteristics { order: 60; margin-top: 24px; }
    .am-product-discounts { order: 70; margin-top: 24px; }
    .am-product-subscription { order: 80; margin-top: 16px; }
    .am-quick-order { order: 90; margin-top: 16px; }
    .am-product-info-card { order: 100; margin-top: 24px; }
    .am-product-help-card { order: 101; margin-top: 16px; }

    .am-product-price-stock {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, auto);
        justify-content: space-between;
        align-items: end;
        column-gap: 16px;
        row-gap: 8px;
    }
    .am-product-price-column,
    .am-product-stock-view { width: auto; min-width: 0; max-width: none; }
    .am-product-live-price { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
    .am-product-live-price del { order: -1; font-size: 12px; line-height: 1.2; }
    .am-product-live-price strong,
    .am-product-live-price > .amount,
    .am-product-live-price ins,
    .am-product-live-price ins .amount { font-size: 24px; line-height: 1.1; }
    .am-product-stock-view { grid-column: 2; grid-row: 1; align-self: end; justify-items: end; }
    .am-product-stock-view strong { flex-wrap: wrap; justify-content: flex-end; font-size: 14px; line-height: 1.25; }
    .am-product-stock-view strong small,
    .am-product-stock-view > span { font-size: 12px; }
    .am-product-price-stock > .am-product-viewing { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; }

    .am-product-add-button { font-size: 16px; font-weight: 500; }
    .am-product-discount-tier { grid-template-columns: 20px minmax(0, 1fr) 115px; column-gap: 0; }
    .am-product-discount-tier .am-tier-label { grid-column: 2; grid-row: 1; }
    .am-product-discount-tier .am-tier-saving {
        grid-column: 3;
        grid-row: 1;
        width: 115px;
        margin: 0;
        border: 0;
        padding: 0;
    }
    .am-product-discount-tier .am-tier-saving > span { width: 115px; justify-content: center; }
    .am-product-discount-tier .am-tier-prices { display: none; }
    .am-quick-order__controls { grid-template-columns: 1fr; }
    .am-quick-order__phone-field,
    .am-quick-order__controls .am-button { width: 100%; }
    .am-quick-order .am-country-select__menu {
        width: min(300px, calc(100vw - 72px));
        max-width: calc(100vw - 72px);
    }
    .am-quick-order__form a { color: #3e5338; }
    .am-product-review-cards { grid-auto-columns: 68%; }

    /* v6.24: refined mobile product layout, spacing and separators. */
    .am-single-product-main-image,
    .am-single-product-main-image > a,
    .am-single-product-main-image img {
        height: auto;
        min-height: 0;
    }
    .am-single-product-main-image img {
        width: 100%;
        object-fit: contain;
    }

    .am-product-advantages {
        margin-top: 12px;
        margin-bottom: 0;
        border-bottom: 1px solid #a8aaa6;
        padding: 0 0 16px;
    }
    .am-product-advantages h2 { display: none; }
    .am-product-advantages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }

    .am-product-price-stock {
        margin-top: 16px;
        border-top: 0;
        border-bottom: 1px solid #a8aaa6;
        padding-top: 0;
        padding-bottom: 16px;
    }

    .am-product-options {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 16px;
    }
    .am-product-option-group,
    .am-product-option-group select { width: 100%; }
    .am-product-option-radios {
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .am-product-option-radio,
    .am-product-option-radio span { width: auto; }

    .am-product-buy-row {
        width: 100%;
        grid-template-columns: 124px minmax(0, 1fr);
        gap: 8px;
        margin-top: 16px;
        border-bottom: 1px solid #a8aaa6;
        padding-bottom: 16px;
    }
    .am-product-form-status:empty { display: none; }
    .am-product-add-button {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .am-product-characteristics {
        width: 100%;
        max-width: none;
        align-self: stretch;
        margin-top: 0;
        border-bottom: 1px solid #a8aaa6;
        padding: 16px 0;
    }
    .am-product-characteristics__toggle { margin: 0; font-size: 16px; font-weight: 600; }
    .am-product-characteristics__chevron {
        display: inline-flex;
        width: 20px;
        height: 20px;
        transition: transform .2s ease;
    }
    .am-product-characteristics__chevron svg { width: 100%; height: 100%; }
    .am-product-characteristics__toggle[aria-expanded="false"] .am-product-characteristics__chevron { transform: rotate(180deg); }
    .am-product-characteristics dl { margin-top: 12px; }
    .am-product-characteristics dl[hidden] { display: none; }

    .am-product-discounts { margin-top: 16px; }
    .am-product-subscription {
        margin-top: 0;
        border-bottom: 1px solid #a8aaa6;
        padding-bottom: 16px;
    }
    .am-quick-order { margin-top: 0; }

    .am-single-section > h2,
    .am-single-section__heading,
    .am-single-section__heading h2 {
        text-align: center;
    }
    .am-related-products .am-single-section__heading {
        width: 100%;
        justify-content: center;
    }

    .am-related-products .am-product-card__title {
        min-height: 42px;
        max-height: 42px;
        overflow: hidden;
    }
}


/* AM 6.49 — product title/rating row, full-width short description below. */
@media (min-width: 768px) {
    .am-single-product-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        justify-content: initial;
        column-gap: 24px;
        row-gap: 8px;
    }

    .am-single-product-header h1 {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        margin: 0;
    }

    .am-single-product-header-rating {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        margin: 0;
    }

    .am-single-product-short {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .am-single-product-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .am-single-product-header-rating {
        order: 1;
        align-self: flex-start;
        margin: 0 0 10px;
    }

    .am-single-product-header h1 {
        order: 2;
        width: 100%;
        margin: 0;
    }

    .am-single-product-short {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }
}
