You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
template-for-verstka/assets/css/gp-style-desktop.css

969 lines
17 KiB

/* Основные стили для компьютера */
/* header start */
.header{
position: relative;
background-color: var(--background-white);
}
.header::after{
content: '';
position: absolute;
left: 24px;
bottom: 0;
width: calc(100% - 48px);
height: 1px;
background: var(--text-3);
}
.header__content{
height: 72px;
padding: 14px 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header__open-menu{
display: none;
width: 24px;
aspect-ratio: 1;
position: relative;
border: none;
background: none;
}
.header__open-menu::before{
content: '';
position: absolute;
top: 8px;
left: 4px;
width: 16px;
height: 2px;
background: var(--background-black);
border-radius: 1px;
}
.header__open-menu::after{
content: '';
position: absolute;
left: 4px;
bottom: 8px;
width: 16px;
height: 2px;
background: var(--background-black);
border-radius: 1px;
}
.header__logo{
width: 182px;
height: 40px;
}
.header__logo-black{
width: 100%;
height: 100%;
}
.header__menu-block{
position: absolute;
top: 72px;
left: 0;
width: 100%;
height: 0;
overflow: hidden;
transition: height .2s ease-out;
background-color: var(--background-white);
z-index: 100;
}
.header__pc-menu{
padding: 40px 46px;
display: flex;
justify-content: center;
position: relative;
}
.header__pc-menu::before{
content: '';
position: absolute;
top: 0;
left: 46px;
width: 330px;
height: 248px;
background-image: url(../img/pet/cat.png);
background-repeat: no-repeat;
}
.header__pc-menu::after{
content: '';
position: absolute;
top: 0;
right: 46px;
width: 330px;
height: 248px;
background-image: url(../img/pet/dog.png);
background-repeat: no-repeat;
}
.header-pc-menu__content{
width: 600px;
display: flex;
justify-content: space-between;
}
.header-pc-menu__item{
}
.header-pc-menu__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 26px;
line-height: 123%;
text-transform: uppercase;
color: var(--text-black);
text-decoration: none;
}
.header-pc-menu__list{
margin-top: 16px;
list-style-type: none;
}
.header-pc-menu__list-li{
margin-top: 25px;
}
.header-pc-menu__list-li:first-child{
margin-top: 0;
}
.header-pc-menu__list-li a{
font-family: var(--font-family);
font-weight: 600;
font-size: 20px;
line-height: 120%;
color: var(--text-0);
text-decoration: none;
}
.header__phone-menu{
display: none;
padding: 24px 16px;
}
.header-phone-menu__item{
padding: 16px 0;
border-top: 1px solid #f4f1f0;
border-bottom: 1px solid #f4f1f0;
display: flex;
flex-direction: column;
}
.header-phone-menu__item:first-child{
border-top: 0;
}
.header-phone-menu__item:last-child{
border-bottom: 0;
}
.header-phone-menu__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 20px;
line-height: 120%;
color: var(--text-black);
text-decoration: none;
}
.header-phone-menu__title--gradient{
background: var(--gradient-blue);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.header-phone-menu__category{
margin-top: 16px;
font-family: var(--font-family);
font-weight: 500;
font-size: 18px;
line-height: 133%;
color: var(--text-black);
text-decoration: none;
}
.header-phone-menu__list{
margin-top: 24px;
padding-left: 32px;
list-style-type: none;
}
.header-phone-menu__list-item{
margin-top: 16px;
}
.header-phone-menu__list-item:first-child{
margin-top: 0;
}
.header-phone-menu__list-item a{
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 125%;
color: #121212;
color: var(--text-black);
text-decoration: none;
}
/* header end */
/* product */
.product{
padding: 24px;
}
.product__header{
display: flex;
justify-content: space-between;
align-items: center;
}
.product__tag{
margin: 36px -12px -12px -12px;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.product-tag__item{
margin: 12px;
padding: 1px;
border-radius: 16px;
background: var(--gradient-blue);
}
.product-tag-item__content{
padding: 3px 11px;
background: var(--background-white);
border-radius: 15px;
display: flex;
align-items: center;
}
.product-tag-item__text{
font-family: var(--font-family);
font-weight: 400;
font-size: 20px;
line-height: 120%;
background: var(--gradient-blue);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.product-tag-item__button{
margin: 2px 0 2px 4px;
width: 20px;
aspect-ratio: 1;
background: none;
border: none;
background-image: url(../img/svg/main/gradient-x.svg);
background-repeat: no-repeat;
background-position: center;
}
.product__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 111%;
text-transform: uppercase;
text-align: center;
color: var(--text-black);
}
.product__main{
margin: 36px -12px -12px;
/* width: 100%; */
display: flex;
align-items: stretch;
flex-wrap: wrap;
}
.product__item{
margin: 12px;
width: calc(25% - 24px);
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: var(--background-grey);
border-radius: 24px;
position: relative;
}
.product__item::before{
content: '';
position: absolute;
top: 0;
left: 0;
width: calc(100% - 2px);
height: calc(100% - 2px);
border: 1px solid #000;
border-radius: 24px;
pointer-events: none;
transition: opacity .2s ease-out;
opacity: 0;
}
.product__item:hover::before{
opacity: 1;
}
.product-item__block-label{
position: absolute;
top: 16px;
left: 16px;
}
.product-item__label{
position: absolute;
top: 16px;
left: 16px;
margin: -2px;
display: flex;
align-items: center;
z-index: 10;
}
.product-item-label__tag{
margin: 2px;
padding: 4px 8px;
font-family: var(--font-family);
font-weight: 700;
font-size: 12px;
line-height: 133%;
color: #f4f1f0;
border-radius: 16px;
}
.product-item-label__tag--new{
background: var(--gradient-blue);
}
.product-item-label__tag--sale{
background: var(--gradient-red);
}
.product-item-label__tag--black{
background: var(--background-black);
color: var(--text-white);
}
.product-item-label__tag--title{
padding: 4px 2px;
font-size: 16px;
line-height: 125%;
color: var(--text-black);
display: flex;
align-items: center;
}
.product-item__product-card{
height: 274px;
display: flex;
justify-content: center;
align-items: center;
}
.product-item__images{
height: 242px;
object-fit: contain;
}
.product-item__content-card{
padding: 15.5px;
}
.product-item__title{
margin-top: 8px;
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 120%;
color: var(--text-black);
}
.product-item__title:first-child{
margin-top: 0;
}
.product-item__price{
margin-top: 8px;
font-family: var(--font-family);
font-weight: 700;
font-size: 20px;
line-height: 200%;
text-transform: uppercase;
color: var(--text-black);
}
.product-item__price::after{
content: '₽';
}
.product-item__bye{
margin-top: 8px;
}
.product__item.hiding .product-item__images{
filter: grayscale(1)
}
.product__item.hiding .product-item__price{
color: var(--text-grey);
}
.product-item__overlay{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 24px;
backdrop-filter: blur(25px);
background-color: rgba(242, 242, 242, 0.8);
z-index: 10;
}
.product-item-overlay__header{}
.product-item-overlay__tags{
margin: 4px -6px -6px -6px;
font-family: var(--font-family);
font-weight: 500;
font-size: 12px;
line-height: 133%;
color: var(--text-3);
display: flex;
flex-wrap: wrap;
list-style-type: none;
}
.product-item-overlay__tags li{
margin: 4px 6px;
position: relative;
}
.product-item-overlay__tags li:nth-child(n+2)::before{
content: '';
position: absolute;
top: 6px;
left: -8px;
width: 4px;
aspect-ratio: 1;
background-color: var(--text-3);
border-radius: 50%;
}
.product-item-overlay__tags li:nth-child(n+2)::after{
content: '';
position: absolute;
top: 6px;
right: -8px;
width: 4px;
aspect-ratio: 1;
background-color: var(--text-3);
border-radius: 50%;
}
.product-item-overlay__tags li:last-child::after,
.product-item-overlay__tags li:last-child::before{
display: none;
}
.product-item-overlay__price{
margin-top: 32px;
font-family: var(--font-family);
font-weight: 700;
font-size: 24px;
line-height: 100%;
text-transform: uppercase;
text-align: right;
color: var(--text-black);
}
.product-item-overlay__price::after{
content: '₽';
}
.product-item-overlay__block-button{
margin-top: 32px;
}
.product-item-overlay__button{
margin-top: 16px;
}
.product-item-overlay__button:first-child{
margin-top: 0;
}
.product-item-overlay__input-block{
}
.product-item-overlay__field{
margin-top: 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
.product-item-overlay__field:first-child{
margin-top: 0;
}
.product-item-overlay-field__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 16px;
line-height: 125%;
color: var(--text-0);
}
.product-item__form{
}
/* product */
/* modal */
.modal__button .to-know{
display: none;
}
/* modal */
/* footer */
.footer{
margin-top: 80px;
padding: 40px 24px;
background: var(--background-black);
}
.footer__wrapper{
width: 100%;
display: flex;
}
.footer__content{
width: calc(100% - 364px);
}
.footer__logo{
width: 187px;
height: 43px;
}
.footer__address{
margin-top: 24px;
font-family: var(--font-family);
font-weight: 500;
font-size: 24px;
line-height: 133%;
color: var(--text-white);
font-style: normal;
}
.footer__list{
margin: 28px -12px -12px -12px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.footer-list__item{
margin: 12px;
width: calc(50% - 24px);
display: flex;
flex-direction: column;
}
.footer-list__item:nth-child(even){
width: 322px;
}
.footer-list__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 16px;
line-height: 125%;
color: var(--text-white);
}
.footer-list__link{
margin-top: 4px;
font-family: var(--font-family);
font-weight: 500;
font-size: 24px;
line-height: 133%;
color: var(--text-white);
text-decoration: none;
}
.footer__form{
margin-left: 48px;
width: 364px;
}
.footer__about{
margin-top: 16px;
padding-top: 15px;
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid var(--text-white);
}
.footer-about__text{
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 120%;
text-align: right;
color: var(--text-white);
opacity: 0.6;
text-decoration: none;
}
.footer__social-media{
display: none;
}
/* footer */
/* detail */
.detail{
margin: 48px 24px 24px 24px;
display: flex;
flex-wrap: wrap;
}
.detail__images{
margin: -12px;
width: calc(50% - 24px);
display: flex;
flex-wrap: wrap;
}
.detail__image{
margin: 12px;
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
background: var(--background-grey);
cursor: pointer;
}
.detail__image--width-perc-100{
width: calc(100% - 24px);
height: 600px;
}
.detail__image--width-perc-50{
width: calc(50% - 24px);
height: 288px;
}
.detail__image--width-perc-100 img{
width: 90%;
height: 90%;
object-fit: contain;
}
.detail__image--width-perc-50 img{
width: 100%;
height: 100%;
object-fit: contain;
}
.detail__content{
margin-left: 48px;
width: calc(50% - 24px);
}
.detail__label{
margin: -2px;
display: flex;
align-items: center;
}
.detail__label .product-item-label__tag:last-child{
margin-left: auto;
}
.detail__label .product-item-label__tag:first-child{
margin-left: 0;
}
.detail__title{
margin-top: 8px;
font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 111%;
text-transform: uppercase;
color: var(--text-black);
}
.detail__block-price{
margin-top: 24px;
display: flex;
align-items: center;
}
.detail-block-price__price{
font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 111%;
text-transform: uppercase;
color: #121212;
}
.detail-block-price__price::after{
content: '₽';
}
.detail-block-price__sale{
margin-left: 22px;
display: flex;
align-items: center;
}
.detail-block-price-sale__text{
font-family: var(--font-family);
font-weight: 700;
font-size: 20px;
line-height: 120%;
text-transform: uppercase;
text-decoration: line-through;
color: var(--text-6);
}
.detail-block-price-sale__text::after{
content: '₽';
}
.detail-block-price-sale__perc{
margin-left: 9px;
font-family: var(--font-family);
font-weight: 500;
font-size: 12px;
line-height: 133%;
color: var(--text-red);
}
.detail-block-price-sale__perc::before{
content: '-';
}
.detail-block-price-sale__perc::after{
content: '%';
}
.detail-block__form{
margin-top: 48px;
display: flex;
flex-direction: column;
}
.detail-block-form__item{
margin-top: 24px;
min-width: 345.89px;
display: flex;
align-items: center;
}
.detail-block-form__item--radio{
margin: 16px -8px -8px -8px;
}
.detail-block-form__item:first-child{
margin-top: 0;
}
.detail-block-form__item button{
margin: 8px;
}
.detail-block-form__submit{
min-width: 345.89px;
}
.detail__warning{
padding: 3px;
border-radius: 24px;
background: var(--gradient-turquoise);
}
.detail-warning__content{
padding: 26px;
border-radius: 22px;
background: var(--background-white);
}
.detail-warning__title{
font-family: var(--font-family);
font-weight: 700;
font-size: 24px;
line-height: 100%;
text-transform: uppercase;
color: var(--text-black);
}
.detail-warning__text{
margin-top: 16px;
font-family: var(--font-family);
font-weight: 400;
font-size: 20px;
line-height: 120%;
color: var(--text-black);
}
.detail__toggle{
margin-top: 48px;
margin-bottom: 48px;
}
.detail__catalot{
margin: 12px -12px -12px -12px;
width: 100%;
display: flex;
}
.toggle__table{
margin-top: 32px;
display: flex;
flex-wrap: wrap;
}
.toggle__table:first-child{
margin-top: 0;
}
.toggle__table--three .toggle-table__block:nth-child(1){
width: 40%;
}
.toggle__table--three .toggle-table__block:nth-child(2){
width: 40%;
}
.toggle__table--three .toggle-table__block:nth-child(3){
width: 20%;
}
.toggle__table--two .toggle-table__block{
width: calc(50% - 20px);
}
.toggle__table--two .toggle-table__block:nth-child(even){
margin-left: 40px;
}
.toggle-table__block{
}
.toggle-table__item{
margin-top: 8px;
width: 100%;
display: flex;
justify-content: space-between;
}
.toggle-table__item p{
display: block;
font-family: var(--font-family);
font-weight: 400;
font-size: 20px;
line-height: 120%;
color: var(--text-black);
flex-shrink: 0;
}
.toggle-table__item .warning{
width: 100%;
}
.toggle-table__item .warning p{
font-family: var(--font-family);
font-weight: 600;
font-size: 20px;
line-height: 120%;
text-align: center;
}
.toggle-table__title{
margin-bottom: 16px;
font-family: var(--font-family);
font-weight: 700;
font-size: 16px;
line-height: 125%;
color: var(--text-black);
}
.toggle-table__title--center{
text-align: center;
}
.toggle-table-item__line{
margin: 23px 8px 0 8px;
width: 100%;
height: 1px;
background: linear-gradient(to right, transparent 50%, #fff 50%), linear-gradient(to right, #333, #333);
background-size: 4px 2px, 100% 2px;
opacity: .6;
}
/* detail */
@media only screen and (max-width: 1600px) {
.wrapper{
max-width: 1280px;
}
.product__item{
margin: 12px;
width: calc(33.3% - 24px);
}
}
/* Стили для лептопов */
/* @media only screen and (min-width: 992px) and (max-width: 1400px) {
} */