.sp-smart-post-layout-picker {
  p {
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
  }
  .sp-smart-post-layouts {
    display: grid;
    gap: 8px;
    text-align: center;
    max-width: 620px;
    // margin-top: 16px;
    &.grid-1 {
      grid-template-columns: 1;
    }
    &.grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }
    &.grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
    &.grid-4 {
      grid-template-columns: repeat(4, 1fr);
    }
    .sp-smart-post-layout-card {
      cursor: pointer;
      position: relative;
      .sp-smart-layout-img {
        display: flex;
        position: relative;
      }
      .sp-smart-post-layout-title {
        font-size: 13px;
        color: #1e1e1e;
        font-weight: 400;
        line-height: 16px;
        text-align: center;
        margin-top: 4px;
      }
      &.active .active-symbol {
        position: absolute;
        right: 5px;
        top: 2px;
        z-index: 9;
      }
      &.active svg path,
      &.active svg rect:not(.sp-card) {
        stroke-width: 1.6;
      }
    }
  }
}

.sp-smart-post-panel-pb {
  padding-bottom: 16px;
}

.sp-smart-post-layout-card.sp-smart-pro-layout {
  transition: all .3s ease-in-out;
  cursor: default !important;

  .sp-smart-layout-img > svg {
    opacity: .6;
    transition: all .3s ease-in-out;
  }

  &:hover .sp-smart-layout-img > svg {
    opacity: .4;
  }

  &:hover .sp-smart-pro-btn-wrapper {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
}
