.product {
padding-bottom: 5%;
}
.category__header-wrap {
margin: 8% 0 22px;
display: flex;
flex-direction: column;
gap: 14px;
}
.breadcrumbs {
color: var(--clr-gray-600);
}
.woocommerce .woocommerce-breadcrumb {
margin: 0;
}
.breadcrumbs a {
color: var(--clr-gray-600);
text-decoration: none;
}
.category__title {
margin: 0;
color: var(--clr-black);
}
@media screen and (max-width: 1440px) {
.category__header-wrap {
margin-top: 8%;
}
} .product__slider {
position: sticky;
top: 5%;
width: 100%;
max-width: 100%;
aspect-ratio: 1/1;
display: flex;
flex-direction: column;
gap: 20px;
}
.swiper {
width: 100%;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.swiper-slide {
background: var(--clr-gray);
overflow: hidden;
}
.swiper-slide-big {
border-radius: 32px;
}
.swiper-slide-min {
border-radius: 16px;
cursor: pointer;
}
.mySwiper2 {
width: 100%;
aspect-ratio: 1/1;
}
.mySwiper {
height: 10%;
box-sizing: border-box;
}
.mySwiper .swiper-slide {
width: 25%;
height: 100%;
opacity: 0.4;
}
.mySwiper .swiper-slide-thumb-active {
opacity: 1;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.product-button {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 36px;
background-color: var(--clr-blue);
}
.product-button:hover {
background-color: var(--clr-blue-100);
}
.swiper-button-next:after {
content: '';
height: 12px;
width: 12px;
display: flex;
align-items: center;
justify-content: center;
background: no-repeat url(//vodomatika.ru/wp-content/themes/vodomatika/assets/images/icon/angle-right-solid.svg) center / contain;
}
.swiper-button-prev:after {
content: '';
height: 12px;
width: 12px;
display: flex;
align-items: center;
justify-content: center;
transform: rotate(180deg);
background: no-repeat url(//vodomatika.ru/wp-content/themes/vodomatika/assets/images/icon/angle-right-solid.svg) center / contain;
} .product__header {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 20px;
}
.product__article {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 12px;
}
.product__title {
margin: 0;
color: var(--clr-black);
}
.product__subtitle {
margin: 0;
color: var(--clr-gray-600);
}
.product__price {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 8px;
}
.product__price p {
margin: 0;
}
.product__price .new {
font-weight: 700;
}
.product__price .old {
color: var(--clr-gray-600);
font-weight: 400;
text-decoration: line-through;
}
.product {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.product__slider,
.product__content {
min-width: 0;
width: 100%;
max-width: 100%;
}
.product__content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 40px;
}
.product__attribute {
display: flex;
flex-direction: column;
gap: 8px;
}
.product__attribute-label {
margin: 0;
color: var(--clr-gray-600);
} .product__attribute-select--hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
} .product__attribute-dropdown {
position: relative;
width: 100%;
background-color: #F8F9FB;
border-radius: 10px;
}
.product__attribute-trigger {
display: flex;
align-items: center;
justify-content: space-between;
align-self: normal;
padding: 12px 14px;
background: transparent;
border: none;
border-radius: 10px;
color: #333;
text-align: left;
cursor: pointer;
}
.product__attribute-trigger-icon {
flex-shrink: 0;
width: 16px;
height: 10px;
margin-left: 10px;
background: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%23007BFF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 10px;
transition: transform 0.2s ease;
}
.product__attribute-dropdown--open .product__attribute-trigger-icon {
transform: rotate(180deg);
}
.product__attribute-list {
list-style: none;
margin: 0 0 10px 0;
padding: 0 10px 10px;
border-radius: 0 0 10px 10px;
}
.product__attribute-list[hidden] {
display: none;
}
.product__attribute-option {
padding: 10px 12px;
margin-top: 4px;
border-radius: 8px;
color: #333;
font-size: 15px;
line-height: 1.4;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.product__attribute-option:hover {
background-color: rgba(0, 123, 255, 0.08);
}
.product__attribute-option--selected {
background-color: #007BFF;
color: #fff;
}
.product__info {
width: 100%;
}
.product__info-mod {
display: flex;
flex-direction: column;
gap: 20px;
}
.btn__wrap {
width: 100%;
}
.btn__product {
padding: 12px 32px;
width: 100%;
}
.product__desc-content p, ul {
color: var(--clr-gray-600);
} .product__info-t {
padding: 20px;
height: min-content;
display: flex;
flex-direction: column;
align-items: flex-start;
align-self: normal;
gap: 20px;
border-radius: 12px;
background-color: #F5F5F5;
overflow: hidden;
}
.product__info .wrap {
width: 100%;
display: flex;
align-items: flex-start;
gap: 20px;
}
.characteristics {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
.characteristics__title {
margin: 0;
font-weight: 500;
}
.characteristics__table {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}
.characteristics__table-row {
display: flex;
}
.characteristics__table-wrap {
width: 100%;
display: flex;
align-items: flex-end;
}
.characteristics__table-wrap:first-child::after {
content: '';
margin: 0 10px;
display: block;
width: 100%;
height: 1px;
border-bottom: 1px dashed var(--clr-gray-600);
}
.characteristics__table-title {
margin: 0;
color: var(--clr-gray-600);
font-size: 14px;
font-weight: 500;
line-height: 100%;
letter-spacing: 0%;
white-space: nowrap;
}
.characteristics__link {
position: relative;
color: var(--clr-dark);
font-size: 14px;
font-weight: 500;
line-height: 100%;
letter-spacing: 0%;
}
.characteristics__link::after {
content: '';
position: absolute;
bottom: -6px;
height: 1px;
width: 100%;
display: block;
border-bottom: 2px solid var(--clr-blue);
}
.content-characteristic {
display: flex;
flex-direction: column;
gap: 20px;
} @media screen and (max-width: 1024px) {
.product {
display: flex;
flex-direction: column;
gap: 20px;
}
.product__slider {
position: relative;
top: initial;
}
}