/* Stock Dawn pages restyled to the clone (nz-source.css): type, buttons, fields, grid, gutters. */

:is(main[data-template="cart"], main[data-template="search"], main[data-template="404"], main[data-template="blog"], main[data-template="article"], main[data-template="list-collections"], main[data-template="page"]:has(.main-page-title)) {
  background: #fff;
  color: #000;
  font: 400 13px/1.5 'Roboto', Arial, sans-serif;
  letter-spacing: .03em;

  & [class*="color-scheme-"], & .gradient {
    background-color: #fff;
    background-image: none;
    color: #000;
  }

  & :is(h1, h2, h3, h4, h5, .h0, .h1, .h2, .h3, .h4, .h5, .title, .title--primary, .main-page-title) {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: none;
    color: #000;
  }

  & :is(h1, .title, .title--primary, .main-page-title, .cart__empty-text) {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  & .rte :is(h2, h3, h4) {
    font-size: 13px;
    line-height: 19.5px;
    margin: 24px 0 8px;
  }

  & :is(p, .rte, li) {
    color: #666;
  }

  & :is(.rte, .article-template__content) {
    font-size: 14px;
    line-height: 21px;
  }

  & a {
    color: #000;
    text-decoration: none;
  }

  & a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  & :focus-visible {
    outline: 2px solid #666;
    outline-offset: 4px;
  }

  & :is(.button, .cart__checkout-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    min-height: 43px;
    padding: 13px 24px;
    border: 1px solid #000;
    border-radius: 0;
    background: #000;
    color: #fff;
    font: 400 10px/15px 'Roboto', Arial, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
  }

  & :is(.button, .cart__checkout-button):hover {
    background: #fff;
    color: #000;
    text-decoration: none;
  }

  & :is(.button, .cart__checkout-button)::before,
  & :is(.button, .cart__checkout-button)::after {
    display: none;
  }

  & .button--secondary {
    background: #fff;
    color: #000;
  }

  & .button--secondary:hover {
    background: #000;
    color: #fff;
  }

  & :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]), textarea, select) {
    border: 0;
    border-bottom: 1px solid #dedede;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #000;
    font: 400 13px/1.5 'Roboto', Arial, sans-serif;
    letter-spacing: .03em;
  }

  & .field__input {
    padding-left: 0;
    padding-right: 0;
  }

  & .field__label {
    left: 0;
    color: #666;
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: none;
  }

  & .page-width {
    padding-left: 24px;
    padding-right: 24px;
  }

  @media (min-width: 768px) {
    & .page-width {
      padding-left: 40px;
      padding-right: 40px;
    }
  }

  @media (min-width: 1024px) {
    & .page-width {
      padding-left: 48px;
      padding-right: 48px;
    }
  }

  & .page-width--narrow {
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
  }

  & :is(.card__inner, .card__badge, .badge, .article-card__image-wrapper, .card__media) {
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }

  & :is(.card__inner.ratio, .collection-list .card__inner.ratio) {
    --ratio-percent: 133.33% !important;
  }

  & .card__heading {
    margin-top: 16px;
    font-size: 13px;
    line-height: 18.2px;
    color: #111;
  }

  & .price {
    margin-top: 2px;
    font-size: 13px;
    line-height: 19.5px;
    color: #000;
  }

  & .template-search--empty,
  & .cart__warnings,
  & .template-404 {
    text-align: center;
  }

  & .template-search--empty {
    padding: 96px 24px;
  }

  & .template-404 {
    padding: 96px 24px;
  }

  & .template-404 p,
  & .cart__warnings p {
    margin: 0 0 16px;
  }

  & :is(.template-404, .cart__warnings) .button {
    margin-top: 24px;
  }

  & .cart__warnings {
    padding-top: 96px;
  }

  & .article-card__excerpt {
    font-size: 13px;
    line-height: 19.5px;
    color: #666;
  }

  & .article-card__info {
    font-size: 11px;
    line-height: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #666;
  }

  & .blog-articles .card__heading {
    font-size: 14px;
    line-height: 21px;
  }

  & .article-template__title {
    font-size: 16px;
    line-height: 24px;
  }
}
