.itemFluid {
  flex: 0 0 auto;
  margin: auto 0 1%;
  box-sizing: border-box;
  position: relative;
  display: block;
}

.itemSquare {
  flex: 0 0 24%;
  margin: 0 1% 1% 0;

  @media screen and (width >= 1000px) {
    flex: 0 0 16%;
  }

  @media screen and (width >= 1440px) {
    flex: 0 0 13%;
  }

  position: relative;
  display: block;
  width: 100%;

  .inner {
    padding-bottom: 100%;
  }
}

.inner {
  border-radius: 2px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  &:hover {
    box-shadow: 0 2px 2px rgb(0 0 0 / 10%);

    .details {
      opacity: 1;
    }
  }
}

.details {
  align-items: flex-end;
  position: absolute;
  background: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 40%));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.detailsInner {
  margin-right: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.title {
  margin: 10px 15px;
  color: #fff;
}

.features {
  position: absolute;
  right: 8px;
  top: 10px;
  font-size: 12px;
  line-height: 12px;
  z-index: 7;
}

.featureImported,
.featureOther {
  box-sizing: border-box;
  pointer-events: none;
  text-transform: uppercase;
  background-color: #555;
  color: #f1f1f1;
  padding: 2px 4px;
  font-size: 11px;
  border-radius: 2px;
  margin-right: 5px;
}
{"id":5408,"date":"2022-01-03T08:18:46","date_gmt":"2022-01-03T08:18:46","guid":{"rendered":"https:\/\/el4.thembaydev.com\/fana\/cart\/"},"modified":"2022-01-03T08:18:46","modified_gmt":"2022-01-03T08:18:46","slug":"cart-2","status":"publish","type":"page","link":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/cart-2\/","title":{"rendered":"Shopping cart"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5408\" class=\"elementor elementor-5408\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2aacaa5a elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2aacaa5a\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-764edead\" data-id=\"764edead\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e0c6ca elementor-widget elementor-widget-shortcode\" data-id=\"5e0c6ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5408","page","type-page","status-publish","hentry"],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"_links":{"self":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages\/5408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/comments?post=5408"}],"version-history":[{"count":0,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages\/5408\/revisions"}],"wp:attachment":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/media?parent=5408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}