/* Shared tablet corrections for content pages and collection templates. */
@media (min-width: 768px) and (max-width: 1280px) {
  body:not(.home):not(.page-id-276) .kkcn-craft-hero {
    min-height: clamp(520px, 56svh, 680px);
  }
  body .kkcn-category-hero {
    min-height: clamp(500px, 56svh, 680px) !important;
    padding: 140px 24px 58px;
  }
  body .kkcn-category-hero .category-breadcrumb {
    top: 96px;
    left: 24px;
  }

  body:not(.home):not(.single-qing_product) .kkcn-custom {
    padding: clamp(56px, 6vw, 76px) clamp(24px, 4vw, 48px);
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-head.description-right {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    column-gap: clamp(32px, 5vw, 64px);
    align-items: end;
    margin-bottom: 40px;
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-heading {
    max-width: 620px;
    font-size: clamp(38px, 4.6vw, 50px);
    line-height: 1.1;
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-head.description-right .custom-intro {
    justify-self: end;
    width: 100%;
    max-width: 420px;
    margin: 0 0 4px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  body.page-id-276 .kkcn-craft-hero {
    min-height: clamp(520px, 56svh, 680px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body:not(.home):not(.single-qing_product) .kkcn-custom.has-accordion .custom-gallery,
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom.has-accordion .custom-card,
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-card {
    min-height: clamp(360px, 52vw, 480px);
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom.has-accordion .custom-card:not(.is-active) .custom-details {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-card-toggle:not([hidden]) {
    display: none;
  }
  body:not(.home):not(.single-qing_product) .kkcn-custom .custom-card-copy {
    padding: 22px;
  }
}