/* Cart, search, 404, blog, article, plain pages and collections list: the clone's type, buttons, fields and cards. */

#MainContent:is([data-template="cart"], [data-template="search"], [data-template="404"], [data-template="blog"], [data-template="article"], [data-template="page"], [data-template="list-collections"]) {
  --card-corner-radius: 0;
  --media-radius: 0;
  --text-boxes-radius: 0;
  --text-boxes-shadow-opacity: 0;
  --buttons-radius: 30px;
  --buttons-radius-outset: 30px;
  --buttons-shadow-opacity: 0;
  color: #000;
  font-family: var(--tf-sans);

  & :is(h1, h2, h3, h4, .h0, .h1, .h2, .h3, .h4, .title, .title--primary, .page-title, .main-page-title) {
    color: #000;
    font-family: var(--tf-sans);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    margin-top: 0;
    text-transform: none;
  }

  & :is(p, li, td, th, label, .rte, .caption-with-letter-spacing, .caption-large, .text-body) {
    color: #000;
    font-family: var(--tf-sans);
    letter-spacing: 0;
    text-transform: none;
  }

  & a:not(.button) {
    color: #000;
    text-decoration: none;
  }

  & .rte a,
  & .underlined-link {
    border-bottom: 1px solid currentColor;
    text-decoration: none;
  }

  & .button {
    background: #000;
    border: 2px solid #000;
    border-radius: 30px;
    box-shadow: none;
    color: #fff;
    font-family: var(--tf-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    min-height: 44px;
    padding: 9px 25px;
    text-decoration: none;
    text-transform: none;
  }

  & .button::after {
    display: none;
  }

  & .button:hover,
  & .button:focus-visible {
    background: var(--tf-lilac);
    border-color: #000;
    color: #000;
  }

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

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

  & :is(.field__input, .search__input, .select__select, select, input:not([type="checkbox"]):not([type="radio"]):not([type="submit"])) {
    background: transparent;
    border: 1px solid #000;
    border-radius: 30px;
    box-shadow: none;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    min-height: 44px;
  }

  & textarea {
    background: transparent;
    border: 1px solid #000;
    border-radius: 20px;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    min-height: 140px;
    padding: 12px 18px;
  }

  & .card,
  & .card__inner,
  & .card-wrapper {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  & .card__media,
  & .cart-item__image-container {
    background: #f3f3f3;
    border-radius: 0;
  }

  & .card__heading,
  & .card__heading a {
    color: #000;
    font-family: var(--tf-sans);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0;
    text-decoration: none;
  }

  & .card__information {
    padding: 12px 0 0;
  }

  & .price {
    color: #000;
    font-size: 16px;
    line-height: 1.25;
    margin-top: 5px;
  }

  & .price s {
    margin-left: 5px;
    opacity: .55;
  }

  & .card__badge {
    background: var(--tf-lilac);
    border-radius: 15px 0 0 15px;
    font-size: 12px;
  }

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

  & .rte {
    font-size: 16px;
    line-height: 1.6;
  }

  & .rte p {
    margin: 0 0 16px;
  }

  & .rte h2 {
    font-size: 24px;
    line-height: 1.2;
    margin: 36px 0 16px;
  }

  & .rte h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin: 28px 0 12px;
  }

  & .main-page-title,
  & .template-404 .title {
    font-size: 40px;
    margin: 0 0 32px;
  }

  & .collection-list .card__heading {
    font-size: 18px;
  }

  & .template-search__header {
    padding: 40px 50px 24px;
  }

  & .product-count__text,
  & .facet-filters__label {
    font-size: 14px;
    font-weight: 400;
  }

  & .template-search__results .grid {
    --grid-desktop-horizontal-spacing: 6px;
    --grid-desktop-vertical-spacing: 6px;
    --grid-mobile-horizontal-spacing: 4px;
    --grid-mobile-vertical-spacing: 4px;
  }

  & .template-search--empty {
    padding: 80px 50px;
    text-align: center;
  }

  & .template-search--empty :is(h1, h2, .title) {
    font-size: 40px;
  }

  & .template-404 {
    padding: 120px 50px;
    text-align: center;
  }

  & .cart__warnings {
    padding: 60px 0;
    text-align: center;
  }

  & .cart__empty-text {
    font-size: 40px;
    margin: 0 0 24px;
  }

  & .cart__warnings .button {
    display: inline-flex;
  }

  & .cart-items th {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  & .cart-items td {
    border-bottom: 1px solid #eee;
  }

  & .cart-item__name {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  & .totals__subtotal,
  & .totals__subtotal-value {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
  }

  & .main-blog > .title--primary {
    font-size: 40px;
    margin-bottom: 40px;
  }

  & .article-card-wrapper .card__heading {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 12px;
  }

  & .article-template__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 24px;
    text-align: center;
  }

  & .article-template__content.rte {
    font-size: 18px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 680px;
  }

  & .article-template__content.rte h2 {
    font-size: 24px;
    margin: 40px 0 16px;
  }

  & .article-template__social-sharing {
    font-size: 14px;
  }
}
