ldc-boutique-cnc/integration/resources/sass/main.scss
Olivier Legat d93553b396 Squashed commit of the following:
commit a962eca9b609623804bd8cfe57c246a61e77a382
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Mar 4 17:41:46 2021 +0100

    responsive

commit a44ff3bde60c2af1db3169115a90741b8e868037
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Mar 3 17:50:58 2021 +0100

    end tunnel

commit 4c40e47ae861909f76b92b0440d48b378ee621c2
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Mar 2 18:10:17 2021 +0100

    heure de collecte

commit e05d598006060880f79573108e0c66fccfcfc62c
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Mon Mar 1 17:47:48 2021 +0100

    tunnel page 3

commit b85f96a655e868096aa42e9f99b2f67c49a041c3
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Feb 26 13:16:05 2021 +0100

    Tunnel d'achat start

commit cdf9a38e8f5d38ffcc1728415f0b58b22ff455df
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Feb 25 20:35:44 2021 +0100

    cart full

commit 9db34a8ab6881b1b88adebaa6426b6944608de47
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Feb 24 17:40:18 2021 +0100

    work in progress - cart panel

commit 0a698cb62eb26b52f3b48f5ac8a39b89c34617f4
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 17:05:13 2021 +0100

    sassification des css

commit 5c277ae10d9ae8e0225a0f7d57d81146e43da146
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 16:37:01 2021 +0100

    integration bato
2021-03-05 11:49:20 +01:00

1952 lines
30 KiB
SCSS
Vendored

body {
color: #2D3B45;
font-family: 'Roboto', sans-serif;
font-weight: normal;
font-size: 16px;
line-height: 1.25;
}
img {
max-width: 100%;
}
input.error {
border-color: red !important;
}
body .mb0 {
margin-bottom: 0;
}
.mobile {
position: absolute;
left: -9999px;
top: -9999px;
}
.fw {
width: 100%;
min-width: 100%;
}
.page-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.main {
flex: 1;
box-sizing: border-box;
width: 1366px;
max-width: 100%;
margin: 0 auto;
position: relative;
background: $beige-l;
padding-bottom: 20px;
}
.section {
padding-top: 40px;
padding-bottom: 40px;
}
.section_dark {
background: $beige-d;
}
.wrapper {
box-sizing: border-box;
max-width: 100%;
width: 1220px;
padding: 0 20px;
margin: 0 auto;
position: relative;
}
.wrapper-inner {
box-sizing: border-box;
padding: 0 20px;
}
.title {
display: block;
font-family: 'Berkshire Swash', sans-serif;
font-size: 36px;
text-align: center;
color: $blue;
margin-bottom: 20px;
}
.title_medium {
text-align: unset;
font-size: 30px;
margin: 0;
}
.title_small {
text-align: unset;
font-size: 24px;
margin: 0;
}
.title_xs {
text-align: unset;
font-size: 20px;
margin: 0;
}
.description h4 {
font-family: 'Berkshire Swash', sans-serif;
font-size: 24px;
padding-top: 10px;
margin-bottom: 20px;
color: $blue;
}
.description h5 {
font-family: 'Berkshire Swash', sans-serif;
font-size: 20px;
margin-bottom: 5px;
color: $blue;
}
.description p:not(:last-child) {
margin-bottom: 20px;
}
.description a {
color: $blue;
text-decoration: underline;
}
.description a:hover {
text-decoration: none;
}
.description ul,
.description ol {
list-style-position: inside;
padding-left: 20px;
margin-bottom: 15px;
}
.btn {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
max-width: 100%;
width: max-content;
height: 48px;
padding: 10px 20px;
font-family: 'Roboto', sans-serif;
font-size: 18px;
text-transform: uppercase;
text-align: center;
color: #fff;
background-color: $green;
transition: all 0.3s;
}
.btn:hover {
background-color: $blue;
}
.btn_blue {
background-color: $blue;
}
.btn_blue:hover {
background-color: $green;
}
.btn_white {
color: $blue;
background-color: #fff;
}
.btn_white:hover {
color: #fff;
background-color: $green;
}
/* form START */
button {
cursor: pointer;
}
input,
textarea {
font-family: 'Roboto', sans-serif;
font-size: 16px;
max-width: 100%;
}
input::placeholder,
textarea::placeholder {
color: $blue;
opacity: 1;
}
input.form__input,
textarea.form__input {
box-sizing: border-box;
border: 1px solid transparent;
width: 100%;
height: 38px;
background: #fff;
background-repeat: no-repeat;
padding-left: 20px;
}
textarea.form__input {
height: 136px;
padding-top: 10px;
}
input.form__input_date {
padding-right: 40px;
background-image: url(../img/icon_date.png);
background-position: right 10px center;
background-size: auto 58%;
}
.form {
position: relative;
}
.form__field {
margin-bottom: 20px;
}
.form__row {
display: flex;
justify-content: space-between;
}
.form__row .form__field {
width: 48%;
}
.form__error {
color: red;
font-weight: 500;
text-align: center;
margin-bottom: 20px;
}
.field__error {
color: red;
font-size: 14px;
font-style: italic;
padding-left: 20px;
padding-top: 10px;
}
.form__text {
font-weight: 500;
text-align: center;
margin-bottom: 10px;
}
.custom-input {
color: $blue;
}
.custom-input input {
width: 1px;
height: 1px;
margin: -1px;
opacity: 0;
transform: translate(10px, 10px);
}
.custom-input span {
display: flex;
position: relative;
}
.custom-input span::before,
.custom-input span::after {
content: '';
display: block;
flex: 0 0 auto;
cursor: pointer;
}
.custom-input span::before {
width: 20px;
height: 20px;
background: #fff;
margin-right: 10px;
}
.custom-input span::after {
width: 10px;
height: 10px;
background: $blue;
position: absolute;
top: 5px;
left: 5px;
opacity: 0;
transition: all 0.3s;
}
.custom-input input:checked ~ span::after {
opacity: 1;
}
.form__submit {
display: flex;
justify-content: center;
}
.form__links {
text-align: center;
}
.form__links a {
text-decoration: underline;
}
.form__links a:hover {
text-decoration: none;
}
.form-message {
box-sizing: border-box;
width: 504px;
max-width: 100%;
padding: 40px 40px;
background: $beige-d;
text-align: center;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: 2;
}
.form-message__title {
margin-bottom: 10px;
}
.form-message__btn {
margin: 25px auto 0;
}
.form-result {
box-sizing: border-box;
width: 100%;
height: 100%;
padding: 110px 40px 40px;
text-align: center;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.form-result::after {
content: '';
display: block;
width: 100%;
height: 100%;
background: $beige-l;
opacity: 0.9;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.form-result__image {
margin-bottom: 20px;
}
.form-result__title {
margin-bottom: 15px;
}
.form__upload-field {
width: 100%;
display: flex;
align-items: center;
}
.form__upload-field input[type="file"] {
display: none;
}
.form__upload-button {
flex: 0 0 auto;
font-size: 16px;
text-transform: unset;
height: 38px;
}
.auth-form {
box-sizing: border-box;
width: 346px;
max-width: 90%;
padding-top: 15px;
margin: 0 auto 90px;
}
.auth-form_register {
width: 632px;
}
.auth-form__form {
box-sizing: border-box;
width: 100%;
padding: 40px;
background: $beige-d;
}
.auth-form__links-wrap {
width: 346px;
max-width: 100%;
margin: 0 auto;
overflow: hidden;
}
.auth-form__links {
padding-top: 20px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 -16px;
}
.auth-form__links a {
margin: 0 16px;
text-transform: unset;
font-size: 16px;
}
.auth-form__links a.btn {
height: 38px;
}
.auth-form__links a:not(.btn):hover {
text-decoration: underline;
}
/* form END */
/* icons START */
.icon {
flex: 0 0 auto;
display: block;
width: 32px;
height: 32px;
background-position: center center;
background-repeat: no-repeat;
position: relative;
}
.icon_search {
background-image: url(../img/icon_search.png);
}
.icon_cart {
background-image: url(../img/icon_cart.png);
}
.icon_profile {
background-image: url(../img/icon_profile.png);
}
.icon__count {
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-radius: 100%;
font-size: 10px;
color: $blue;
height: 14px;
width: 14px;
position: absolute;
top: 4px;
left: -8px;
}
/* icons END */
/* menu trigger START */
.menu-trigger {
display: flex;
align-items: center;
cursor: pointer;
margin-right: 40px;
}
.menu-trigger__lines {
flex: 0 0 auto;
width: 34px;
cursor: pointer;
margin-right: 10px;
}
.menu-trigger__lines i {
display: block;
width: 100%;
height: 4px;
border-radius: 10px;
background: $green;
position: relative;
transition: all 0.3s;
transform-origin: 50% 50%;
margin: 0 auto;
}
.menu-trigger__lines i:nth-child(2) {
margin-top: 6px;
margin-bottom: 6px;
}
.menu-trigger__text {
text-transform: uppercase;
color: #fff;
transition: all 0.3s;
}
.menu-trigger.active .menu-trigger__lines i:nth-child(2) {
transform: rotateY(90deg);
}
.menu-trigger.active .menu-trigger__lines i:nth-child(1) {
transform: translate3d(0, 10px, 0) rotate(45deg);
}
.menu-trigger.active .menu-trigger__lines i:nth-child(3) {
transform: translate3d(0, -10px, 0) rotate(-45deg);
}
.menu-trigger:hover .menu-trigger__text {
color: $green;
}
/* menu trigger END */
/* slider START */
.swiper-container {
height: auto;
}
.swiper-wrapper {
height: auto;
}
.swiper-slide {
height: auto;
}
.slider-pagination {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 2;
}
.slider-bullet {
flex: 0 0 auto;
width: 20px;
height: 20px;
border-radius: 100%;
background: #fff;
margin: 0 5px;
cursor: pointer;
transition: all 0.3s;
}
.slider-bullet:not(.slider-bullet_active):hover {
background-color: $blue;
}
.slider-bullet_active {
background-color: $green;
cursor: default;
}
.swiper-nav {
display: flex;
justify-content: space-between;
position: relative;
}
.swiper-nav__arrow {
display: block;
width: 46px;
height: 46px;
background: url(../img/arrow_prev.png) 40% center no-repeat;
background-size: 39%;
background-color: $brown;
border-radius: 100%;
cursor: pointer;
transition: all 0.3s;
}
.swiper-nav__arrow_next {
background-image: url(../img/arrow_next.png);
background-position: 60% center;
}
.swiper-nav__arrow:not(.disabled):hover {
background-color: $green;
}
.swiper-nav__arrow.disabled {
opacity: 0.5;
cursor: default;
}
/* slider END */
/* search form START */
.search-form {
display: flex;
align-items: center;
width: 285px;
height: 38px;
position: relative;
background: #fff;
}
.search-form__icon {
padding: 0 6px;
}
input.search-form__input {
padding-left: 5px;
}
.search-form__btn {
flex: 0 0 auto;
box-sizing: border-box;
width: 43px;
height: 100%;
font-size: 16px;
}
/* search form END */
/* breadcrumbs START */
.breadrumbs__wrapper {
display: flex;
}
.breadrumbs__inner {
min-height: 90px;
display: flex;
flex-flow: row wrap;
align-items: center;
font-weight: 500;
margin-bottom: 10px;
}
.breadrumbs__inner > * {
margin: 5px 0;
margin-right: 5px;
}
.breadrumbs__inner a:hover {
text-decoration: underline;
}
.breadrumbs__arrow {
font-family: monospace;
}
/* breadcrumbs END */
.left__offset {
width: 150px;
padding-right: 30px;
min-height: 1px;
}
/* tc-text START */
.tc-text__text {
columns: 2;
column-gap: 80px;
text-align: justify;
font-weight: 500;
}
.tc-text__readmore {
margin: 10px 0 0 auto;
display: none;
}
/* tc-text END */
/* top-block START */
.top-block {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 0;
margin-bottom: 5px;
}
/* top-block END */
/* header START */
.header {
position: static;
top: 0;
z-index: 10;
}
.header__container {
padding: 25px 0;
background: $blue;
}
.header__inner {
display: flex;
align-items: center;
}
.header__block {
display: flex;
align-items: center;
flex: 1;
}
.header__block_middle {
flex: 0 0 auto;
justify-content: center;
}
.header__block_right {
justify-content: flex-end;
}
.header__logo {
display: block;
width: 100%;
height: 36px;
position: relative;
z-index: 2;
}
.header__logo img {
position: absolute;
top: -15px;
left: 0;
transform: translateX(-55%);
max-width: unset;
}
.header-actions {
display: flex;
align-items: center;
color: #fff;
text-transform: uppercase;
}
.header-actions__item {
display: flex;
align-items: center;
cursor: pointer;
transition: all 0.3s;
}
.header-actions__item:hover {
color: $green;
}
.header-actions__item:not(:last-child) {
margin-right: 30px;
}
.header-actions__item-icon {
margin-right: 10px;
}
/* header END */
/* menu START */
.menu {
display: none;
}
.menu__container {
padding: 30px 0;
background: $beige-d;
}
.menu__inner {
display: flex;
flex-flow: row wrap;
}
.menu-block:not(:last-child) {
margin-right: 75px;
}
.menu-block__title {
font-style: italic;
color: $green;
margin-bottom: 5px;
}
.menu-block__list li {
display: block;
}
.menu-block__list li:not(:last-child) {
margin-bottom: 5px;
}
.menu-block__list li a {
display: flex;
align-items: center;
text-transform: uppercase;
color: $blue;
transition: all 0.3s ease-in-out;
}
.menu-block__list li a:hover {
transform: translateX(10px);
}
.menu-block__list li a::before {
content: '';
display: block;
width: 7px;
height: 12px;
background: url(../img/menu-arrow.png) center center no-repeat;
margin-right: 10px;
transform: translateY(-1px);
}
/* menu END */
/* footer START */
.footer {
padding: 35px 0;
background: $blue;
color: #fff;
margin-top: auto;
}
.footer-links {
display: flex;
align-items: center;
justify-content: center;
flex-flow: row wrap;
}
.footer-links li {
display: flex;
position: relative;
padding: 0 22px;
}
.footer-links li::before,
.footer-links li::after {
content: '';
display: block;
width: 1px;
height: 14px;
background: #fff;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
.footer-links li::after {
left: unset;
right: 0;
}
.footer-links li:first-child::before {
display: none;
}
.footer-links li:last-child::after {
display: none;
}
.footer-links li a:hover {
text-decoration: underline;
}
/* footer END */
/* mainslider START */
.mainslider {
position: relative;
}
.mainslider-item {
display: flex;
justify-content: flex-end;
align-items: flex-start;
width: 100%;
min-height: 450px;
box-sizing: border-box;
padding: 50px 35px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
color: #fff;
}
.mainslider-item__block {
box-sizing: border-box;
width: 482px;
max-width: 100%;
padding: 40px;
position: relative;
z-index: 1;
}
.mainslider-item__block::after {
content: '';
display: block;
width: 100%;
height: 100%;
background: $blue;
opacity: 0.9;
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
.mainslider-item__title {
color: #fff;
margin-bottom: 15px;
}
.mainslider-item__btn {
font-size: 16px;
margin-top: 30px;
}
.mainslider__pagination {
position: absolute;
bottom: 20px;
left: 0;
}
/* mainslider END */
/* steps START */
.steps__list {
display: flex;
justify-content: center;
}
.steps__item {
box-sizing: border-box;
flex: 0 0 auto;
width: calc(25% - 33px);
padding: 0 20px;
text-align: center;
position: relative;
z-index: 1;
}
.steps__item_arrow {
display: flex;
align-items: flex-end;
width: 33px;
padding: 0 0 20px;
}
.steps__item-num {
font-size: 16rem;
font-family: 'Berkshire Swash', sans-serif;
color: #e2d6c2;
opacity: 0.75;
position: absolute;
left: 50%;
transform: translateX(-110%);
top: 20%;
line-height: 0;
z-index: -1;
display: none;
}
.steps__item_2 .steps__item-num,
.steps__item_4 .steps__item-num {
transform: translateX(0);
}
.steps__item-image {
display: flex;
align-items: flex-end;
justify-content: center;
height: 170px;
margin-bottom: 20px;
}
.steps__item-image img {
max-height: 100%;
}
.steps__item-text {
font-weight: 500;
}
/* steps END */
/* related products slider START */
.rp-slider {
margin-bottom: 10px;
}
.rp-slider .swiper-slide {
width: auto;
}
.rp-slider__item {
text-align: center;
max-width: 100%;
/*width: 255px;*/
width: 100%;
background: #fff;
position: relative;
}
.rp-slider__item-title {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
height: 84px;
padding: 0 15px;
line-height: initial;
background: #fff;
}
.rp-slider__item-image {
width: 100%;
height: 212px;
background: $blue;
position: relative;
}
.rp-slider__item-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.rp-slider__item-image::before {
content: '';
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 1;
background: $blue;
opacity: 0.5;
transition: all 0.3s;
}
.rp-slider__item:hover .rp-slider__item-image::before {
opacity: 0;
}
.rp-slider__item-btn {
position: absolute;
left: 50%;
bottom: 80px;
transform: translateX(-50%);
z-index: 2;
}
.rp-slider .swiper-nav__arrow {
position: absolute;
bottom: 80px;
left: -65px;
z-index: 3;
}
.rp-slider .swiper-nav__arrow_next {
left: unset;
right: -65px;
}
/* related products slider END */
/* main products START */
.related-products__row {
display: flex;
flex-flow: row wrap;
margin: 0 -12px -15px;
}
.related-products__row-block {
box-sizing: border-box;
flex: 18%;
padding: 0 12px;
margin-bottom: 25px;
}
.related-products__row-block_wide {
flex: 35%;
}
.related-products__item {
box-sizing: border-box;
/*width: 216px;*/
width: 100%;
height: 346px;
padding: 20px;
background: #fff;
}
.related-product__title {
display: block;
text-align: center;
height: 50px;
overflow: hidden;
margin-bottom: 15px;
}
.related-product__title:hover {
text-decoration: underline;
}
.related-product__image {
display: flex;
align-items: center;
justify-content: center;
height: 180px;
margin-bottom: 20px;
}
.related-product__image img {
max-height: 100%;
}
.related-product__bottom {
display: flex;
align-items: center;
justify-content: space-between;
}
.related-product__price {
font-size: 18px;
font-weight: 500;
padding-right: 10px;
}
.related-product .related-product__btn {
flex: 0 0 auto;
padding: 0;
width: 52px;
height: 48px;
background-image: url(../img/icon_cart-white.png);
background-repeat: no-repeat;
background-position: center center;
}
.related-products__image {
/*width: 417px;*/
/*min-height: 346px;*/
padding: 0;
}
.related-products__image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
}
.related-products-mobile__slider {
position: relative;
margin-bottom: 40px;
}
.related-products-mobile__slider::before {
content: '';
display: block;
width: 15%;
height: 100%;
position: absolute;
top: 0;
right: 0;
z-index: 2;
background: -moz-linear-gradient(left, rgba(244,240,233,0) 0%, rgba(244,240,233,1) 100%);
background: -webkit-linear-gradient(left, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%);
background: linear-gradient(to right, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f4f0e9', endColorstr='#f4f0e9',GradientType=1 );
}
.related-products-mobile__btn {
margin: 0 auto;
}
.related-products-mobile__nav .swiper-nav__arrow {
position: absolute;
bottom: 160px;
z-index: 3
}
.related-products-mobile__nav .swiper-nav__arrow.disabled {
visibility: hidden;
}
.related-products-mobile__nav .swiper-nav__arrow_prev {
left: -35px;
}
.related-products-mobile__nav .swiper-nav__arrow_next {
right: -35px;
}
.related-products-mobile__slider .swiper-slide {
width: auto;
}
/* main products END */
/* engagements START */
.engagements__list {
display: flex;
justify-content: center;
flex-flow: row wrap;
padding-top: 20px;
}
.engagements__item {
box-sizing: border-box;
width: 25%;
padding: 0 15px;
text-align: center;
}
.engagements-item__image {
display: flex;
justify-content: center;
align-items: flex-end;
height: 165px;
margin-bottom: 15px;
}
.engagements-item__image img {
max-height: 100%;
}
.engagements-item__title {
margin-bottom: 5px;
}
.engagements-item__text {
font-weight: 500;
}
/* engagements START */
/* subscribe START */
.subscribe {
padding-top: 20px;
}
.subscribe__block {
display: flex;
align-items: center;
justify-content: space-between;
background: $green;
padding: 20px;
}
.subscribe__title {
color: #fff;
}
.subscribe__form {
display: flex;
align-items: center;
}
.subscribe__form input {
width: 365px;
}
.subscribe button {
height: 38px;
text-transform: unset;
}
/* subscribe END */
/* hero banner START */
.hero-banner__wrapper {
height: 250px;
}
.hero-banner__wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
}
/* hero banner END */
/* mentios START */
.mentios-page {
padding-bottom: 90px;
}
/* mentios END */
/* contacts START */
.contact-page {
padding-bottom: 90px;
}
.contact-page__content {
padding-top: 15px;
}
.contact-page__row {
display: flex;
}
.contact-page__row-block {
flex: 1;
padding: 0 20px;
}
.contacts__text {
text-align: justify;
margin-bottom: 20px;
}
.contacts__blocks {
margin-bottom: 25px;
}
.contacts__block {
display: flex;
margin-bottom: 10px;
}
.contacts__block-name {
width: 125px;
max-width: 30%;
padding-right: 20px;
}
.contacts__map {
box-sizing: border-box;
border: 1px solid #b2b2b2;
}
/* contacts END */
/* accordeon START */
.accordeon {
background: $beige-d;
margin-bottom: 25px;
}
.accordeon-block:not(:last-child) {
border-bottom: 1px solid $beige-d;
}
.accordeon-block__title {
display: flex;
align-items: center;
padding: 9px 0;
background: #fff;
cursor: pointer;
}
.accordeon-block__title-text {
padding: 0 10px;
transition: all 0.3s;
}
.accordeon-block__title:hover .accordeon-block__title-text {
color: $green;
}
.accordeon-block__title-arrow {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
margin-left: auto;
}
.accordeon-block__title-arrow::before {
content: '';
display: block;
width: 12px;
height: 21px;
background: url(../img/accordeon__arrow.png) center center no-repeat;
transform: rotate(0);
transition: all 0.3s;
}
.accordeon-block.active .accordeon-block__title-arrow::before {
transform: rotate(90deg);
}
.accordeon-block__content {
display: none;
}
.accordeon-block__content-inner {
padding: 20px;
font-weight: 500;
}
/* accordeon END */
.flex-row {
display: flex;
margin: 0 -20px;
}
.flex-row__block {
flex: 1;
width: 100%;
margin: 0 20px;
}
.block-about {
padding-bottom: 20px;
border-bottom: 1px solid $beige-d;
}
.block-about__title {
text-align: left;
}
.block-about__title_mobile {
display: none;
}
.block-about__description {
text-align: justify;
font-weight: 500;
}
/* product START */
.product__block {
padding-bottom: 65px;
}
.product__info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 0;
font-weight: 500;
}
.product__trade {
display: flex;
flex-flow: row wrap;
align-items: center;
padding: 15px 0;
margin-bottom: 25px;
}
.product__price {
margin-right: auto;
}
.product__qty {
display: flex;
width: 73px;
margin-right: 20px;
}
.product__qty-btn {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
padding: 0 6px;
background: #fff;
font-weight: 500;
font-size: 18px;
cursor: pointer;
}
.product__qty-btn:hover {
color: $green;
}
input.product__qty-input {
text-align: center;
padding: 0 !important;
height: 48px;
}
.product__image {
display: flex;
justify-content: center;
align-items: flex-start;
margin-bottom: 40px;
}
.product-benefits {
overflow: hidden;
}
.product-benefits__title {
margin-bottom: 15px;
}
.product-benefits__list {
display: flex;
flex-flow: row wrap;
justify-content: center;
margin: 0 -17px;
}
.product-benefits__item {
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
width: 255px;
height: 87px;
padding: 20px;
background: #fff;
margin: 0 17px 30px;
}
.product-benefits__item-image {
flex: 0 0 auto;
max-width: 50px;
margin-right: 10px;
}
.product-benefits__item-text {
font-family: 'Berkshire Swash', sans-serif;
font-size: 18px;
color: $blue;
}
.product__related-products .related-products__list {
padding-top: 5px;
}
/* product END */
/* category START */
.category__main {
margin-bottom: 40px;
}
.category__image {
display: flex;
justify-content: center;
align-items: flex-start;
}
.category-page .block-about {
border: 0;
}
.product-list {
display: flex;
flex-flow: row wrap;
}
.product-list__block {
box-sizing: border-box;
flex: 25%;
padding: 0 20px;
}
.product-list__block_wide {
flex: 50%;
}
.pl-item {
box-sizing: border-box;
max-width: 100%;
width: 255px;
height: 346px;
padding: 20px;
background: #fff;
margin: 0 0 40px;
}
.pl-item__title {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 10px;
height: 50px;
overflow: hidden;
margin-bottom: 15px;
}
.pl-item__title:hover {
text-decoration: underline;
}
.pl-item__image {
display: flex;
align-items: center;
justify-content: center;
height: 175px;
max-height: 60%;
margin-bottom: 20px;
}
.pl-item__image img {
max-height: 100%;
}
.pl-item__bottom {
display: flex;
align-items: center;
justify-content: space-between;
}
.pl-item__price {
font-size: 18px;
font-weight: 500;
padding-right: 10px;
}
.pl-item__newprice {
font-family: 'Roboto', sans-serif;
}
.pl-item__btn {
flex: 0 0 auto;
padding: 0;
width: 52px;
height: 48px;
background-image: url(../img/icon_cart-white.png);
background-repeat: no-repeat;
background-position: center center;
}
.pl-item__block {
display: flex;
}
.pl-item__panel {
padding: 7px 20px 6px;
font-size: 14px;
color: #fff;
background: $green;
text-transform: uppercase;
}
.pl-item__content {
box-sizing: border-box;
padding: 10px 20px 20px;
}
.pl-item__row {
display: flex;
margin: 0 -20px;
}
.pl-item__row-block {
box-sizing: border-box;
flex: 1;
padding: 0 20px;
}
.pl-item-description {
font-weight: 500;
height: 120px;
overflow: hidden;
margin-bottom: 30px;
}
.pl-item_wide {
width: 550px;
max-width: 100%;
min-width: 100%;
padding: 0;
}
.pl-item_wide .pl-item__image {
box-sizing: border-box;
flex: 50%;
height: auto;
min-height: 180px;
}
.pl-item_wide .pl-item__title {
text-align: left;
height: 75px;
padding: 0;
max-width: 85%;
font-size: 24px;
}
.pl-item_offre {
padding: 0;
}
.pl-item_offre .pl-item__image {
height: 150px;
max-height: 45%;
}
.pl-item_offre .pl-item__bottom {
padding: 0 10px;
flex-flow: row wrap;
}
.pl-item_offre .pl-item__price {
text-decoration: line-through;
}
.pl-recipe {
display: flex;
flex-direction: column;
padding: 0 !important;
}
.pl-recipe__title {
flex: 0 0 auto;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
background: $blue;
color: #fff;
font-family: 'Berkshire Swash', sans-serif;
font-size: 18px;
height: 64px;
}
.pl-recipe__content {
flex: 1;
display: flex;
flex-direction: column;
position: relative;
z-index: 1;
padding: 75px 25px 20px;
text-align: center;
}
.pl-recipe__content::after {
content: '';
display: block;
width: 100%;
height: 100%;
background: $blue;
position: absolute;
left: 0;
top: 0;
z-index: -1;
opacity: 0.5;
}
.pl-recipe__image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
position: absolute;
top: 0;
left: 0;
z-index: -2;
}
.pl-recipe__text {
color: #fff;
}
.pl-recipe__btn {
padding-left: 15px;
padding-right: 15px;
width: 100%;
margin-top: auto;
}
.category-page .related-products {
background: $beige-d;
padding-top: 25px;
}
/* category END */
/* pagination START */
.pagination {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 50px;
}
.pagination__block {
margin: 0 50px;
}
.pagination-nav {
display: flex;
align-items: center;
font-family: 'Berkshire Swash', sans-serif;
font-size: 16px;
color: $blue;
cursor: pointer;
}
.pagination-nav:hover {
text-decoration: underline;
}
.pagination-nav__arrow {
flex: 0 0 auto;
display: block;
width: 7px;
height: 12px;
background: url(../img/nav_prev.png) center center no-repeat;
margin: 0 10px;
}
.pagination-nav_next .pagination-nav__arrow {
background-image: url(../img/nav_next.png);
}
.pagination-pages {
display: flex;
align-items: center;
}
.pagination-pages__item {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
color: $blue;
border-radius: 100%;
line-height: 1.1;
}
.pagination-pages__item.current {
color: #fff;
background: $blue;
cursor: default;
}
.pagination-pages__item:not(.current):hover {
color: $green;
}
/* pagination END */
.btn-mobile-wrapper {
display: flex;
justify-content: center;
padding-top: 5px;
}