/* Mobile homepage layout matched to the supplied 375–430px design. */
@media (max-width: 767px) {
    :root {
        --am-mobile-gutter: 32px;
        --am-mobile-section-gap: 32px;
    }

    html,
    body {
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
        line-height: 1.35;
    }

    .am-container,
    .am-container--narrow,
    .am-site-footer > .am-container {
        width: calc(100% - var(--am-mobile-gutter));
        max-width: none;
    }

    .am-home > section + section {
        margin-top: 24px;
    }

    .am-home .am-section-title {
        margin: 0 0 16px;
        font-size: 24px;
        line-height: 1.2;
    }

    /* Header */
    .am-shipping-bar {
        min-height: 24px;
        height: 24px;
        font-size: 9px;
        line-height: 1;
    }

    .am-shipping-bar__inner { 
        width: calc(100% - 20px);
        gap: 5px;
        overflow: hidden;
        white-space: nowrap;
    }

    .am-shipping-bar__icon {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .am-shipping-bar__inner > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .am-header-mobile {
        display: block;
        border-bottom: 0;
        background: #fff;
    }

    .am-mobile-info {
		min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        overflow: hidden;
        color: #4f4f4f;
        font-size: 10px;
        white-space: nowrap;
        width: 100%;
		background: #F2F2F2;

    }
	
	.am-mobile-toggle-search{
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

    .am-mobile-info__label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .am-mobile-info__social {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
    }

    .am-mobile-info__social svg,
    .am-mobile-info__phone-icon svg {
        width: 100%;
        height: 100%;
    }
	.am-cart-count:before {
		border-top: 8px solid transparent;
		border-bottom: 8px solid transparent;
		border-right: 8px solid #3f5338;
	}
    .am-mobile-info__phone-icon {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        color: #3e5338;
    }

    .am-mobile-info__phone {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .am-header-mobile__inner {
        min-height: 66px;
        padding: 8px 0;
		border-bottom: 1px solid #909090;
        margin-bottom: 16px;
    }

    .am-header-mobile .am-logo--mobile,
    .am-header-mobile .am-logo--mobile img {
        width: 78px;
        height: 78px;
        max-width: 78px;
        max-height: 78px;
        object-fit: contain;
    }

    .am-header-actions {
        gap: 12px;
    }

    .am-mobile-account,
    .am-header-mobile .am-cart-link,
    .am-mobile-menu-toggle,
    .am-header-mobile .am-language-switcher > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
		gap: 7px;
    }

    .am-mobile-account svg {
        width: 24px;
        height: 24px;
    }

    .am-header-mobile .am-cart-link svg {
        width: 25px;
        height: 24px;
    }


    .am-header-mobile .am-language-switcher > button > span:nth-child(2),
    .am-header-mobile .am-language-switcher__chevron {
        display: none;
    }

    .am-header-mobile .am-language-flag {
        width: 25px;
        height: 25px;
        font-size: 22px;
    }

    .am-mobile-menu-toggle {
        flex-direction: column;
        gap: 5px;
    }

    .am-mobile-menu-toggle span:not(.screen-reader-text) {
        width: 25px;
        height: 2px;
        background: #3e5338;
        border-radius: 6px;
    }

    .am-mobile-search--persistent,
    .am-mobile-search--persistent:not([hidden]) {
        display: block;
        background: #fff;
    }

    .am-mobile-search--persistent form {
        height: 34px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        overflow: hidden;
        border: 1px solid #3e5338;
        border-radius: 4px;
        background: #fff;
		box-shadow: 4px 3px 7.7px 0px #0000001A inset, -4px -3px 7.7px 0px #0000001A inset;
    }

    .am-mobile-search--persistent input {
        min-width: 0;
        height: 32px;
        border: 0;
        padding: 0 14px;
        outline: 0;
        color: #282828;
        font-size: 12px;
		background-color: transparent;
    }

    .am-mobile-search--persistent button {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        padding: 0;
        color: #3e5338;
		background-color: transparent;
    }

    .am-mobile-search--persistent button svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .am-mobile-menu__panel {
        width: min(88vw, 360px);
        padding: 20px;
    }

    /* Hero slider */
    .am-hero-section {
        padding-top: 0;
    }

    .am-hero-slider {
        border-radius: 4px;
    }

    .am-hero-slider__track {
        height: 500px;
    }

    .am-hero-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 226px 274px;
		padding: 15px 20px 20px;
    }

    .am-hero-slide__content {
		justify-content: start;
        gap: 14px;
        padding: 0;
    }

    .am-hero-slide h1 {
        max-width: none;
        font-size: 24px;
        line-height: 1.15;
    }

    .am-hero-slide p {
        max-width: none;
        font-size: 16px;
        line-height: 1.35;
    }

    .am-hero-slide__button {
        width: 100%;
        height: 52px;
        min-height: 52px;
        padding: 0 16px;
        font-size: 16px;
    }

    .am-hero-slide__image {
        min-height: 0;
    }

    .am-hero-slider__dots {
        left: 50%;
        bottom: 10px;
        gap: 6px;
    }

    .am-hero-slider__dots button {
        width: 7px;
        height: 7px;
        border: 1px solid rgba(40, 40, 40, .55);
        background: rgba(255, 255, 255, .65);
    }

    .am-hero-slider__dots button.is-active {
        width: 20px;
        border-color: #3e5338;
        background: #3e5338;
    }

    .am-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 24px;
    }

    .am-benefit-card {
        min-height: 92px;
        gap: 6px;
        padding: 10px 8px;
    }

    .am-benefit-card__icon,
    .am-benefit-card__icon img,
    .am-benefit-card__icon svg {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .am-benefit-card strong {
        max-width: 130px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 500;
    }

    /* Popular categories */
    .am-popular-section .am-section-title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.2;
    }

    .am-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .am-popular-card--featured {
        grid-column: 1 / -1;
        aspect-ratio: 389 / 300;
    }

    .am-popular-card:not(.am-popular-card--featured) {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }

    .am-popular-card:last-child {
        grid-column: span 1;
    }

    .am-popular-card__title {
        right: 12px;
        bottom: 7px;
        left: 7px;
        padding-right: 0;
        font-size: 18px;
        line-height: 1.15;
    }

    .am-popular-card__arrow {
        width: 16px;
        height: 12px;
        bottom: 0;
        margin-left: 0;
    }

    /* Weekly offer */
    .am-weekly {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .am-weekly__image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
	
	.am-weekly__image {
		display: none;
	}
	.am-weekly__image-mobile{
		display: block;
		margin-bottom: 10px;
	}

    .am-weekly__content {
        gap: 18px;
        padding: 22px 16px 24px;
    }

    .am-weekly__meta {
        gap: 10px;
    }

    .am-weekly__copy {
        gap: 8px;
    }

    .am-weekly__copy p {
        font-size: 16px;
        line-height: 1.2;
    }

    .am-weekly__timer {
		width: 100%;
        gap: 8px;
        display: flex;
        justify-content: space-between;
    }

    .am-weekly__days {
        min-width: 46px;
        gap: 3px;
		font-size: 18px;
    }


    .am-weekly__time-block {
        width: auto;
        min-width: 54px;
        height: 44px;
        gap: 4px;
        padding: 0 5px;
        display: inline-flex;
    }

    .am-weekly__time-block span {
        font-size: 12px;
		color: #686868;
    }

    .am-weekly__timer > i {
        font-size: 20px;
    }

    .am-weekly__button {
        width: 100%;
        min-height: 48px;
        font-size: 13px;
    }

    /* Product cards */
    .am-products-section .am-section-title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.2;
    }

    .am-product-grid.am-horizontal-mobile {
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 8px) / 2);
        grid-template-columns: none;
        gap: 8px;
        overflow-x: auto;
        padding: 0 0 8px;
        scroll-padding-left: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .am-product-grid.am-horizontal-mobile::-webkit-scrollbar {
        display: none;
    }

    .am-product-card {
        min-height: 0;
        padding: 8px;
        scroll-snap-align: start;
    }

    .am-product-card__media {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .am-product-card__media > a {
        padding: 8px;
    }

    .am-product-card__badges {
        gap: 2px;
    }

    .am-product-badge {
        min-height: 18px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .am-product-card__body {
        min-height: auto;
        padding-top: 9px;
    }

    .am-product-card__title {
		min-height: 34px;
        font-size: 16px;
        line-height: 1.2;
    }

    .am-product-card__rating {
        gap: 4px;
        margin-top: 5px;
    }

    .am-product-stars {
        font-size: 18px;
    }

    .am-product-card__rating small {
        font-size: 12px;
    }

    .am-product-card__price {
        min-height: 25px;
        margin-top: 7px;
        font-size: 18px;
    }

    .am-product-card__price del {
        font-size: 9px;
    }

    .am-product-card__button {
        min-height: 38px;
        margin-top: 10px;
        padding: 7px 5px;
        font-size: 11px;
    }

    .am-section-more {
        margin-top: 10px;
        text-align: center;
    }

    .am-section-more a {
        justify-content: center;
        gap: 6px;
        font-size: 11px;
        line-height: 1.3;
    }

    .am-section-more svg {
        width: 18px;
    }

    /* Consultation */
    .am-problems-section .am-section-title {
        margin-bottom: 16px;
        font-size: 20px;
        line-height: 1.2;
    }

    .am-consultation-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-consultation-block__image {
        overflow: hidden;
        border-radius: 4px;
    }

    .am-consultation-block__image img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    .am-consultation-block__form {
        padding: 0;
    }

    .am-consultation-form {
        gap: 8px;
    }

    .am-field {
        min-height: 48px;
        border-radius: 4px;
    }

    .am-field input,
    .am-country-select,
    .am-country-select__toggle {
        height: 52px;
    }

    .am-field input {
        padding: 0 10px;
        font-size: 16px;
    }

    .am-field__icon {
        height: 52px;
        flex-basis: 20px;
        margin-left: 11px;
        align-items: center;
        display: inline-flex;
    }

    .am-country-select {
        flex-basis: 48px;
    }

    .am-country-select__toggle {
        width: 33px;
    }

    .am-country-select__flag {
        font-size: 18px;
    }

    .am-required-note,
    .am-privacy-note,
    .am-form-status {
        font-size: 12px;
        line-height: 1.3;
    }
	
    .am-form-note{
        font-size: 16px;
	}

    .am-required-note + .am-form-group,
    .am-form-group + .am-form-group{
        margin-top: 16px;
    }

    .am-form-group legend {
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.25;
    }

    .am-checkbox-list {
        gap: 14px;
    }
	
	.am-form-submit-row{
		margin-top: 0;
	}
	
	.am-form-status{
		min-height: auto;
	}

    .am-checkbox-list label,
    .am-time-options label {
        gap: 6px;
        font-size: 18px;
        line-height: 1.25;
    }

    .am-checkbox-list label::before,
    .am-time-options label::before {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .am-time-options {
        flex-direction: column;
        gap: 14px;
    }

    .am-form-submit-row {
        grid-template-columns: minmax(0, 1fr) minmax(112px, .72fr);
        gap: 8px;
        align-items: stretch;
    }

    .am-hcaptcha-wrap {
        min-width: 0;
        min-height: 64px;
        height: 64px;
        overflow: hidden;
    }

    .am-hcaptcha-wrap .h-captcha {
        width: 139%;
        height: 78px;
        transform: scale(.72);
        transform-origin: left top;
    }

    .am-hcaptcha-missing {
        min-height: 64px;
        padding: 8px;
        font-size: 8px;
    }

    .am-form-submit-row .am-button,
    .am-consultation-form .am-form-submit-row .am-button {
        min-height: 64px;
        padding: 8px;
        font-size: 16px;
    }

    /* Problems */
    .am-problems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .am-problem-card {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .am-problem-card__title {
        right: 9px;
        bottom: 9px;
        left: 9px;
        padding-right: 20px;
        font-size: 11px;
        line-height: 1.15;
    }

    .am-problem-card__title svg {
        width: 19px;
        height: 14px;
        flex-basis: 19px;
    }

    /* Trust */
    .am-home > .am-trust-section,
    .am-section.am-trust-section {
        padding: 34px 0 24px;
    }

    .am-trust-section::before {
        height: 22px;
    }

    .am-trust-section .am-section-title {
        margin-bottom: 22px;
        font-size: 20px;
    }

    .am-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 8px;
        margin-bottom: 24px;
    }

    .am-stat strong {
        font-size: 20px;
    }

    .am-stat span {
        margin-top: 5px;
        font-size: 9px;
        line-height: 1.2;
    }

    .am-testimonials__grid {
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .am-testimonials__grid::-webkit-scrollbar {
        display: none;
    }

    .am-testimonial-card,
    .am-testimonial-card:last-child {
        min-height: 188px;
        display: block;
        padding: 16px 14px;
        scroll-snap-align: start;
    }

    .am-testimonial-card__head {
        gap: 8px;
    }

    .am-testimonial-card__head strong {
        font-size: 12px;
    }

    .am-testimonial-card__head time {
        font-size: 9px;
    }

    .am-testimonial-card__rating {
        margin: 10px 0 8px;
        font-size: 15px;
    }

    .am-testimonial-card p {
        font-size: 11px;
        line-height: 1.35;
    }

    .am-testimonials__footer {
        align-items: center;
        gap: 12px;
        margin-top: 14px;
    }

    .am-google-summary {
        gap: 5px;
        font-size: 9px;
    }

    .am-google-summary__logo {
        font-size: 13px;
    }

    .am-google-summary__stars {
        font-size: 13px;
    }

    .am-testimonial-pagination {
        gap: 3px;
    }

    .am-testimonial-pagination button,
    .am-testimonial-pagination__ellipsis {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .am-testimonial-pagination__arrow {
        font-size: 18px !important;
    }

    /* Articles */
    .am-articles-section {
        padding-bottom: 0;
    }

    .am-articles-section .am-section-title,
    .am-help-cta h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .am-articles-section .am-section-title {
        margin-bottom: 16px;
    }

    .am-articles-grid {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .am-article-card {
        min-height: 430px;
        scroll-snap-align: start;
    }

    .am-article-card__image {
        margin: 10px 10px 0;
    }

    .am-article-card__body {
        padding: 24px 16px 20px;
    }

    .am-article-card h3 {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.25;
    }

    .am-article-card p {
        font-size: 11px;
        line-height: 1.35;
    }

    .am-article-card__link {
        gap: 6px;
        margin-top: 12px;
        font-size: 11px;
    }

    .am-article-card__link svg {
        width: 18px;
        height: 14px;
    }

    /* FAQ */
    .am-faq-section {
        padding-bottom: 0;
    }

    .am-faq-section .am-section-title {
        margin-bottom: 10px;
    }

    .am-faq-item > button {
        min-height: 48px;
        gap: 10px;
        padding: 11px 0;
    }

    .am-faq-item > button span {
        font-size: 18px;
        line-height: 1.2;
    }

    .am-faq-item > button svg {
        width: 14px;
        height: 9px;
        flex-basis: 14px;
    }

    .am-faq-item__answer {
        font-size: 16px;
        line-height: 1.2;
    }

    .am-faq-item__answer-inner > :last-child {
        margin-bottom: 12px;
    }

    /* Bottom CTA */
    .am-help-cta {
        min-height: 0;
        padding: 32px 16px;
    }

    .am-help-cta h2 {
        margin-bottom: 9px;
    }

    .am-help-cta p {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.35;
    }

    .am-help-cta__buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .am-help-cta__buttons .am-button {
        min-height: 44px;
        padding: 10px 3px;
        font-size: 16px;
        font-weight: 500;
    }


    .am-site-footer > .am-container {
        width: calc(100% - 40px);
    }

    .am-footer-newsletter {
        height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 12px;
    }

    .am-footer-newsletter__content strong {
        margin-bottom: 5px;
        font-size: 24px;
        line-height: 1.2;
    }

    .am-footer-newsletter__content p {
        max-width: none;
        font-size: 14px;
        line-height: 1.35;
    }

    .am-newsletter-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }
	.am-footer-socials{
		gap: 0;
	}
	.am-footer-socials .am-footer-social {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
	}
	
    .am-footer-main {
        padding: 24px 0 16px;
    }

    .am-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .am-footer-column:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .am-footer-heading {
        min-height: 18px;
        margin-bottom: 16px;
		justify-content: space-between;
    }

    .am-footer-heading::before {
        height: 18px;
		top: auto;
    }

    .am-footer-heading h3,
    .am-google-card h3 {
        font-size: 18px;
        line-height: 1.25;
    }

    .am-footer-contact-list {
        gap: 10px;
        margin-bottom: 12px;
    }

    .am-footer-contact-row,
    .am-footer-column .am-footer-contact-row,
    .am-footer-column .am-footer-contact-row a,
    .am-footer-column .am-footer-contact-row span,
    .am-footer-menu li,
    .am-footer-menu a {
        font-size: 16px;
        line-height: 1.3;
    }

    .am-footer-route {
        width: 100%;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        font-size: 12px;
    }

    .am-footer-menu {
        gap: 9px;
    }

    .am-google-card {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 14px;
    }

    .am-google-card__head {
        grid-template-columns: minmax(0, 1fr) 36px;
    }

    .am-google-card__head h3 {
        max-width: none;
        font-size: 18px;
    }

    .am-google-card__logo {
        width: 36px;
        height: 36px;
    }

    .am-google-card__rating-row {
        margin-top: 10px;
    }

    .am-google-card__rating-row strong {
        font-size: 24px;
    }

    .am-google-card__stars {
        font-size: 20px !important;
    }

    .am-google-card__reviews {
        font-size: 12px;
    }

    .am-google-card__button {
        width: 100%;
        height: 44px;
        min-height: 44px;
        margin-top: 12px;
        font-size: 12px;
    }

    .am-footer-bottom {
        height: auto;
        min-height: 54px;
        padding: 18px 0;
        font-size: 13px;
    }

    /* Mobile popup */
    .am-modal {
        padding: 8px;
    }

    .am-modal.is-open {
        align-items: flex-start;
    }

    .am-modal__dialog--consultation {
        width: 100%;
        max-height: none;
        padding: 42px 12px 18px;
    }

    .am-modal__dialog--consultation > h2 {
        margin: 0 28px 14px 0;
        font-size: 20px;
    }

    .am-modal-consultation-grid {
        display: block;
    }

    .am-modal-consultation-grid__image {
        margin-bottom: 14px;
    }

    .am-modal-consultation-grid__image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .am-modal__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 390px) {

    .am-header-actions {
        gap: 12px;
    }

    .am-hero-slider__track {
        height: 640px;
    }

    .am-hero-slide {
        grid-template-rows: 260px 340px;
    }

    .am-product-grid.am-horizontal-mobile {
        grid-auto-columns: calc((100% - 8px) / 2);
    }

    .am-form-submit-row {
        grid-template-columns: 1fr;
    }

    .am-hcaptcha-wrap {
        height: 72px;
    }

    .am-form-submit-row .am-button,
    .am-consultation-form .am-form-submit-row .am-button {
        min-height: 52px;
		font-weight: 500;
    }
}

/* ========================================================================== 
   Mobile homepage sections — approved 375px layouts (v2.4)
   Header and user-edited desktop rules are intentionally untouched.
   ========================================================================== */
@media (max-width: 767px) {
    /* Shared mobile typography for the edited homepage sections. */
    .am-weekly-section .am-container,
    .am-products-section .am-container,
    .am-problems-section .am-container,
    .am-trust-section .am-container,
    .am-articles-section .am-container {
        width: calc(100% - 32px);
    }

    .am-products-section .am-section-title,
    .am-problems-section .am-section-title,
    .am-trust-section .am-section-title,
    .am-articles-section .am-section-title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.2;
    }

    /* Weekly offer: label, title, image, copy, timer and CTA in this order. */
    .am-weekly {
        display: block;
        overflow: hidden;
        border-radius: 4px;
        background: #f2f2f2;
    }

    .am-weekly__image {
        display: none;
    }

    .am-weekly__content {
        display: flex;
        gap: 20px;
        padding: 16px;
    }

    .am-weekly__meta {
        gap: 14px;
    }

    .am-weekly__discount {
        min-width: 68px;
        height: 31px;
        padding: 6px 12px;
        font-size: 16px;
        line-height: 1.15;
    }

    .am-weekly__label {
        color: #282828;
        font-size: 18px;
        line-height: 1.2;
    }

    .am-weekly__copy {
        gap: 18px;
    }

    .am-weekly__copy h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .am-weekly__image-mobile {
        display: block;
        width: 100%;
        margin: 0;
        overflow: hidden;
        border-radius: 4px;
        aspect-ratio: 311 / 240;
    }

    .am-weekly__image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .am-weekly__copy p {
        font-size: 16px;
        line-height: 1.25;
    }

    .am-weekly__timer {
        width: 100%;
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 18px;
        align-items: center;
    }

    .am-weekly__days {
        min-width: 0;
        gap: 5px;
    }

    .am-weekly__days strong,
    .am-weekly__days span {
        font-size: 18px;
        line-height: 1.05;
    }

    .am-weekly__counter-block {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 6px;
        align-items: center;
    }

    .am-weekly__time-block {
        width: 100%;
        min-width: 0;
        height: 46px;
        gap: 2px;
        padding: 5px 3px;
    }

    .am-weekly__time-block strong {
        font-size: 18px;
        line-height: 1;
    }

    .am-weekly__time-block span {
        color: #9ca3af;
        font-size: 10px;
        line-height: 1;
    }

    .am-weekly__counter-block > i,
    .am-weekly__timer > i {
        font-size: 20px;
        line-height: 1;
    }

    .am-weekly__button {
        min-height: 51px;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 1.15;
    }

    /* Bestsellers: one full card plus roughly half of the next card. */
    .am-product-grid.am-horizontal-mobile {
        grid-auto-columns: 68%;
        gap: 8px;
        margin-right: -16px;
        padding: 0 16px 4px 0;
        scroll-padding-inline: 0 16px;
    }

    .am-product-card {
        padding: 8px;
    }

    .am-product-card__media {
        aspect-ratio: 1 / 1;
    }

    .am-product-badge {
        min-height: 23px;
        padding: 4px 8px;
        font-size: 12px;
        line-height: 1.15;
    }

    .am-product-card__body {
        padding-top: 12px;
    }

    .am-product-card__title {
        min-height: 42px;
        font-size: 16px;
        line-height: 1.25;
    }

    .am-product-stars {
        font-size: 18px;
    }

    .am-product-card__rating small {
        font-size: 12px;
    }

    .am-product-card__price,
    .am-product-card__price ins {
        font-size: 18px;
        line-height: 1.2;
    }

    .am-product-card__price del {
        font-size: 13px;
    }

    .am-product-card__button {
        min-height: 52px;
        margin-top: 10px;
        padding: 12px 8px;
        font-size: 16px;
        line-height: 1.15;
    }

    .am-products-section .am-section-more {
        margin-top: 12px;
    }

    .am-products-section .am-section-more a {
        font-size: 14px;
    }

    /* Problem cards: 2 × 3 grid with readable 18px labels. */
    .am-problems-grid {
        gap: 8px;
    }

    .am-problem-card__title {
        right: 9px;
        bottom: 10px;
        left: 9px;
        gap: 5px;
        padding-right: 0;
        font-size: 18px;
        line-height: 1.12;
    }

    .am-problem-card__title svg {
        width: 23px;
        height: 17px;
        flex: 0 0 23px;
    }

    /* Trust: centered review with one-third previews on both sides. */
    .am-section.am-trust-section,
    .am-home > .am-trust-section {
        padding: 36px 0 26px;
    }

    .am-trust-section .am-section-title {
        margin-bottom: 24px;
    }

    .am-stats-grid {
        gap: 20px 12px;
        margin-bottom: 30px;
    }

    .am-stat strong {
        font-size: 24px;
        line-height: 1.15;
    }

    .am-stat span {
        max-width: 135px;
        margin: 7px auto 0;
        font-size: 16px;
        line-height: 1.25;
        text-transform: none;
    }

    .am-testimonials {
        margin-inline: -16px;
    }

    .am-testimonials__grid {
        grid-auto-columns: 90%;
        gap: 8px;
        padding: 0 16% 8px;
        scroll-padding-inline: 16%;
        scroll-snap-type: x mandatory;
    }

    .am-testimonial-card,
    .am-testimonial-card:last-child {
        min-height: 268px;
        padding: 18px 16px;
        scroll-snap-align: center;
    }

    .am-testimonial-card__head strong {
        font-size: 16px;
        line-height: 1.2;
    }

    .am-testimonial-card__head time {
        font-size: 13px;
        line-height: 1.2;
    }

    .am-testimonial-card__rating {
        margin: 12px 0 10px;
        font-size: 18px;
    }

    .am-testimonial-card p {
        font-size: 16px;
        line-height: 1.3;
    }

    .am-testimonials__footer {
        display: block;
        margin-top: 22px;
        padding-inline: 16px;
    }

    .am-google-summary {
        justify-content: center;
        gap: 7px;
        font-size: 13px;
        line-height: 1.2;
    }

    .am-google-summary__logo,
    .am-google-summary__stars {
        font-size: 17px;
    }

    .am-google-summary__count {
        font-size: 12px;
    }

    .am-testimonial-pagination {
        display: none;
    }

    /* Articles: one centered card with left/right previews. */
    .am-articles-section .am-section-title {
        max-width: 310px;
        margin-inline: auto;
    }

    .am-articles-grid {
        grid-auto-columns: 90%;
        gap: 8px;
        margin-inline: -16px;
        padding: 0 16% 8px;
        scroll-padding-inline: 16%;
        scroll-snap-type: x mandatory;
    }

    .am-article-card {
        min-height: 520px;
        scroll-snap-align: center;
    }

    .am-article-card__image {
        margin: 8px 8px 0;
    }

    .am-article-card__body {
        padding: 24px 16px 20px;
    }

    .am-article-card h3 {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.2;
    }

    .am-article-card p {
        font-size: 16px;
        line-height: 1.3;
    }

    .am-article-card__link {
        gap: 7px;
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.2;
    }

    /* Shared carousel dots used only on mobile. */
    .am-mobile-carousel-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 12px;
    }

    .am-mobile-carousel-dots button {
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #282828;
        border-radius: 50%;
        padding: 0;
        background: #fff;
        cursor: pointer;
    }

    .am-mobile-carousel-dots button::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: transparent;
    }

    .am-mobile-carousel-dots button.is-active::after {
        background: #282828;
    }

    .am-testimonials > .am-mobile-carousel-dots {
        margin-top: 24px;
    }
}


@media (max-width: 767px) {
    /* 6.39 — use the full mobile viewport and a single announcement. */
    .am-shipping-bar__inner.am-container {
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
        white-space: normal;
    }

    .am-shipping-bar__track {
        display: block;
        width: max-content;
        min-width: max-content;
        height: 100%;
        animation: am-shipping-marquee 15s linear infinite;
    }

    .am-shipping-bar__item {
        gap: 5px;
        padding-right: 0;
        white-space: nowrap;
    }

    .am-shipping-bar__text {
        overflow: visible;
        text-overflow: clip;
    }
}


/* AM 6.43: article card exact layout */
.am-article-card__body {
    padding: 24px 16px 20px;
}
.am-article-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* AM 6.44 exact mobile spacing overrides */
.am-footer-menu {
    gap: 15px;
}
.am-modal__dialog--consultation .am-consultation-form {
    gap: 10px;
}
