@media screen {
  .catalog-page #main .product-segments {
    --segment-accent: #16816d;
    --segment-shadow: 0 1px 2px rgb(35 44 38 / 13%), 0 2px 5px rgb(35 44 38 / 9%);
    display: inline-flex;
    align-items: stretch;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    gap: 2px;
    padding: 4px;
    border: 1px solid #d0d0c6;
    border-radius: 26px;
    background: #eae9e2;
    box-shadow: inset 0 1px 2px rgb(35 44 38 / 5%);
    box-sizing: border-box;
  }
  .catalog-page #main .antifreeze-editions.product-segments {
    margin: 0;
    min-height: 0;
    align-self: center;
    padding: 4px;
    justify-self: start;
    flex-wrap: nowrap;
  }
  .catalog-page #main .product-segments a,
  .catalog-page #main .cat-packs .product-segments label > span {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 14px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 22px;
    box-sizing: border-box;
    background: transparent;
    color: #45524c;
    box-shadow: none;
    font: 500 .875rem/1.25 Onest, Arial, sans-serif;
    letter-spacing: normal;
    text-decoration: none;
    white-space: nowrap;
  }
  .catalog-page #main .product-segments a::before,
  .catalog-page #main .cat-packs .product-segments label > span::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a4aaa3;
    box-shadow: inset 0 1px 1px rgb(35 44 38 / 12%);
  }
  .catalog-page #main .product-segments a[aria-current="page"],
  .catalog-page #main .cat-packs .product-segments input:checked + span {
    color: #183c31;
    border-color: #d8dbd1;
    background: #fffefa;
    box-shadow: var(--segment-shadow);
  }
  .catalog-page #main .product-segments a[aria-current="page"]::before,
  .catalog-page #main .cat-packs .product-segments input:checked + span::before {
    background: var(--segment-accent);
    box-shadow: 0 0 0 2px rgb(22 129 109 / 10%);
  }
  .catalog-page #main .product-segments a:focus-visible,
  .catalog-page #main .cat-packs .product-segments input:focus-visible + span {
    outline: 2px solid #205b4b;
    outline-offset: 1px;
  }
  .catalog-page #main .cat-packs #price-edition {
    scroll-margin-top: calc(var(--agro-header-height, 75px) + 20px);
  }
  .catalog-page #main .cat-product-copy fieldset.cat-packs {
    display: block;
    min-width: 0;
    width: auto;
    margin: 14px 0 18px;
    padding: 0;
  }
  .catalog-page #main .cat-packs > legend {
    padding: 0;
    margin-bottom: 8px;
    color: var(--forest);
    font: 550 .88rem/1.4 Onest, Arial, sans-serif;
  }
  .catalog-page #main .cat-packs .product-segments label {
    display: flex;
    min-width: 0;
    position: relative;
  }
  .catalog-page #main .cat-packs .product-segments label > span {
    display: grid;
    grid-template-columns: 7px auto auto;
    align-content: center;
    gap: 3px 8px;
    padding: 7px 12px;
    width: 100%;
    height: auto;
  }
  .catalog-page #main .cat-packs .product-segments input {
    z-index: 1;
    margin: 0;
  }
  .catalog-page #main .product-segments .pack-volume { font: inherit; font-weight: 600; }
  .catalog-page #main .product-segments .orchard-pack-price {
    order: 0;
    color: inherit;
    font: 500 .8125rem/1.25 Onest, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
  }
  .catalog-page #main .product-segments .cat-pack-availability {
    grid-column: 2 / -1;
    order: 1;
    font: 400 .72rem/1.3 Onest, Arial, sans-serif;
    color: #47544e;
  }
  .catalog-page #main .cat-purchase-row .cat-primary,
  .catalog-page #main .cat-purchase-row button.cat-text-link {
    min-height: 44px;
    flex: 0 1 auto;
    width: auto;
    border: 1px solid var(--forest);
    border-radius: 24px;
    padding: 10px 20px;
  }
  .catalog-page #main .orchard-retail .cat-product-copy > a.cat-text-link {
    gap: 12px;
    margin-block: 8px 2px;
    min-height: 40px;
    border: 1px solid #a9b5a9;
    border-radius: 22px;
    padding: 7px 14px;
  }
  @media (hover: hover) {
    .catalog-page #main .product-segments a:not([aria-current]):hover,
    .catalog-page #main .product-segments label:hover input:not(:checked) + span { background: #f4f3ec; }
  }
  @media (max-width: 600px) {
    .catalog-page #main .product-segments a,
    .catalog-page #main .cat-packs .product-segments label > span { min-height: 44px; padding-inline: 10px; }
    .catalog-page #main .cat-packs .product-segments label > span { gap: 3px 6px; }
  }
  @media (forced-colors: active) {
    .catalog-page #main .product-segments a[aria-current],
    .catalog-page #main .product-segments label input:checked + span { border: 2px solid Highlight; }
  }
}
@media print { #main .antifreeze-editions.product-segments { display: none; } }
