    .ctfrb-content { position: relative; display: inline-block; }

.x1{
    width: 4px;
}

.ctfrb-content > a img { transition: transform 0.2s; }
.ctfrb-content.open > a img { transform: rotate(180deg); }
.ctfrb-current-value{
    display: block;
    padding-right: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.ctfrb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  padding: 0;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 111;
}

.ctfrb-content.open .ctfrb-dropdown { display: block; }

.ctfrb-dropdown li { list-style: none; }
.ctfrb-dropdown li a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-radius: 0px;
  border-bottom: 1px solid #f0f0f0;
}
.ctfrb-dropdown li:last-child a { border-bottom: none; }
.ctfrb-dropdown li a:hover { background: #f7f7f7; }
.ctfrb-dropdown li.active a { font-weight: 500; color: #1a6fe8; }

.check { display: none; margin-left: auto; }
.ctfrb-dropdown li.active .check { display: inline; }

.priceview .product-one__priceBuy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 4px;
    margin-top: auto;
}

.priceview .product-one__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.priceview .product-one__priceTitle {
    font-size: 12px;
    color: #888;
    line-height: 1;
}

.priceview .product-one__priceValue {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}

.priceview .product-one__priceValue .currency {
    font-size: 16px;
    font-weight: 400;
    color: #444;
}

.priceview .product-one__addToCart {
    flex-shrink: 0;
}

.priceview .product-one__cartButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a6fe8;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    height: 30px;
}

.priceview .product-one__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100px;
}

.priceview .product-one__cartButton:hover {
    background: #1559c4;
}

.priceview .product-one__cartButton img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

#ctfrb-grid-wrap .ctfrb-dropdown li a {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

#ctfrb-grid-wrap .ctfrb-dropdown li.priceview a {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.grid-icon.x3 {
    grid-template-columns: repeat(3, 5px);
}
.grid-icon.x4 { grid-template-columns: repeat(4, 1fr); }

#ctfrb-grid-wrap .ctfrb-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-icon {
    display: grid;
    gap: 2px;
    width: 28px;
    height: 20px;
    flex-shrink: 0;
}

.grid-icon .x1 {
    background: #aaa;
    border-radius: 2px;
    height: 100%;
}

.grid-icon.pv {
    display: flex;
    gap: 3px;
    align-items: stretch;
}

.grid-icon{
    gap: 3px;
}

.x3.rotated{
    transform: rotate(90deg);
}

.x3.rotated .x1{
    width: 4px;
}

.grid-icon.rotated{
    width: 19px;
    margin-right: 10px;
}

.grid-icon.pv .pv-img {
    width: 20px;
    background: #aaa;
    border-radius: 2px;
    flex-shrink: 0;
}

.grid-icon.pv .pv-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    flex: 1;
}

.grid-icon.pv .pv-line {
    height: 3px;
    background: #aaa;
    border-radius: 1px;
}

.grid-icon.pv .pv-line.short {
    width: 60%;
}

.grid-icon.pv .pv-price {
    height: 4px;
    background: #1a6fe8;
    border-radius: 1px;
    width: 70%;
    margin-top: 1px;
}

.category-grid.priceview {
    flex-direction: column;
    column-gap: 0;
    row-gap: 12px;
}

.category-grid.priceview .product-one__item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    gap: 20px;
}

/* зображення */
.category-grid.priceview .product-one__image {
    flex: 0 0 120px;
    width: 120px;
}

.category-grid.priceview .product-one__image figure,
.category-grid.priceview .product-one__image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0;
}

/* лайк */
.category-grid.priceview .product-one__likeButton {
    position: relative;
    top: auto;
    right: auto;
    order:99;
}

/* лінк — займає весь простір між фото і ціною */
.category-grid.priceview .product-one__link {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

/* назва + код */
.category-grid.priceview .product-one__name {
    font-size: 15px;
    flex: 1;
    min-width: 0;
}

.category-grid.priceview .product-one__codeReview {
    margin-top: 6px;
    margin-right: 20px;
}

.priceview .category-grid.priceview .product-one__likeButton{
        position: relative;
    top: auto;
    right: auto;
    order: 99;
}

.priceview .product-one__like {
    top: 0;
    right: 0;
    position: relative;
    order: 99;
    display: flex;
}

.product-one__like:hover {
    background: #3076d5d6;
    color: white;
}

.priceview .product-one__name{
    margin:0;
}

.priceview .product-one__image{
    justify-content: flex-start;
    align-items: flex-start;
}

.priceview .product-one__name{
    min-height: auto;
}

/* ціна + кнопка */
.category-grid.priceview .product-one__priceBuy {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.category-grid.priceview .product-one__priceValue {
    font-size: 22px;
}

