﻿/* Shared request/contact block contract. Figma: desktop 617:6812/617:6811, mobile 617:6774. */
@media (min-width: 64.001rem) {
  body:is([data-page="delivery"], [data-page="payment"]) .page-section#contact-request {
    padding-top: 0;
    padding-bottom: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request {
    --contact-s: var(--desktop-viewport-scale);
    overflow: clip;
  }

  body[data-page="about"] .page-section#contact-request {
    padding-top: 0;
    padding-bottom: calc(10rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request > .container {
    width: var(--container);
    max-width: var(--container);
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block {
    position: relative;
    display: block;
    width: 100%;
    height: calc(54.625rem * var(--contact-s));
    min-height: calc(54.625rem * var(--contact-s));
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: calc(0.0625rem * var(--contact-s)) solid #2f2e2e;
    border-radius: calc(0.625rem * var(--contact-s));
    background: #111111;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block::before {
    content: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.02) 0%, rgba(17, 17, 17, 0.12) 100%);
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__image {
    position: absolute;
    top: -9.33%;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 118.78%;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__content {
    position: absolute;
    top: calc(2.5rem * var(--contact-s));
    right: calc(1.5625rem * var(--contact-s));
    left: auto;
    display: block;
    width: calc(57.5rem * var(--contact-s));
    height: calc(16.5625rem * var(--contact-s));
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: calc(0.625rem * var(--contact-s));
    background: #ff6c00;
    color: #ffffff;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__eyebrow {
    display: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__title {
    position: absolute;
    top: calc(3.125rem * var(--contact-s));
    left: calc(1.875rem * var(--contact-s));
    width: calc(46.9375rem * var(--contact-s));
    max-width: calc(46.9375rem * var(--contact-s));
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: calc(3.75rem * var(--contact-s));
    font-style: normal;
    font-weight: 400;
    line-height: 0.93;
    letter-spacing: calc(-0.075rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__copy {
    position: absolute;
    top: calc(11.25rem * var(--contact-s));
    left: calc(1.875rem * var(--contact-s));
    width: calc(38.6875rem * var(--contact-s));
    max-width: calc(38.6875rem * var(--contact-s));
    margin: 0;
    color: #e9e6e6;
    font-family: var(--font-ui);
    font-size: calc(1.125rem * var(--contact-s));
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel {
    position: absolute;
    top: calc(20.3125rem * var(--contact-s));
    right: calc(1.5625rem * var(--contact-s));
    left: auto;
    display: block;
    width: calc(57.5rem * var(--contact-s));
    height: calc(31.8125rem * var(--contact-s));
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: calc(0.9375rem * var(--contact-s));
    background: #ffffff;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel-title {
    display: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field {
    position: absolute;
    left: calc(1.875rem * var(--contact-s));
    width: calc(50.375rem * var(--contact-s));
    height: calc(4.3125rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(1) {
    top: calc(2.1875rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(2) {
    top: calc(7.125rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(3) {
    top: calc(12.0625rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(4) {
    top: calc(17rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .input,
  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .textarea {
    width: 100%;
    height: calc(4.3125rem * var(--contact-s));
    min-height: 0;
    padding: calc(1.3125rem * var(--contact-s)) calc(1.25rem * var(--contact-s)) calc(1.1875rem * var(--contact-s));
    border: 0;
    border-radius: calc(0.625rem * var(--contact-s));
    background: #d9d9d9;
    color: #878787;
    font-family: var(--font-heading);
    font-size: calc(1.125rem * var(--contact-s));
    font-style: normal;
    font-weight: 400;
    line-height: 1.37;
    letter-spacing: calc(-0.0225rem * var(--contact-s));
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .textarea {
    resize: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .form-note {
    position: absolute;
    top: calc(22.25rem * var(--contact-s));
    left: calc(1.875rem * var(--contact-s));
    width: calc(50.375rem * var(--contact-s));
    max-width: calc(50.375rem * var(--contact-s));
    margin: 0;
    color: #b1b1b1;
    font-family: var(--font-heading);
    font-size: calc(1rem * var(--contact-s));
    font-weight: 400;
    line-height: 1.2;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .form-note a {
    color: inherit;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel > .button {
    position: absolute;
    top: calc(26.1875rem * var(--contact-s));
    left: calc(1.875rem * var(--contact-s));
    width: calc(22.5rem * var(--contact-s));
    min-height: calc(3.75rem * var(--contact-s));
    margin: 0;
    border-radius: calc(0.625rem * var(--contact-s));
    font-family: var(--font-ui);
    font-size: calc(1.125rem * var(--contact-s));
    font-weight: 500;
    line-height: normal;
    text-transform: none;
  }
}

@media (max-width: 64rem) {
  body:is([data-page="delivery"], [data-page="payment"]) .page-section#contact-request {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request {
    overflow: clip;
  }

  body[data-page="about"] .page-section#contact-request {
    padding-top: 0;
    padding-bottom: 6.25rem;
  }

  body:is([data-page="catalog"], [data-page="promotions"]) .page-section#contact-request {
    padding-top: 6.875rem;
    padding-bottom: 6.25rem;
  }

  body[data-page="catalog"] .page-section#contact-request {
    padding-top: 60.65px;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request > .container {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: 0;
    padding-left: 0;
  }

  body:is([data-page="news"], [data-page="news-article"]) #contact-request > .container {
    margin-right: 0;
    margin-left: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block {
    position: relative;
    display: block;
    width: 100vw;
    height: 40rem;
    min-height: 40rem;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #111111;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__image {
    position: absolute;
    top: -4.22%;
    left: -7.41%;
    display: block;
    width: 171.03%;
    max-width: none;
    height: 104.22%;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__content {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 12.8125rem;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__eyebrow {
    position: absolute;
    top: 1.875rem;
    left: 0.9375rem;
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
    text-transform: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__title {
    position: absolute;
    top: 3.75rem;
    left: 0.9375rem;
    width: calc(var(--container-mobile) - 2.0625rem);
    max-width: calc(var(--container-mobile) - 2.0625rem);
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.0625rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__copy {
    position: absolute;
    top: 7.875rem;
    left: 0.9375rem;
    width: var(--container-mobile);
    max-width: var(--container-mobile);
    margin: 0;
    color: #e9e6e6;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block::before {
    content: "";
    position: absolute;
    top: 12.8125rem;
    left: 0.9375rem;
    width: var(--container-mobile);
    height: 0.0625rem;
    background: rgba(233, 230, 230, 0.8);
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel {
    position: absolute;
    top: 14.6875rem;
    left: 0.9375rem;
    display: block;
    width: var(--container-mobile);
    height: 23.75rem;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel-title {
    display: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field {
    position: absolute;
    left: 0;
    width: var(--container-mobile);
    height: 3.75rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(1) {
    top: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(2) {
    top: 4.0625rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(3) {
    top: 12.1875rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .field:nth-of-type(4) {
    top: 8.125rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .input,
  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .textarea {
    width: 100%;
    height: 3.75rem;
    min-height: 0;
    padding: 1.5rem 1.25rem;
    border: 0;
    border-radius: 0.3125rem;
    background: #ffffff;
    color: #98938f;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .textarea {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .textarea {
    resize: none;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .form-note {
    position: absolute;
    top: 16.5625rem;
    left: 0;
    width: calc(var(--container-mobile) - 0.0625rem);
    max-width: calc(var(--container-mobile) - 0.0625rem);
    height: 2.8125rem;
    margin: 0;
    color: #e9e6e6;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1rem;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel .form-note a {
    color: #ff6c00;
  }

  body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) #contact-request .contact-block__panel > .button {
    position: absolute;
    top: 20.625rem;
    left: 0;
    width: var(--container-mobile);
    min-height: 3.125rem;
    margin: 0;
    border-radius: 0.3125rem;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    text-transform: none;
  }
}

@media (max-width: 64rem) {
  body[data-page="about"] .page-section#contact-request {
    margin-bottom: 6.25rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  body:is([data-page="catalog"], [data-page="promotions"]) .page-section#contact-request {
    margin-top: 6.875rem;
    margin-bottom: 6.25rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  body[data-page="catalog"] .page-section#contact-request {
    margin-top: 60.65px;
  }
}

@media (max-width: 64rem) {
  body:is([data-page="home"], [data-page="promotions"], [data-page="news"]) .page-section#contact-request,
  body[data-page="catalog"].page-category-product .page-section#contact-request {
    height: 40rem;
    min-height: 40rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  body[data-page="promotions"] section#contact-request.page-section--catalog-contact,
  body[data-page="catalog"].page-category-product section#contact-request.page-section--catalog-contact {
    padding-top: 0;
    padding-bottom: 0;
  }

  body:is([data-page="home"], [data-page="promotions"], [data-page="news"]) #contact-request > .container,
  body[data-page="catalog"].page-category-product #contact-request > .container {
    height: 40rem;
    min-height: 40rem;
  }
}


/* Final certificate sizing guard after page imports. */
body[data-page="home"] .certificate-grid[data-certificate-track],
body[data-page="about"] .certificate-grid[data-certificate-track] {
  height: auto;
  min-height: 0;
  align-items: flex-start;
}

body[data-page="home"] .certificate-grid[data-certificate-track] .certificate-card,
body[data-page="about"] .certificate-grid[data-certificate-track] .certificate-card,
body[data-page="home"] .certificate-card,
body[data-page="about"] .certificate-card {
  height: auto;
  min-height: 0;
  align-self: flex-start;
  grid-template-rows: auto;
}

body[data-page="home"] .certificate-card__media,
body[data-page="home"] .certificate-card__media img,
body[data-page="about"] .certificate-card__media,
body[data-page="about"] .certificate-card__media img {
  height: auto;
  max-height: none;
}

body[data-page="home"] .certificate-card__media img,
body[data-page="about"] .certificate-card__media img {
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* system-cleanup-20260523 */

@media (min-width: 48rem) {
  html body .site-shell main .catalog-card-grid,
  html body .site-shell main .category-card-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card {
    position: relative;
    min-height: 22.8125rem;
    height: 22.8125rem;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    gap: 1rem;
    overflow: hidden;
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card--wide,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card--wide {
    grid-column: span 6;
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card:not(.category-card--wide),
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card:not(.category-card--wide) {
    grid-column: span 3;
  }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card--wide,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card--wide {
    grid-column: span 12;
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card:not(.category-card--wide),
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card:not(.category-card--wide) {
    grid-column: span 6;
  }
}

@media (max-width: 47.999rem) {
  html body .site-shell main .catalog-card-grid,
  html body .site-shell main .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card {
    position: relative;
    grid-column: span 1;
    min-height: 17rem;
    overflow: hidden;
  }

  html body[data-page="catalog"] main.page-main .catalog-card-grid:not(.search-state__grid) > .category-card.category-card--wide,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card--wide {
    grid-column: 1 / -1;
  }
}

/* pixel-pass-3: cart empty desktop, Figma node 162:3692 */
@media (min-width: 48rem) {
  html body[data-page="cart"] main.page-main > .container > .section-divider {
    transform: translateY(-31px);
    width: 1860px;
    max-width: calc(100vw - 60px);
  }

  html body[data-page="cart"] .cart-empty-state {
    position: relative;
    display: block;
    width: 1860px;
    max-width: calc(100vw - 60px);
    min-height: 464px;
    margin: -31px auto 0;
    padding: 0;
    text-align: center;
  }

  html body[data-page="cart"] .cart-empty-state__icon {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 124px;
    height: 129px;
    transform: translateX(-50%);
  }

  html body[data-page="cart"] .cart-empty-state__title {
    position: absolute;
    top: 181px;
    left: 50%;
    width: 718px;
    margin: 0;
    transform: translateX(-50%);
    font-size: 62px;
    line-height: 74.4px;
    font-weight: 400;
    letter-spacing: -1.24px;
  }

  html body[data-page="cart"] .cart-empty-state__copy {
    position: absolute;
    top: 316px;
    left: 50%;
    width: 380px;
    margin: 0;
    transform: translateX(-50%);
    color: #e9e6e6;
    font-size: 18px;
    line-height: 25.2px;
    font-weight: 500;
  }

  html body[data-page="cart"] .cart-empty-state > .button {
    position: absolute;
    top: 404px;
    left: 50%;
    width: 450px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    margin: 0;
    padding: 0 43px;
    transform: translateX(-50%);
    border-radius: 5px;
    font-size: 18px;
    line-height: 60px;
    font-weight: 500;
  }
}

html body .site-shell .product-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

html body .site-shell .product-grid > .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 33.125rem;
  position: relative;
}

html body .site-shell .product-card__media {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 354 / 231;
  flex: 0 0 auto;
  margin: 0;
}

html body .site-shell .product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: .75rem .5625rem .5625rem;
}

html body .site-shell .product-card__title {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 3.575rem;
  max-height: 3.575rem;
  padding: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

html body .site-shell .product-card__price-wrap {
  position: relative;
  inset: auto;
  margin-top: auto;
  padding: 0;
}

html body .site-shell .product-card__actions {
  position: relative;
  inset: auto;
  display: grid;
  width: auto;
  margin-top: .625rem;
}

html body .site-shell .search-empty-state {
  padding: 1.5rem;
}

html body .site-shell .search-row__form {
  display: block;
  width: 100%;
}

html body .site-shell .search-row__form .input {
  width: 100%;
}

@media (max-width: 47.999rem) {
  html body .site-shell .product-grid > .product-card {
    min-height: 12.1875rem;
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "media title" "media price" "media spacer" "actions actions";
    gap: .375rem .75rem;
  }

  html body .site-shell .product-card__media {
    grid-area: media;
    aspect-ratio: 1 / 1;
  }

  html body .site-shell .product-card__title {
    grid-area: title;
    min-height: 2.625rem;
    max-height: 2.625rem;
  }

  html body .site-shell .product-card__price-wrap {
    grid-area: price;
  }

  html body .site-shell .product-card__actions {
    grid-area: actions;
  }
}

/* category-product: remove top divider above product rows */
body[data-page="catalog"].page-category-product .service-shell .product-list {
  border-top: 0;
}


@media (min-width: 64rem) {
  body:is([data-page="home"],[data-page="news"]) .news-grid.news-grid--home,
  body:is([data-page="home"],[data-page="news"]) .news-grid.news-grid--home:where(:not(.is-empty)) {
    background-image: url("/static/images/figma/Frame%201321317898.png");
    background-repeat: repeat;
    background-position: left top;
  }
  body:is([data-page="home"],[data-page="news"]) .news-grid.news-grid--home,
  body:is([data-page="home"],[data-page="news"]) .news-grid.news-grid--home *,
  body:is([data-page="home"],[data-page="news"]) .page-section--news-feed .container.page-template,
  body:is([data-page="home"],[data-page="news"]) .page-section--home-news .container.page-template {
    --broken-news-grid-bg: none;
  }
  body:is([data-page="home"],[data-page="news"]) .page-section--news-feed .container.page-template,
  body:is([data-page="home"],[data-page="news"]) .page-section--home-news .container.page-template {
    background-image: none;
  }
  body[data-page="news"] .news-grid.news-grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    align-content: start;
    min-height: calc(156.75rem * var(--desktop-viewport-scale, 1));
  }
  body[data-page="news"] .news-grid.news-grid--home .news-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  body[data-page="news"] .news-grid.news-grid--home .news-card:nth-child(2) { grid-column: 3; grid-row: 1; }
  body[data-page="news"] .news-grid.news-grid--home .news-card:nth-child(3) { grid-column: 4; grid-row: 1; }
  body[data-page="news"] .news-grid.news-grid--home .news-card:nth-child(4) { grid-column: 1; grid-row: 2; }
  body[data-page="news"] .news-grid.news-grid--home .news-card:nth-child(5) { grid-column: 2; grid-row: 2; }

  body[data-page="news"] .page-section--news-feed .section-actions {
    margin-bottom: calc(1rem * var(--desktop-viewport-scale, 1));
  }
}

@media (min-width: 64.001rem) {
  body:is([data-page="home"],[data-page="about"]) .page-section:has(.certificate-grid) {
    --certificates-desktop-scale: var(--desktop-viewport-scale, 1);
  }

  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card {
    position: relative;
    width: calc(28.125rem * var(--certificates-desktop-scale));
    min-width: calc(28.125rem * var(--certificates-desktop-scale));
    height: calc(38.5625rem * var(--certificates-desktop-scale));
    min-height: calc(38.5625rem * var(--certificates-desktop-scale));
    max-height: calc(38.5625rem * var(--certificates-desktop-scale));
    align-self: start;
    overflow: hidden;
  }

  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card__media,
  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card__media img {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card--with-caption,
  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card--with-caption .certificate-card__media--contain {
    height: calc(38.5625rem * var(--certificates-desktop-scale));
    min-height: calc(38.5625rem * var(--certificates-desktop-scale));
    max-height: calc(38.5625rem * var(--certificates-desktop-scale));
  }

  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card--with-caption .certificate-card__media--contain img {
    position: absolute;
    top: calc(9.75rem * var(--certificates-desktop-scale));
    left: calc(4.6875rem * var(--certificates-desktop-scale));
    width: calc(18.75rem * var(--certificates-desktop-scale));
    height: calc(14.5625rem * var(--certificates-desktop-scale));
    object-fit: contain;
  }

  body:is([data-page="home"],[data-page="about"]) .certificate-grid[data-certificate-track] .certificate-card--with-caption .certificate-card__title {
    position: absolute;
    top: calc(25.6875rem * var(--certificates-desktop-scale));
    left: calc(5.5rem * var(--certificates-desktop-scale));
    width: calc(17.125rem * var(--certificates-desktop-scale));
    height: calc(3rem * var(--certificates-desktop-scale));
  }
}

.auth-panel,
.account-panel,
.search-empty-state {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  padding: 2rem;
}
.auth-panel .button,
.auth-panel .button-outline {
  width: fit-content;
}


/* empty cart: Figma-aligned state, data remains CMS/session driven */
body[data-page="cart"][data-cart-state="empty"] .page-section--flush-top .page-template {
  display: block;
}
.cart-empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--color-text, #f5f5f5);
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3.75rem);
}
.cart-empty-state__icon {
  width: clamp(4rem, 6vw, 6rem);
  height: clamp(4rem, 6vw, 6rem);
  color: #d7dde4;
  margin-bottom: 1rem;
}
.cart-empty-state__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.625rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0;
}
.cart-empty-state__copy {
  margin: .75rem 0 1.5rem;
  max-width: 24rem;
  font-size: .875rem;
  line-height: 1.35;
  color: rgba(255,255,255,.72);
}
.cart-empty-state .button {
  min-width: clamp(11.5rem, 17vw, 19rem);
  justify-content: center;
}
.cart-recently {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}
.cart-recently .section-heading {
  margin-bottom: 1.25rem;
}
body[data-page="cart"] .cart-recently .section-heading__title {
  font-size: clamp(2rem, 3.2vw, 3.75rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
}
@media (max-width: 47.99rem) {
  .cart-empty-state {
    padding-top: 1.5rem;
  }
  .cart-empty-state__title {
    font-size: 1.25rem;
  }
  .cart-empty-state__copy {
    font-size: .75rem;
  }
  .cart-empty-state .button {
    width: 100%;
    min-width: 0;
  }
body[data-page="cart"] .cart-recently .section-heading__title {
    font-size: 1.25rem;
  }
}

/* Base form consent checkbox. */
html body .form-note {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: .625rem;
  align-items: start;
}
html body .form-note__control {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: .0625rem 0 0;
  border: 1px solid currentColor;
  border-radius: .125rem;
  background: transparent;
  position: relative;
}
html body .form-note__control::after {
  content: "";
  position: absolute;
  left: .3125rem;
  top: .125rem;
  width: .25rem;
  height: .5rem;
  border-right: .125rem solid #fff;
  border-bottom: .125rem solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
}
html body .form-note__control:checked {
  border-color: #ff6c00;
  background: #ff6c00;
}
html body .form-note__control:checked::after {
  transform: rotate(45deg) scale(1);
}
html body .form-note__text {
  min-width: 0;
}

/* Clickable UI states. */
html body .service-sidebar__filter-toggle,
html body [data-filter-open],
html body [data-overlay-open],
html body .review-tab,
html body .process-step,
html body .certificate-slider-controls__button {
  cursor: pointer;
}
html body .review-tab.is-active {
  color: #fff;
  border-color: #ff6c00;
  background: #ff6c00;
}
html body .cart-empty-state__title {
  white-space: normal;
}

/* Category/product sidebar: fix broken chevron glyph and list spacing. */
html body .service-sidebar__chevron::before {
  content: "\203A";
}

html body .service-sidebar__category-list {
  padding-top: 1.25rem;
}

/* Empty product list: CTA must not inherit full content width. */
html body .product-list-empty-state > .button {
  width: min(100%, 28.125rem);
  max-width: 28.125rem;
  justify-self: center;
}

/* frontend-pdf-pass: hide empty review image placeholders without missing asset noise */
html body img[data-review-product-image]:not([src]),
html body img[data-review-product-image][src=""] {
  display: none;
}

/* frontend-pdf-pass: align city selector to the header location icon */
@media (min-width: 64.001rem) {
  html body .overlay[data-overlay="city-selector"] {
    pointer-events: none;
  }

  html body .overlay[data-overlay="city-selector"] .overlay__backdrop {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  html body .overlay[data-overlay="city-selector"] .overlay__frame {
    pointer-events: none;
  }

  html body .overlay[data-overlay="city-selector"] .city-selector {
    position: fixed;
    top: 6.25rem;
    right: calc((100vw - var(--container, 116.25rem)) / 2 + 18.75rem);
    left: auto;
    pointer-events: auto;
  }

  html body .overlay[data-overlay="notification"] {
    pointer-events: none;
  }

  html body .overlay[data-overlay="notification"] .overlay__frame {
    pointer-events: none;
  }

  html body .overlay[data-overlay="notification"] .notification-card {
    position: fixed;
    top: 6.25rem;
    right: calc((100vw - var(--container, 116.25rem)) / 2 + 17.5625rem);
    left: auto;
    pointer-events: auto;
  }
}

/* pixel-pass-3: cart empty mobile, Figma node 191:3776 */
@media (max-width: 47.999rem) {
  html body[data-page="cart"] main.page-main > .container > .section-divider {
    transform: translateY(-51px);
    width: 360px;
    max-width: calc(100vw - 30px);
  }

  html body[data-page="cart"] .cart-empty-state {
    position: relative;
    display: block;
    width: 360px;
    max-width: calc(100vw - 30px);
    min-height: 383px;
    margin: -122px auto 0;
    padding: 0;
    text-align: center;
  }

  html body[data-page="cart"] .cart-empty-state__icon {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 135px;
    height: 141px;
    transform: translateX(-50%);
  }

  html body[data-page="cart"] .cart-empty-state__title {
    position: absolute;
    top: 196px;
    left: 50%;
    width: 270px;
    margin: 0;
    transform: translateX(-50%);
    font-size: 23px;
    line-height: 27.6px;
    font-weight: 400;
    letter-spacing: -0.46px;
  }

  html body[data-page="cart"] .cart-empty-state__copy {
    position: absolute;
    top: 270px;
    left: 50%;
    width: 331px;
    margin: 0;
    transform: translateX(-50%);
    color: #e9e6e6;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
  }

  html body[data-page="cart"] .cart-empty-state > .button {
    position: absolute;
    top: 333px;
    left: 50%;
    width: 360px;
    max-width: calc(100vw - 30px);
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    margin: 0;
    padding: 0 43px;
    transform: translateX(-50%);
    border-radius: 5px;
    font-size: 16px;
    line-height: 50px;
    font-weight: 500;
  }
}

/* News/articles: design gaps, patterned backing and orange hover. */
html body:is([data-page="home"], [data-page="news"]) .news-grid.news-grid--home {
  background-image: url("/static/images/figma/Frame%201321317898.png");
  background-repeat: repeat;
  background-position: left top;
}

html body .news-card,
html body [class*="article-card"] {
  overflow: hidden;
  border-color: rgba(255,255,255,.2);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  html body .news-card:hover,
  html body [class*="article-card"]:hover {
    background: #ff6c00;
    border-color: #ff6c00;
    color: #fff;
  }

  html body .news-card:hover *,
  html body [class*="article-card"]:hover * {
    color: #fff;
  }
}

/* Delivery/payment visual states from PDF: orange numbers and stable hover. */
html body .delivery-section__title,
html body .payment-section__title {
  color: #fff;
  font-family: "Avalda Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 103%;
}

html body .delivery-card__num,
html body .payment-card__num {
  color: #ff6c00;
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 90%;
}

html body .delivery-card.is-active .delivery-card__num,
html body .payment-card.is-active .payment-card__num {
  color: #fff;
}

html body .delivery-card__title,
html body .payment-card__title {
  color: #fff;
  font-family: Raleway, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

html body .delivery-section__mark,
html body .delivery-card__corner,
html body .payment-card__corner {
  color: #ff6c00;
}

html body .delivery-card,
html body .payment-card {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  html body .delivery-card:hover,
  html body .payment-card:hover {
    background: #ff6c00;
    border-color: #ff6c00;
    color: #fff;
  }

  html body .delivery-card:hover :where(.delivery-card__num, .delivery-card__title, .delivery-card__corner),
  html body .payment-card:hover :where(.payment-card__num, .payment-card__title, .payment-card__corner) {
    color: #fff;
  }

  html body .delivery-card:hover .delivery-card__icon-img,
  html body .payment-card:hover .delivery-card__icon-img {
    opacity: 1;
    filter: brightness(0) invert(1);
  }
}

/* Delivery/payment desktop: align hero pills, media, cards and footer rhythm to Figma. */
@media (min-width: 64.001rem) {
  html body:is([data-page="delivery"], [data-page="payment"]) main.page-main {
    padding-bottom: 10rem;
  }

  html body:is([data-page="delivery"], [data-page="payment"]) .page-hero__tags > .button,
  html body:is([data-page="delivery"], [data-page="payment"]) .page-hero__tags > .button-outline {
    min-height: 2.8125rem;
    height: 2.8125rem;
    padding: 0 2.6875rem;
    border-radius: 2.5rem;
  }

  html body[data-page="delivery"] .page-hero__tags {
    position: relative;
    top: -2.1875rem;
  }

  html body[data-page="payment"] .page-hero__tags {
    position: relative;
    top: -2.0625rem;
  }

  html body[data-page="delivery"] .page-hero__media {
    margin-top: .9375rem;
  }

  html body[data-page="payment"] .page-hero__media {
    margin-top: 1.0625rem;
  }

  html body:is([data-page="delivery"], [data-page="payment"]) .delivery-section__divider {
    position: relative;
    top: -1.125rem;
  }

  html body:is([data-page="delivery"], [data-page="payment"]) .delivery-cards {
    margin-top: -.8125rem;
  }

  html body:is([data-page="delivery"], [data-page="payment"]) main.page-main > .page-section:has(.delivery-section) {
    padding-top: 3.125rem;
  }

  html body[data-page="delivery"] .delivery-section__heading {
    margin-top: 6.875rem;
  }

  html body[data-page="payment"] .delivery-section__heading {
    margin-top: 7.875rem;
  }

  html body[data-page="delivery"] .page-hero__tags {
    gap: .6875rem;
  }

  html body[data-page="payment"] .page-hero__tags {
    gap: .8125rem;
  }

  html body[data-page="delivery"] .page-hero__tags > .button {
    width: 10.5625rem;
  }

  html body[data-page="delivery"] .page-hero__tags > .button-outline {
    width: 9.25rem;
  }

  html body[data-page="payment"] .page-hero__tags > .button {
    width: 9.25rem;
  }

  html body[data-page="payment"] .page-hero__tags > .button-outline {
    width: 10.5625rem;
  }

  html body[data-page="delivery"] .delivery-panel {
    min-height: 22.8125rem;
  }

  html body[data-page="delivery"] .delivery-panel > .button-outline {
    width: 11.375rem;
    height: 2.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2.5rem;
    border: 0;
    background: #ff6c00;
    color: #fff;
    font-family: Raleway, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
  }

  html body[data-page="delivery"] .delivery-panel > .button-outline:hover,
  html body[data-page="delivery"] .delivery-panel > .button-outline:focus-visible {
    border: 0;
    background: #ff6c00;
    color: #fff;
    transform: none;
  }

  html body[data-page="payment"] main.page-main > .page-section:has(.delivery-section) {
    padding-bottom: 10rem;
  }
}

/* Footer/contact form: privacy link remains readable in every state. */
html body .form-note a,
html body .form-note a:hover,
html body .form-note a:focus-visible {
  color: #b1b1b1;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: .12em;
}

/* Product and search cards: equal height, price/actions aligned. */
html body .site-shell .product-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

html body .site-shell .product-grid > .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

html body .site-shell .product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

html body .site-shell .product-card__title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

html body .site-shell .product-card__price-wrap {
  margin-top: auto;
}

html body .site-shell .product-card__actions {
  margin-top: .625rem;
}

/* Catalog/category ornamental lines and extra separators. */
body[data-page="catalog"].page-category-product .service-shell .product-list {
  border-top: 0;
}

html body .section-divider span {
  background-color: #ff6c00;
}

/* final-main-pdf-pass: Firefox desktop variable fallback. */
@-moz-document url-prefix() {
  @media (min-width: 64.001rem) {
    :root {
      --desktop-viewport-scale: 1;
      --container-gutter: 30px;
      --container: min(var(--container-max), calc(100% - 60px));
      --container-page: min(var(--container-page-max), calc(100% - 60px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 106.6875rem) {
    :root {
      --desktop-viewport-scale: .8890625;
      --container-gutter: 26.671875px;
      --container: min(var(--container-max), calc(100% - 53.34375px));
      --container-page: min(var(--container-page-max), calc(100% - 53.34375px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 100rem) {
    :root {
      --desktop-viewport-scale: .8333333333;
      --container-gutter: 25px;
      --container: min(var(--container-max), calc(100% - 50px));
      --container-page: min(var(--container-page-max), calc(100% - 50px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 96rem) {
    :root {
      --desktop-viewport-scale: .8;
      --container-gutter: 24px;
      --container: min(var(--container-max), calc(100% - 48px));
      --container-page: min(var(--container-page-max), calc(100% - 48px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 90rem) {
    :root {
      --desktop-viewport-scale: .75;
      --container-gutter: 22.5px;
      --container: min(var(--container-max), calc(100% - 45px));
      --container-page: min(var(--container-page-max), calc(100% - 45px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 87.25rem) {
    :root {
      --desktop-viewport-scale: .7270833333;
      --container-gutter: 21.8125px;
      --container: min(var(--container-max), calc(100% - 43.625px));
      --container-page: min(var(--container-page-max), calc(100% - 43.625px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 85.375rem) {
    :root {
      --desktop-viewport-scale: .7114583333;
      --container-gutter: 21.34375px;
      --container: min(var(--container-max), calc(100% - 42.6875px));
      --container-page: min(var(--container-page-max), calc(100% - 42.6875px));
    }
  }

  @media (min-width: 64.001rem) and (max-width: 80rem) {
    :root {
      --desktop-viewport-scale: .6666666667;
      --container-gutter: 20px;
      --container: min(var(--container-max), calc(100% - 40px));
      --container-page: min(var(--container-page-max), calc(100% - 40px));
    }
  }
}

/* Desktop content frame alignment. */
@media (min-width: 64.001rem) {
  html body {
    --layout-gutter-x: calc(1.875rem * var(--desktop-viewport-scale, 1));
    --layout-left-x: max(var(--layout-gutter-x), calc((100vw - 116.25rem) / 2));
    --layout-width-x: min(116.25rem, calc(100vw - (var(--layout-gutter-x) * 2)));
  }

  html body main.page-main > .page-section:not(.page-section--compact) > .container,
  html body #contact-request > .container,
  html body .footer > .container {
    width: var(--layout-width-x);
    max-width: var(--layout-width-x);
    margin-left: var(--layout-left-x);
    margin-right: 0;
  }

  html body[data-page="home"] .home-hero__grid {
    width: var(--layout-width-x);
    max-width: var(--layout-width-x);
    margin-left: var(--layout-left-x);
    margin-right: 0;
  }
}

/* Desktop header and hero grid alignment. */
@media (min-width: 64.001rem) {
  html body:not([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"]) .site-header__bar {
    width: var(--layout-width-x);
    max-width: var(--layout-width-x);
    margin-left: var(--layout-left-x);
    margin-right: 0;
  }

  html body .site-header__nav {
    margin-left: 3.0625rem;
    margin-right: 0;
  }

  html body .site-header__actions {
    margin-left: auto;
  }

  html body .site-header__cta.button {
    margin-left: 0.9375rem;
  }

  @media (max-width: 80rem) {
    html body .site-header__cta.button {
      padding-inline: 1.25rem;
    }
  }

  html body[data-page="home"] .home-hero__grid {
    width: var(--layout-width-x);
    max-width: var(--layout-width-x);
    margin-left: var(--layout-left-x);
    margin-right: 0;
    height: 100%;
    min-height: inherit;
    padding: 1.875rem 0 clamp(4.5rem, 12vh, 8rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 40.5rem);
    gap: clamp(2rem, 6.5vw, 12.5rem);
    align-items: end;
    position: relative;
    z-index: 1;
  }

  html body[data-page="home"] .page-section--compact > .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  html body[data-page="home"] .home-hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  html body[data-page="home"] .home-hero__content {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    display: grid;
  }

  html body[data-page="home"] .home-hero__title {
    width: auto;
    max-width: 55rem;
    font-size: clamp(3rem, 3.8vw, 4.85rem);
    line-height: .9;
    letter-spacing: -.02em;
  }

  html body[data-page="home"] .home-hero__aside {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    display: grid;
    justify-items: stretch;
    gap: 1rem;
  }

  html body[data-page="home"] .home-hero__subtitle {
    width: auto;
    max-width: 40.5rem;
    font-size: 1.375rem;
    line-height: 1.3;
  }

  html body[data-page="home"] .home-hero__aside .button {
    width: 100%;
    min-height: 3.9375rem;
    height: auto;
  }

  html body:is([data-page="news"], [data-page="news-article"], [data-page="delivery"], [data-page="payment"]) .page-main > .page-section > .container {
    width: var(--layout-width-x);
    max-width: var(--layout-width-x);
    margin-left: var(--layout-left-x);
    margin-right: 0;
  }

  html body:is([data-page="news"], [data-page="news-article"], [data-page="delivery"], [data-page="payment"], [data-page="cart"]) main.page-main > .page-section:first-child {
    margin-top: 30px;
  }

  html body:is([data-page="home"], [data-page="catalog"], [data-page="about"], [data-page="promotions"], [data-page="delivery"], [data-page="payment"], [data-page="news"], [data-page="news-article"]) main.page-main {
    padding-bottom: 0;
  }

  html body:is([data-page="news"], [data-page="news-article"]) #contact-request {
    padding-top: 0;
    padding-bottom: 10rem;
  }
}

/* final-main-pdf-pass: Firefox restores inner page content gutters. */
@-moz-document url-prefix() {
  @media (min-width: 64.001rem) {
    html body main.page-main > .page-section > .container,
    html body main.page-main .page-template,
    html body #contact-request > .container {
      width: var(--layout-width-x);
      max-width: var(--layout-width-x);
      margin-left: var(--layout-left-x);
      margin-right: 0;
    }

    html body[data-page="home"] main.page-main > .page-section.page-section--compact > .container {
      width: 100%;
      max-width: none;
      margin-left: 0;
      margin-right: 0;
    }

    html body[data-page="home"] .home-hero__grid {
      width: var(--layout-width-x);
      max-width: var(--layout-width-x);
      margin-left: var(--layout-left-x);
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }

    html body[data-page="home"] .home-hero {
      width: 100%;
      max-width: none;
      margin-left: 0;
      margin-right: 0;
    }
  }
}

/* final-main-pdf-pass: section pills and muted labels use the Figma gray. */
html body .section-tag,
html body .section-heading__tag,
html body .section-heading__aside,
html body .button-ghost,
html body .button-outline {
  color: #cbd2d9;
}

html body .section-tag,
html body .section-heading__tag,
html body .button-ghost,
html body .button-outline {
  border-color: #cbd2d9;
}

/* final-main-pdf-pass: consent line keeps checkbox, width and link styling. */
@media (min-width: 64.001rem) {
  html body #contact-request .contact-block__panel .form-note {
    padding-left: 0;
    grid-template-columns: calc(.75rem * var(--desktop-viewport-scale, 1)) minmax(0, 1fr);
    column-gap: calc(.875rem * var(--desktop-viewport-scale, 1));
    color: #b1b1b1;
    font-size: calc(1rem * var(--desktop-viewport-scale, 1));
    line-height: 1.2;
  }

  html body #contact-request .contact-block__panel .form-note__control {
    width: calc(.75rem * var(--desktop-viewport-scale, 1));
    height: calc(.75rem * var(--desktop-viewport-scale, 1));
    margin-top: .14em;
    border-color: #ff6c00;
    background: transparent;
  }

  html body #contact-request .contact-block__panel .form-note__control:checked {
    border-color: #ff6c00;
    background: #ff6c00;
  }

  html body #contact-request .contact-block__panel .form-note a,
  html body #contact-request .contact-block__panel .form-note a:hover,
  html body #contact-request .contact-block__panel .form-note a:focus-visible {
    color: #b1b1b1;
    text-decoration: underline;
    text-underline-offset: .12em;
  }
}

/* final-main-pdf-pass: process cards keep image padding from Figma. */
@media (min-width: 64.001rem) {
  html body .page-section--home-process .process-panel__media {
    padding: 0;
    background: #ff6c00;
    box-sizing: border-box;
  }

  html body .page-section--home-process .process-panel__media-picture,
  html body .page-section--home-process .process-panel__media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* final-main-pdf-pass: footer geometry, contact typography and legal strip. */
@media (min-width: 64.001rem) {
  html body .footer {
    padding-bottom: 0;
  }

  html body .footer__panel {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 20px;
    height: 420px;
    min-height: 420px;
    margin-top: 67px;
  }

  html body .footer__card,
  html body .footer__nav--desktop {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  html body .footer__map,
  html body .footer__map img {
    height: 700px;
    min-height: 700px;
    max-height: 700px;
  }

  html body .footer__map img {
    object-fit: cover;
  }

  html body .footer .footer-brand,
  html body .footer .footer-brand__logo {
    width: 124px;
    height: 37px;
  }

  html body .footer .footer-brand__logo {
    object-fit: contain;
  }

  html body .footer__contact-row:nth-child(3) .stack-sm {
    gap: 15px;
    transform: translateY(4px);
  }

  html body .footer__meta--desktop {
    height: 266px;
    min-height: 266px;
    max-height: 266px;
    margin-top: 20px;
  }
}

html body .footer__card-title,
html body .footer__nav-group:first-child .footer__nav-title,
html body .footer__social-title,
html body .footer__meta-title {
  color: #fff;
}

html body .footer__nav-group:nth-child(2) .footer__nav-title {
  color: #d9d9d9;
}

html body .footer__card-title,
html body .footer__nav-title {
  font-family: "Avalda Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

html body .footer__card-title {
  line-height: 139%;
}

html body .footer__nav-title {
  line-height: 107%;
}

html body .footer__contact-row:first-child > div:not(.footer__card-title) {
  color: #878787;
  font-family: "Avalda Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
}

html body .footer__contact-row:nth-child(2) > div:not(.footer__card-title) {
  color: #878787;
  font-family: "Avalda Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 119%;
}

html body .footer__contact-row .icon-text-link {
  color: #fff;
  font-family: "Avalda Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 107%;
}

html body .footer__nav-list a,
html body .footer__mobile-list a,
html body .footer__meta-copy,
html body .footer__meta-legal,
html body .footer__meta-link {
  color: #878787;
}

html body .footer__meta-side {
  color: #fff;
}

html body .footer__meta-link {
  text-decoration: underline;
  text-underline-offset: .18em;
}

html body .footer__meta {
  box-shadow: inset 0 -10px 20px rgba(255,108,0,.18);
}

/* Delivery/payment final footer gap: this must stay after main-page padding resets. */
@media (min-width: 64.001rem) {
  html body[data-page="home"] .page-section.page-section--home-process {
    margin-top: calc(15.875rem * var(--desktop-viewport-scale, 1));
  }

  html body:is([data-page="delivery"], [data-page="payment"]) main.page-main {
    padding-bottom: 10rem;
  }
}

/* final-zoom-link-stability: home category grid only; link wrapping is defined once above. */
@media (min-width: 64.001rem) and (max-width: 80rem) {
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card--wide,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card:not(.category-card--wide) {
    grid-column: span 6;
  }
}

@media (max-width: 64rem) {
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card--wide,
  html body[data-page="home"] main.page-main .page-section.page-section--home-catalog .category-card-grid > .category-card.category-card:not(.category-card--wide) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 20rem) {
  html,
  html body,
  html body .site-shell,
  html body .page-main,
  html body .page-section {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Firefox does not resolve the tablet process scale formula that uses CSS division. */
@-moz-document url-prefix() {
  @media (min-width: 48rem) and (max-width: 64rem) {
    html body:is([data-page="home"], [data-page="about"]) .page-section--home-process .process-panel {
      --process-desktop-copy-width: 39.373970346%;
      --process-desktop-action-width: 25.370675453%;
      --process-desktop-action-height: 9.2334494774%;
      --process-desktop-media-top: -5.4006968641%;
      --process-desktop-media-left: 53.7891268534%;
      --process-desktop-media-width: 68.2866556837%;
      --process-desktop-media-height: 85.1916376307%;
    }
  }

  @media (min-width: 48rem) and (max-width: 54rem) {
    html body:is([data-page="home"], [data-page="about"]) .page-section--home-process {
      --process-tablet-scale: 0.6079077421;
      --process-stage-scale: 0.6079077421;
    }
  }

  @media (min-width: 54.001rem) and (max-width: 60rem) {
    html body:is([data-page="home"], [data-page="about"]) .page-section--home-process {
      --process-tablet-scale: 0.7166387;
      --process-stage-scale: 0.7166387;
    }
  }

  @media (min-width: 60.001rem) and (max-width: 64rem) {
    html body:is([data-page="home"], [data-page="about"]) .page-section--home-process {
      --process-tablet-scale: 0.8187819934;
      --process-stage-scale: 0.8187819934;
    }
  }
}
