
.de-item .d-wrap{
  position: relative;
  overflow: hidden;
  border-radius: var(--rounded-1);
  -moz-border-radius: var(--rounded-1);
  -webkit-border-radius: var(--rounded-1);
  margin-bottom: 20px;
}

.de-item .d-wrap img{
  width: 100%;
}

.de-item h2{
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 0;
  line-height: 1.4em;
}

.de-item .d-price{
  position: absolute;
  top: 0;
  right: 0;
  color: #ffffff;
  padding: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4em;
}

.de-item .d-meta{
  font-size: 14px;
}

.de-item .d-meta span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px;
    border-radius: 50%;
    background: currentColor;
    opacity: .45;
    vertical-align: middle;
}
.de-item .d-meta a:hover{
  color: #ffffff;
}

.de-item a.btn-main{
  position: absolute;
  display: block;
  top: 32px;
  right: 0;
  padding: 6px 16px !important;
  line-height: 1em;
  font-size: 13px;
  background: rgba(255, 255, 255, .2);
  font-weight: 500;
}

.de-item a.btn-main:hover{
  background: var(--primary-color);
}

.de-item .d-wrap {
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.de-item:hover .d-wrap {
    transform: scale(1.02);
}

a.category-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.5);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

a.category-back:hover {
    color: #fff;
}

.template-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background: var(--primary-color);
    color: #fff;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    border-radius: 4px;

    box-shadow: 0 0 12px color-mix(in srgb, var(--primary-color) 45%, transparent);
}

.def-card::before {
    content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: inherit;

        background: linear-gradient(
            135deg,
            rgba(255,255,255,.42) 0%,
            rgba(255,255,255,.16) 12%,
            rgba(255,255,255,.06) 30%,
            rgba(255,255,255,.025) 55%,
            rgba(255,255,255,0) 100%
        );

        opacity: .4;

        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;

        pointer-events: none;

        border-radius: var(--rounded-1);
        -moz-border-radius: var(--rounded-1);
        -webkit-border-radius: var(--rounded-1);
}

.def-card {
    opacity: 0;
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2, .65, .3, 1);
}

.def-card.is-visible {
    opacity: 1;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    line-height: 1.2em;
}

.category-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: color .3s ease;
}

.category-nav a:hover,
.category-nav a.active {
    color: var(--primary-color);
}