.autoship-page { min-width: 20rem; margin: 0; background: var(--ng-page,#fff); color: var(--ng-text-body,#333); font-family: var(--locale-font, 'NatGard Lato'), Lato, Arial, Helvetica, sans-serif; }
.autoship-page *, .autoship-page *::before, .autoship-page *::after { box-sizing: border-box; }
.autoship-page .catalog-nav { display: none; }
.autoship { width: min(87.5rem, 100%); margin: 1.25rem auto 4rem; }
.autoship :is(h1, h2, h3, p) { margin: 0; }
.autoship a { color: var(--ng-link,#126cc5); text-decoration: none; }
.autoship a:hover { text-decoration: underline; text-underline-offset: .125rem; }
.autoship :is(a, button, summary):focus-visible { outline: .125rem solid var(--ng-focus,#126cc5); outline-offset: .1875rem; }

.autoship-hero { min-height: 20.625rem; overflow: hidden; border-radius: .5rem .5rem 0 0; background: var(--ng-surface,#edf3e7) url('/assets/pages/subscription/hero-background-desktop.webp') center / cover no-repeat; }
/* Our subscription badge on the banner (top right, over the background, never over the jars or the title). */
.autoship-hero { position: relative; }
.autoship-hero__badge { position: absolute; z-index: 1; top: 1.5rem; right: 2.5rem; width: 7.25rem; aspect-ratio: 1; display: block; border-radius: 50%; background: var(--ng-surface-white,#fff); box-shadow: 0 .375rem 1.25rem rgb(20 40 10 / 16%), 0 0 0 .0625rem rgb(20 40 10 / 4%); color: var(--ng-primary,#458500); pointer-events: none; }
.autoship-hero__badge svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.autoship-hero__badge-ring { stroke-width: 8.5; }
.autoship-hero__badge-jar { stroke-width: 4.5; }
.autoship-hero__badge-label { fill: currentColor; fill-opacity: .16; stroke-width: 3; }
.autoship-hero__badge-leaf { stroke-width: 3; }
/* Narrower screens bring the oil bottle and the jars closer to the corner: a smaller badge, higher and further right. */
@media (max-width: 81.25rem) { .autoship-hero__badge { top: .75rem; right: .75rem; width: 5.25rem; } }
@media (max-width: 56.1875rem) { .autoship-hero__badge { top: .625rem; right: .625rem; width: 4.5rem; } }
/* Phone banner: between the title and the jars. */
@media (max-width: 47.9375rem) { .autoship-hero__badge { top: 6.5rem; right: 1rem; width: 4rem; } }
html[data-device="phone"] .autoship .autoship-hero__badge { top: 6.5rem; right: 1rem; width: 4rem; }
.autoship-hero__content { min-height: 20.625rem; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2.5rem 1.75rem; }
.autoship-hero__copy { position: relative; z-index: 1; width: min(44rem, 60%); }
.autoship-hero h1 { margin-bottom: 1rem; color: var(--ng-text,#333); font-size: 1.75rem; font-weight: 700; line-height: 2.25rem; }
.autoship-hero ul { margin: 0; padding-left: 1.5rem; color: var(--ng-text,#333); font-size: 1.125rem; font-weight: 700; line-height: 1.5rem; }
.autoship-hero li + li { margin-top: .25rem; }
.autoship-hero__actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.autoship-button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .6875rem 1rem; border: .0625rem solid var(--ng-primary-hover,#2c7500); border-radius: .5rem; font-size: 1rem; font-weight: 700; line-height: 1.5rem; text-align: center; text-decoration: none !important; }
.autoship-button--solid { min-width: 12.5rem; background: var(--ng-primary,#458500); border-color: var(--ng-primary,#458500); color: var(--ng-on-primary,#FFFFFF)!important; }
.autoship-button--solid:hover { background: var(--ng-primary-hover,#2c7500);color:var(--ng-on-primary-hover,#FFFFFF); border-color: var(--ng-primary-hover,#2c7500); }
.autoship-button--outline { min-width: 10rem; background: var(--ng-surface-white,#fff); color: var(--ng-primary-hover,#2c7500) !important; }
.autoship-button--outline:hover { background: var(--ng-surface,#f5f9f0); }
.autoship-hero__products { width: 21.875rem; max-width: 37%; display: block; align-self: end; margin: 0 2.5rem -.3125rem 1rem; object-fit: contain; }

.autoship-love { width: min(85.5rem, calc(100% - 4rem)); display: grid; grid-template-columns: 12.75rem minmax(0, 1fr); gap: 2rem; margin: 1.5rem auto 2rem; padding: 1.5rem 2rem; border-radius: .5rem; background: var(--ng-surface-field,#f7f7f7); }
.autoship-love__heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.autoship-love__heading h2 { color: var(--ng-text-body,#333); font-size: 1.5rem; font-weight: 700; line-height: 2rem; }
.autoship-love__heading .autoship-button { min-width: 0; margin-top: 1.75rem; padding-inline: 1.25rem; border-radius: 1.875rem; }
.autoship-love__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; min-width: 0; }
.autoship-love__item { min-width: 0; display: flex; flex-direction: column; align-items: center; color: var(--ng-text-body,#333); text-align: center; }
.autoship-love__item img { width: 100%; aspect-ratio: 1.85 / 1; display: block; border-radius: .125rem; object-fit: cover; }
.autoship-love__item h3 { margin-top: .75rem; font-size: 1.125rem; font-weight: 700; line-height: 1.5rem; }
.autoship-love__item p { flex: 1; margin-top: .125rem; font-size: 1rem; line-height: 1.5rem; }
.autoship-love__item a { margin-top: .125rem; font-size: 1rem; line-height: 1.5rem; text-decoration: underline; text-underline-offset: .125rem; }

.autoship-sellers { width: min(85.5rem, calc(100% - 4rem)); margin: 0 auto; }
.autoship-sellers > h2, .autoship-faq > h2 { color: var(--ng-text-body,#333); font-size: 1.5rem; font-weight: 700; line-height: 2rem; }
/* One row of narrow cards as on the prototype (8.11.2026): about 6 visible on a computer (~195 px at 1440), the rest behind the arrows. */
.autoship-rail { position: relative; margin-top: 1.25rem; }
.autoship-products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 1.25rem) / 6.3); gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.autoship-products::-webkit-scrollbar { display: none; }
.autoship-product { position: relative; min-width: 0; display: flex; flex-direction: column; scroll-snap-align: start; } /* position keeps the hidden price labels inside the strip */
.autoship-rail__arrow { position: absolute; top: 6.25rem; z-index: 2; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; padding: 0; border: .0625rem solid var(--ng-border,#ced4d8); border-radius: 50%; background: var(--ng-surface-white,#fff); color: var(--ng-text,#2c3034); box-shadow: 0 .125rem .5rem rgb(0 0 0 / 8%); cursor: pointer; transform: translateY(-50%); transition: opacity .15s, background-color .15s; }
.autoship-rail__arrow:hover { background: var(--ng-surface,#f9fafb); }
.autoship-rail__arrow:focus-visible { outline: .125rem solid var(--ng-focus,#458500); outline-offset: .125rem; }
.autoship-rail__arrow:disabled { opacity: 0; pointer-events: none; }
.autoship-rail__arrow--previous { left: -1.375rem; }
.autoship-rail__arrow--next { right: -1.375rem; }
.autoship-rail__arrow svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.autoship-product__visual { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 1.25rem; border-radius: .5rem; background: var(--ng-surface,#fafafa); }
.autoship-product__visual img { width: 100%; height: 100%; display: block; object-fit: contain; }
.autoship-product__brand { min-height: 1.25rem; margin-top: .875rem; color: var(--ng-muted,#666); font-size: .875rem; line-height: 1.25rem; }
.autoship-product__name { display: -webkit-box; min-height: 4.5rem; margin-top: .25rem; overflow: hidden; hyphens: auto; overflow-wrap: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; color: var(--ng-text-body,#333) !important; font-size: 1.125rem; line-height: 1.5rem; text-decoration: none !important; }
.autoship-product__name:hover { color: var(--ng-link,#126cc5) !important; text-decoration: underline !important; }
.autoship-product__rating { min-height: 1.25rem; margin-top: .375rem; color: var(--ng-muted,#666); font-size: .875rem; line-height: 1.25rem; }
.autoship-product__rating b { color: var(--ng-text,#333); }
.autoship-product__rating span[aria-hidden] { margin-left: .1875rem; color: #f5b31c; font-size: 1.125rem; vertical-align: -.0625rem; }
.autoship-product__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .375rem; margin-top: .25rem; }
.autoship-product__price :is(strong, s) { white-space: nowrap; }
.autoship-product__price strong { color: #d82f15; font-size: 1.25rem; font-weight: 700; line-height: 1.625rem; }
.autoship-product__price s { color: var(--ng-muted,#666); font-size: .875rem; line-height: 1.25rem; }
.autoship-product__saving { min-height: 3rem; display: flex; gap: .25rem; align-items: flex-start; margin-top: .375rem; margin-bottom: .5rem; color: var(--ng-text-body,#333); font-size: 1rem; font-weight: 700; line-height: 1.5rem; }
.autoship-product__saving svg { width: 1.125rem; height: 1.125rem; flex: 0 0 1.125rem; margin-top: .1875rem; fill: none; stroke: var(--ng-primary,#458500); stroke-width: 2.4; }
/* "Подписаться" sits at the bottom of the card: buttons stay level when a long price wraps */
.autoship-subscribe { align-self: flex-start; display: inline-flex; align-items: center; min-height: 2.25rem; margin-top: auto; padding: .375rem 1rem; border: 0; border-radius: 1.125rem; background: var(--ng-primary,#458500); color: var(--ng-on-primary,#FFFFFF); font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.5rem; cursor: pointer; }
.autoship a.autoship-subscribe { color: var(--ng-on-primary,#FFFFFF); text-decoration: none; }
.autoship a.autoship-subscribe:hover { background: var(--ng-primary-hover,#2c7500); color: var(--ng-on-primary-hover,#FFFFFF); text-decoration: none; }

.autoship-faq { width: min(85.5rem, calc(100% - 4rem)); margin: 3.5rem auto 0; }
.autoship-faq__layout { display: grid; grid-template-columns: 24.5rem minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; }
.autoship-faq__tabs { display: grid; align-content: start; gap: 1rem; }
.autoship-faq__tabs button { min-height: 5.5rem; display: flex; align-items: center; gap: .875rem; padding: 1rem 1.25rem; border: .0625rem solid transparent; border-radius: .5rem; background: var(--ng-surface-field,#f7f7f7); color: var(--ng-text-body,#333); font-family: inherit; text-align: left; cursor: pointer; }
.autoship-faq__tabs button[aria-selected='true'] { border: .1875rem solid var(--ng-primary,#458500); padding: .875rem 1.0625rem; background: var(--ng-surface-white,#fff); }
.autoship-faq__tabs svg { width: 2rem; height: 2rem; flex: 0 0 2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.autoship-faq__tabs span { min-width: 0; display: flex; flex-direction: column; }
.autoship-faq__tabs b { font-size: 1.25rem; font-weight: 700; line-height: 1.5rem; }
.autoship-faq__tabs small { margin-top: .125rem; font-size: 1rem; line-height: 1.5rem; }
.autoship-faq__panels { min-width: 0; }
.autoship-faq__panels details { border-bottom: .0625rem solid var(--ng-border,#ddd); }
.autoship-faq__panels summary { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: var(--ng-text-body,#333); font-size: 1.125rem; font-weight: 400; line-height: 1.5rem; list-style: none; cursor: pointer; }
.autoship-faq__panels summary::-webkit-details-marker { display: none; }
.autoship-faq__panels summary span { flex: 0 0 auto; font-size: 1.875rem; font-weight: 400; line-height: 1; }
.autoship-faq__panels details[open] summary span { font-size: 0; }
.autoship-faq__panels details[open] summary span::after { content: '−'; font-size: 1.875rem; line-height: 1; }
.autoship-faq__panels details > div { max-width: 44rem; padding: 0 1.25rem 2rem .625rem; color: var(--ng-text-strong,#181b1f); font-family: inherit; font-size: 1rem; line-height: 1.5rem; }
.autoship-faq__panels p + p, .autoship-faq__panels :is(ol, ul) + p { margin-top: 1rem; }
.autoship-faq__panels ol { margin: .375rem 0 0; padding-left: 1.5rem; }
.autoship-faq__panels ul { margin: .25rem 0 0; padding-left: 1.5rem; }
.autoship-faq__panels a { color: var(--ng-link,#126cc5); text-decoration: underline; text-underline-offset: .125rem; }

@media (max-width: 74.9375rem) {
  .autoship { margin-top: 0; }
  .autoship-hero { border-radius: 0; }
  .autoship-hero__content { padding-inline: 2.5rem; }
  .autoship-love, .autoship-sellers, .autoship-faq { width: min(68rem, calc(100% - 3rem)); }
  .autoship-products { grid-auto-columns: calc((100% - 4 * 1rem) / 4.5); gap: 1rem; }
  .autoship-rail__arrow--previous { left: -1.125rem; }
  .autoship-rail__arrow--next { right: -1.125rem; }
  .autoship-love { grid-template-columns: 11rem minmax(0, 1fr); padding: 1.25rem; }
  .autoship-faq__layout { grid-template-columns: 18rem minmax(0, 1fr); }
}

@media (max-width: 56.1875rem) {
  .autoship-hero__content { min-height: 18.5rem; padding-inline: 2rem; }
  .autoship-hero__copy { width: 70%; }
  .autoship-hero__products { width: 15.5rem; margin-right: 0; }
  .autoship-love { grid-template-columns: 1fr; }
  .autoship-love__heading { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .autoship-love__heading .autoship-button { margin-top: 0; }
  .autoship-faq__layout { grid-template-columns: 1fr; }
  .autoship-faq__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .autoship-faq__tabs button { min-height: 7.5rem; align-items: flex-start; padding: 1rem .75rem; }
  .autoship-faq__tabs button[aria-selected='true'] { padding: .8125rem .5625rem; }
  .autoship-faq__tabs b { font-size: 1rem; line-height: 1.25rem; }
  .autoship-faq__tabs small { font-size: .8125rem; line-height: 1.125rem; }
}

/* 768–1100 (the survey of 22.11.2026, finding 13): the heading over the cards and the cards two in a row — four
   cards beside the heading were 140–160 px wide, their texts nine or ten lines of two or three words. */
@media (min-width: 48rem) and (max-width: 68.75rem) {
  .autoship-love { grid-template-columns: 1fr; }
  .autoship-love__heading { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .autoship-love__heading .autoship-button { margin-top: 0; }
  .autoship-love__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}

@media (max-width: 47.9375rem) {
  .autoship { margin-bottom: 2.5rem; }
  .autoship-hero { min-height: 40.5rem; background-image: url('/assets/pages/subscription/hero-mobile.webp'); background-position: center top; }
  .autoship-hero__content { min-height: 40.5rem; display: block; padding: 1rem 1rem 1.5rem; }
  .autoship-hero__copy { width: 100%; padding-top: 0; }
  .autoship-hero h1 { max-width: 22rem; margin: 0 auto; font-size: 1.5rem; line-height: 1.875rem; text-align: center; }
  .autoship-hero ul, .autoship-hero__products { display: none; }
  .autoship-hero__actions { display: grid; gap: .625rem; margin-top: 17.5rem; }
  .autoship-button { width: 100%; }
  .autoship-love, .autoship-sellers, .autoship-faq { width: calc(100% - 2rem); }
  .autoship-love { margin-top: 1rem; padding: 1.25rem 1rem; }
  .autoship-love__heading { display: block; }
  .autoship-love__heading h2 { font-size: 1.25rem; line-height: 1.625rem; }
  .autoship-love__heading .autoship-button { width: auto; min-height: 2.5rem; margin-top: .875rem; font-size: .875rem; line-height: 1.25rem; }
  .autoship-love__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; }
  .autoship-love__item h3 { font-size: 1rem; line-height: 1.25rem; }
  .autoship-love__item p, .autoship-love__item a { font-size: .875rem; line-height: 1.25rem; }
  .autoship-products { grid-auto-columns: minmax(9.875rem, 42vw); gap: .875rem; margin-right: -1rem; padding-right: 1rem; }
  .autoship-rail__arrow { display: none; }
  .autoship-product__visual { padding: .875rem; }
  .autoship-product__brand { margin-top: .625rem; font-size: .75rem; line-height: 1.125rem; }
  .autoship-product__name { min-height: 3.9375rem; font-size: .9375rem; line-height: 1.3125rem; }
  .autoship-product__rating, .autoship-product__price s { font-size: .75rem; line-height: 1rem; }
  .autoship-product__rating { min-height: 1rem; }
  .autoship-product__price strong { font-size: 1.125rem; line-height: 1.5rem; }
  .autoship-product__saving { min-height: 2.625rem; font-size: .8125rem; line-height: 1.125rem; }
  .autoship-product__saving svg { width: 1rem; height: 1rem; flex-basis: 1rem; margin-top: .0625rem; }
  .autoship-subscribe { min-height: 2.125rem; padding: .3125rem .875rem; font-size: .875rem; line-height: 1.25rem; }
  .autoship-faq { margin-top: 2.75rem; }
  .autoship-sellers > h2, .autoship-faq > h2 { font-size: 1.25rem; line-height: 1.625rem; }
  .autoship-faq__layout { gap: 1rem; margin-top: 1rem; }
  .autoship-faq__tabs { grid-template-columns: 1fr; gap: .625rem; }
  .autoship-faq__tabs button { min-height: 4.5rem; align-items: center; padding: .75rem 1rem; }
  .autoship-faq__tabs button[aria-selected='true'] { padding: .625rem .8125rem; }
  .autoship-faq__tabs svg { width: 1.625rem; height: 1.625rem; flex-basis: 1.625rem; }
  .autoship-faq__tabs b { font-size: 1rem; line-height: 1.25rem; }
  .autoship-faq__tabs small { font-size: .8125rem; line-height: 1.125rem; }
  .autoship-faq__panels summary { min-height: 3.375rem; font-size: 1rem; line-height: 1.375rem; }
  .autoship-faq__panels details > div { padding: 0 .375rem 1.5rem 0; font-size: .9375rem; line-height: 1.375rem; }
}

/* Phone layout (shared/mobile-content.css loads after this file and clamps the name to 2 lines): 3 lines there too. */
html[data-device="phone"] .autoship .autoship-product__name { -webkit-line-clamp: 3; line-clamp: 3; height: 72px; min-height: 72px; }
html[data-device="phone"] .autoship .autoship-product__saving svg { width: 1rem; height: 1rem; flex-basis: 1rem; margin-top: .0625rem; }
html[data-device="phone"] .autoship .autoship-rail__arrow { display: none; }

@media (prefers-reduced-motion: reduce) { .autoship-page *, .autoship-page *::before, .autoship-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Layout survey #38 (01.12.2026): on phones the buttons stand under the picture, not over the jars. The picture keeps its
   proportions at full width (786 x 1054); an invisible spacer of the same proportions holds the title over it. */
@media (max-width: 47.9375rem) {
  .autoship .autoship-hero { min-height: 0; background-size: 100% auto; background-position: center top; background-color: var(--ng-page,#fff); }
  .autoship .autoship-hero__content { min-height: 0; padding: 1rem 1rem 0; }
  .autoship .autoship-hero__copy { display: grid; }
  .autoship .autoship-hero__copy::before { content: ""; grid-area: 1 / 1; aspect-ratio: 786 / 1054; margin: -1rem -1rem 0; }
  .autoship .autoship-hero__copy h1 { grid-area: 1 / 1; align-self: start; }
  .autoship .autoship-hero__actions { grid-area: 2 / 1; margin-top: 1rem; }
}
html[data-device="phone"] .autoship .autoship-hero { min-height: 0; background-size: 100% auto; background-position: center top; background-color: var(--ng-page,#fff); }
html[data-device="phone"] .autoship .autoship-hero__content { min-height: 0; padding: 1rem 1rem 0; }
html[data-device="phone"] .autoship .autoship-hero__copy { display: grid; }
html[data-device="phone"] .autoship .autoship-hero__copy::before { content: ""; grid-area: 1 / 1; aspect-ratio: 786 / 1054; margin: -1rem -1rem 0; }
html[data-device="phone"] .autoship .autoship-hero__copy h1 { grid-area: 1 / 1; align-self: start; }
html[data-device="phone"] .autoship .autoship-hero__actions { grid-area: 2 / 1; margin-top: 1rem; }

/* "Popular products": the site's one product card (shared/product-card.css, owner approved 01.12.2026) with the
   subscription lines as before — the dotted circle with "Save 5% with subscription" in bold and the green pill.
   A row of 194-wide cards (phones 180, framed): the field 180 (160) and the product 148 (120) as everywhere. */
.autoship .autoship-products { grid-auto-columns: 194px; gap: 18px; }
html[data-device="phone"] .autoship .autoship-products { grid-auto-columns: 180px; gap: 12px; }
html[data-device="phone"] .autoship .autoship-products .ng-card { width: auto; flex: none; }
.autoship .ng-card-saving { display: flex; gap: 4px; align-items: flex-start; margin: 6px 0 0 8px; color: var(--ng-text-body,#333); font-size: 14px; font-weight: 700; line-height: 20px; }
.autoship .ng-card-saving svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; fill: none; stroke: var(--ng-primary,#458500); stroke-width: 2.4; }
.autoship .ng-card .autoship-subscribe { margin: 10px 0 0 8px; }
html[data-device="phone"] .autoship .ng-card > :is(.ng-card-saving, .autoship-subscribe) { margin-inline-start: 0; }
.autoship .ng-card .best-seller-name { color: var(--ng-text-body,#333); }
.autoship .ng-card .ng-card-bonus { margin: 4px 0 0 8px; }
html[data-device="phone"] .autoship .ng-card .ng-card-bonus { margin-left: 0; }
