/* Border radius */
.br-s {border-radius: var(--br-s)}                           /* 4px */
.br-m {border-radius: var(--br-m)}                           /* 8px */
.br-l {border-radius: var(--br-l)}                           /* 12px */
.br-xl {border-radius: var(--br-xl)}                         /* 16px */
.br-2xl {border-radius: var(--br-2xl)}                         /* 24px */
.br-full {border-radius: var(--br-3xl)}                      /* for circle */

.br-t-xl {border-radius: var(--br-xl) var(--br-xl) 0 0}      /* top 16px */

.lab{
    right: 0;
    top: 0;
    background: var(--atn-clr);
    color: var(--hd);
    padding: var(--n-s)
}

.card,.card-blog{
background: var(--card-bg);
box-shadow: var(--card-shd)
}

.promo-lab {
    background: var(--pos-alt-lgt);
    color: var(--pos-alt-drk);
}

.odr-1{order: -1}
.list-ns{list-style: none}
li.card-blog {
    transition: all var(--trs-2) ease-in-out;
    &:is(:hover,:focus-within){--card-bg: var(--ntl-100);span{--btn-txt: var(--ntl-100);--btn-bg: var(--prm-500)}}
    img{border-radius: var(--br-xl) var(--br-xl) 0 0}
    span {transition: all var(--trs-2) ease-in-out}          
}

.bg-wh {--card-bg: var(--ntl-100)}
.bg-l-ntl {background: var(--ntl-200)}

address{font-style: normal}
.c-lnk:is(:hover,:focus-visible){background: var(--prm-100);box-shadow:0 0 0 4px var(--prm-100)}

.lc-3 { /* Ограничивает число строк до 3 */
  display: -webkit-box;             
  -webkit-box-orient: vertical;     
  -webkit-line-clamp: 3;            
  overflow: hidden
  }

.stick-el {position: sticky;top: 10.5em}
/*@media (width < 70.5em){.card:has(.ic-d){flex-wrap: wrap}}

/* Countdown timer */
.timer {
    width:100%;
    span {line-height: 1.2em}
    & .field {
    background: var(--atn-clr);
    color: var(--hd);
    border-radius: var(--br-m);
    padding: var(--n-s);
    text-align: center;
    flex:1;
    max-height: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-wrap:nowrap
    }
}

/* Price plan */
.price-plan{
    &:has(.pr-price) .s-price{
        color:inherit;
        font-weight: var(--w400);
        text-decoration: line-through
    }
    &:nth-child(3){
        --card-bg: var(--ntl-100);
        box-shadow: var(--strk-h);
        position:relative;
            &:before{
            content: "popular";
            position: absolute;
            top: -16px;
            left: clamp(var(--n-l),1.9vw,var(--n-2xl));
            background: var(--label-bg-clr);
            color: var(--label-txt-clr);
            padding: 4px 8px;
            font-size: .75rem;
            font-weight: var(--w500);
            border-radius: var(--br-m)
            }
            button{
            --btn-txt: var(--ntl-100);
            --btn-bg: var(--prm-400)
            }
    }    
}

/* Price */
.s-price{color:var(--txt)}
.pr-price{color:var(--promo-prs-clr)}
.s-price, .pr-price{;font-weight: var(--w500)}
.amounts-p:has(.pr-price) .s-price{;font-weight: var(--w400);text-decoration: line-through}

/* Product rating */
.rating {
    color: var(--atn-clr);
    margin-left: calc(var(--n-xs) * -1);
    svg{width: var(--n-6xl)}
}

/* diferent bg and txt color */
.poz-clr{background:var(--pos-alt-drk);color:var(--pos-alt-lgt);}

/* Breadcrumb */
.breadcrumbs ol {
    padding: 0; 
    li:not(:has(a)){margin:0;padding: 1em 0}
    [aria-current="page"]{color:var(--prm-400);font-weight: var(--w500);text-decoration: underline;text-underline-offset: var(--n-m)}
    a{padding: 1em 0!important}
}

body:has(.breadcrumbs):not(:has(.brxe-post-content)) main {margin-top: 0 !important}

/* Social links*/
#social-lnk a {
  svg {transition: all 0.6s ease}

  @media (hover: hover) and (pointer: fine) {
    &:hover svg {background: var(--prm-500);color: var(--ntl-100)}
  }

  &:focus-visible svg {background: var(--prm-500);color: var(--ntl-100)}
}

/* animation */
@keyframes pulse {
    0%,100%  {transform: scale(1, 1)}
    50% {transform: scale(1.1, 1.1)}
}
.pulse  {
    animation: pulse 2s linear infinite;
}
