* { box-sizing: border-box; } body { background-color: #fff; font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 300; line-height: 1.5; } strong { font-weight: 700; } #app { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; & > main.main { flex-grow: 1; .main__row { display: flex; justify-content: space-between; @media (max-width: 1024px) { flex-direction: column; } & > div { flex-grow: 1; } } } } .container { display: block; width: 100%; max-width: 1200px; padding: 0 15px; margin: 0 auto; } .jGrowl { z-index: 99999 !important; } /* ------ .btn ------ */ .btn { display: inline-flex; justify-content: center; align-items: center; padding: 10px 25px; border: 1px solid transparent; border-radius: 30px; background-color: #ddd; color: #333; font-size: 18px; font-weight: 400; text-decoration: none; cursor: pointer; &.btn-primary { background-color: #b08968; color: #fff; } } /* ------ .section-title ------ */ .section-title { display: block; h2 { padding: 0; margin: 0; font-size: 45px; font-weight: 900; line-height: 1.2; color: #333; @media (max-width: 768px) { font-size: 30px; } span { color: #b08968; } } } /* ------ header.header ------ */ header.header { .header__row { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; .header__logo { @media (max-width: 1024px) { flex-grow: 1; } a { text-decoration: none; border: none; outline: none; img { width: auto; height: 50px; } } } .header__item.item { position: relative; display: flex; align-items: center; .item__icon { margin-right: 20px; a { display: flex; align-items: center; svg { width: 25px; height: 25px; path { fill: #B08968; } } } } .item__title, .item__content { a { display: flex; align-items: center; font-size: 18px; color: #B08968; svg { margin-left: 5px; width: 14px; height: 14px; path { fill: #333; } } } } } .header__item.address { @media (max-width: 768px) { display: none; } .item__title { @media (max-width: 1024px) { display: none; } } } .header__item.phone { .item__title { @media (max-width: 1024px) { display: none; } } } .header__item.cart { .item__content { @media (max-width: 640px) { display: none; } } } ul.regions-list { position: absolute; z-index: 999; left: 0; top: calc(100% + 20px); background-color: #EDE0D4; margin: 0; padding: 15px 0; width: 250px; border-radius: 7px; li { list-style: none; a { display: block; padding: 10px 30px; } } } .header__action { @media (max-width: 1024px) { display: none; } } .mobile-menu-button { display: none; width: 30px; height: 25px; margin-left: 30px; @media (max-width: 1024px) { display: flex; flex-direction: column; justify-content: space-between; } @media (max-width: 640px) { margin-left: 10px; } span { display: block; width: 30px; height: 4px; background-color: #B08968; border-radius: 4px; } } } } /* ------ .mobile-menu ------ */ .mobile-menu { position: fixed; z-index: 99999; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100vh; overflow-y: scroll; background-color: #fff; .mobile-menu__close { position: absolute; top: 15px; right: 15px; cursor: pointer; svg { width: 40px; height: 40px; path { fill: #B08968; } } } .mobile-menu__wrapper { padding: 30px; .mobile-menu__logo { a { img { width: auto; height: 50px; } } } .mobile-menu__menu { padding: 30px 0; ul { margin: 0; padding: 0; li { list-style: none; a { display: block; padding: 5px 0; font-size: 18px; } } } } .mobile-menu__item.item { position: relative; display: flex; align-items: center; margin-bottom: 15px; .item__icon { margin-right: 20px; a { display: flex; align-items: center; svg { width: 25px; height: 25px; path { fill: #B08968; } } } } .item__title, .item__content { a { display: flex; align-items: center; font-size: 18px; color: #B08968; svg { margin-left: 5px; width: 14px; height: 14px; path { fill: #333; } } } } } ul.regions-list { background-color: #EDE0D4; margin: 0 0 30px 0; padding: 15px 0; width: 250px; border-radius: 7px; li { list-style: none; a { display: block; padding: 10px 30px; } } } } } /* ------ nav.primary-menu ------ */ nav.primary-menu { @media (max-width: 1024px) { display: none; } .container { & > ul { margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; border-bottom: 1px solid #333; & > li { position: relative; & > a { display: block; padding: 20px 0; font-size: 18px; color: #333; text-decoration: none; } & > ul { display: none; } &:hover > ul { display: block; position: absolute; z-index: 999; top: 100%; left: -20px; margin: 0; padding: 20px; background-color: #EDE0D4; min-width: 300px; & > li { list-style: none; a { color: #333; text-decoration: none; display: block; padding: 10px 0; } } } } } } } /* ------ nav.breadcrumbs ------ */ nav.breadcrumbs { padding: 20px 0; ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; } } /* ------ section.promo ------ */ section.promo { position: relative; background: #fff; .promo__slider { .promo__slide.item { height: 650px; padding: 60px 0 80px; background-position: center center; background-size: cover; background-repeat: no-repeat; transition: background-position 700ms linear; @media (max-width: 1440px) { padding-left: 100px; padding-right: 100px; } @media (max-width: 1024px) { padding-left: 70px; padding-right: 70px; } @media (max-width: 768px) { padding-left: 0; padding-right: 0; } .item__suptitle { width: 50%; font-size: 26px; font-weight: 400; color: #b08968; } .item__title { width: 50%; padding: 20px 0 40px; font-size: 55px; font-weight: 900; line-height: 1; @media (max-width: 1024px) { width: 75%; font-size: 40px; } @media (max-width: 768px) { width: 90%; font-size: 30px; } } .item__subtitle { width: 50%; font-weight: 400; @media (max-width: 1024px) { width: 75%; } @media (max-width: 768px) { width: 90%; } } .item__action { margin-top: 30px; } } } .promo__slider-next, .promo__slider-prev { top: calc(50% - 30px); width: 50px; height: 50px; background-color: #B08968; color: #fff; border-radius: 100%; &::after { font-size: 16px; font-weight: bold; } @media (max-width: 768px) { display: none; } } .promo__slider-prev { left: 60px; @media (max-width: 1440px) { left: 15px; } } .promo__slider-next { right: 60px; @media (max-width: 1440px) { right: 15px; } } } /* ------ section.stone-catalog ------ */ section.stone-catalog { &.home { padding: 50px 0 100px; } .stone-catalog__list { display: flex; flex-wrap: wrap; margin: 30px -15px 0; a.stone-catalog__item.item { flex: 0 0 calc(25% - 30px); margin: 15px; color: #333; text-decoration: none; @media (max-width: 1024px) { flex: 0 0 calc(50% - 30px); } @media (max-width: 640px) { flex: 0 0 calc(100% - 30px); } .item__wrapper { position: relative; height: 400px; border: 5px solid #fff; outline: 1px solid #b08968; border-radius: 7px; overflow: hidden; background-position: center center; background-repeat: no-repeat; background-size: auto 100%; transition: background-size 500ms; .item__info { position: absolute; width: 100%; left: 0; right: 0; bottom: 40px; background-color: #fff; padding: 15px; text-align: center; .item__title { font-size: 25px; font-weight: 900; } .item__price { font-weight: 400; } } } &:hover { .item__wrapper { background-size: auto 120%; } } } } } /* ------ section.catalog-items ------ */ section.catalog-items { .catalog-items__list { display: flex; flex-wrap: wrap; margin: 0 -15px; .catalog-items__item.item { flex: 0 0 calc(33.333% - 30px); margin: 15px; border: 5px solid #fff; outline: 1px solid #b08968; border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; .item__image { height: 300px; background-position: center center; background-repeat: no-repeat; background-size: auto 100%; } .item__info { flex-grow: 1; background-color: #fff; padding: 15px; text-align: center; .item__title { font-size: 25px; font-weight: 900; line-height: 1.2; margin-bottom: 15px; } .item__price { font-weight: 400; } } .item__action { text-align: center; margin-bottom: 15px; } } } } /* ------ section.about-info ------ */ section.about-info { padding: 50px 0; background-color: #ede0d4; .about-info__row { display: flex; justify-content: space-between; align-items: center; @media (max-width: 640px) { flex-direction: column; } .about-info__left { position: relative; display: flex; align-items: center; justify-content: flex-end; font-size: 45px; font-weight: 900; flex: 0 0 210px; margin-right: 80px; @media (max-width: 1024px) { display: none; } .rect-1 { position: absolute; z-index: 1; left: 0; display: block; width: 160px; height: 100px; background-color: #e6ccb2; border-radius: 7px; } .rect-2 { position: absolute; z-index: 2; left: 50px; display: block; width: 140px; height: 200px; border: 2px solid #fff; border-radius: 7px; } .title { position: relative; z-index: 3; } } .about-info__num { padding: 30px; border-right: 2px solid #fff; &:last-child { border-right: unset; padding-right: 0; } @media (max-width: 640px) { border-right: unset; text-align: center; padding: 30px 0; } .about-info__title { font-size: 35px; font-weight: 900; } .about-info__description { color: #b08968; font-weight: 700; } } } } /* ------ section.goods ------ */ section.goods { padding: 50px 0; &.home { padding: 75px 0 100px; } .section-title { margin-bottom: 30px; } .goods__list { display: flex; flex-wrap: wrap; margin: 0 -15px; a.goods__item.item { display: block; flex: 0 0 calc(50% - 30px); margin: 15px; color: #333; text-decoration: none; @media (max-width: 768px) { flex: 0 0 calc(100% - 30px); } .item__wrapper { position: relative; height: 400px; border: 5px solid #fff; outline: 1px solid #b08968; border-radius: 7px; overflow: hidden; background-position: center center; background-size: 100% 100%; background-repeat: no-repeat; transition: background-size 500ms; .item__info { position: absolute; width: 75%; left: 0; bottom: 40px; background-color: #fff; padding: 25px 15px; text-align: center; border-top-right-radius: 30px; border-bottom-right-radius: 30px; .item__title { font-size: 25px; font-weight: 900; } .item__price { font-weight: 400; } } } &:hover { .item__wrapper { background-size: 120% 120%; } } } } } /* ------ section.stone-advantages ------ */ section.stone-advantages { padding: 50px 0 75px; background: #f3e7cf url("/assets/template/images/stone-background.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; .section-title { margin-bottom: 50px; h2 { text-align: center; line-height: 1.2; } } .stone-advantages__list { display: flex; flex-wrap: wrap; .stone-advantages__item.item { position: relative; flex: 0 0 33.333%; padding: 30px; min-height: 150px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; &:nth-child(3n) { border-right: unset; } &:nth-child(4n), &:nth-child(5n), &:nth-child(6n) { border-bottom: unset; } @media(max-width: 1024px) { flex: 0 0 50%; border: none; } @media(max-width: 768px) { flex: 0 0 100%; } @media(max-width: 640px) { padding: 30px 0; } .item__number { margin-bottom: 15px; font-size: 50px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 5px 5px 30px rgba(0, 0, 0, 0.15); } .item__title { position: relative; z-index: 2; font-size: 24px; font-weight: 900; margin-bottom: 20px; color: #333; line-height: 1; } .item__description { position: relative; z-index: 2; } } } } /* ------ section.portfolio-slider ------ */ section.portfolio-slider { padding: 75px 0 100px; .section-title { margin-bottom: 50px; } .portfolio-slider__slide.slide { .slide__row { display: flex; align-items: stretch; @media (max-width: 768px) { display: block; } .slide__left { flex: 0 0 calc(60% - 60px); margin-right: 60px; min-width: 0; min-height: 0; border: 1px solid #b08968; border-radius: 7px; padding: 5px; @media (max-width: 768px) { margin-right: unset; margin-bottom: 30px; } img { width: 100%; height: auto; } } .slide__right { position: relative; flex: 0 0 calc(40%); display: flex; align-items: center; .slide__content { .slide__count { font-size: 35px; font-weight: 700; margin-bottom: 50px; } .slide__title { margin-bottom: 30px; } .slide__type, .slide__area, .slide__materials { margin-bottom: 10px; } .slide__action { margin-top: 50px; } } } } } .portfolio-slider__next, .portfolio-slider__prev { top: 22px; left: unset; right: 0 !important; height: auto; color: #333; svg { width: 30px !important; height: 30px !important; } &::after { display: none; } } .portfolio-slider__prev { margin-right: 50px; } .swiper-pagination { bottom: 20px; } .swiper-pagination-bullet { width: 20px; height: 20px; text-align: center; line-height: 20px; font-size: 14px; font-weight: 400; opacity: 1; background-color: #b08968; color: #fff; } .swiper-pagination-bullet-active { background-color: #fff; color: #333; } .portfolio-slider-images__next, .portfolio-slider-images__prev { background-color: #b08968; width: 40px; height: 40px; color: #fff; border-radius: 100%; &::after { font-size: 18px; } } } /* ------ section.portfolio ------ */ section.portfolio { padding: 50px 0; &.home { padding: 75px 0 100px; } .section-title { margin-bottom: 30px; } .portfolio__list { display: flex; flex-wrap: wrap; margin: 0 -15px; a.portfolio__item.item { display: block; flex: 0 0 calc(50% - 30px); margin: 15px; color: #333; text-decoration: none; @media(max-width: 768px) { flex: 0 0 calc(100% - 30px); } .item__wrapper { position: relative; height: 400px; border: 5px solid #fff; outline: 1px solid #b08968; border-radius: 7px; overflow: hidden; background-position: center center; background-size: auto 100%; background-repeat: no-repeat; transition: background-size 500ms; .item__info { position: absolute; width: 75%; left: 0; bottom: 40px; background-color: #fff; padding: 25px 15px; text-align: center; border-top-right-radius: 30px; border-bottom-right-radius: 30px; .item__title { font-size: 25px; font-weight: 900; } .item__price { font-weight: 400; } } } &:hover { .item__wrapper { background-size: auto 120%; } } } } } /* ------ section.portfolio-top ------ */ section.portfolio-top { .portfolio-top__row { display: flex; margin: 0 -30px; @media (max-width: 1024px) { margin: 0; } .portfolio-top__image { flex: 0 0 calc(60% - 60px); margin: 30px; padding: 5px; border: 1px solid #b08968; border-radius: 15px; display: flex; align-items: center; @media (max-width: 1024px) { margin: 30px 0; flex: 0 0 calc(100%); } img { width: 100%; height: auto; border-radius: 10px; } } .portfolio-top__form { flex: 0 0 calc(40% - 60px); margin: 30px; padding: 30px; background-color: #ede0d4; border-radius: 15px; @media (max-width: 1024px) { display: none; } h2 { color: #b08968; font-size: 30px; font-weight: 900; } .form { label { color: #333; } input[type="text"] { border-radius: 7px; } } } } } /* ------ section.portfolio-gallery ------ */ section.portfolio-gallery { .portfolio-gallery__row { display: flex; flex-wrap: wrap; margin: 0 -15px; .portfolio-gallery__item { flex: 0 0 calc(25% - 30px); margin: 15px; img { width: 100%; height: auto; } } } } /* ------ section.portfolio-action ------ */ section.portfolio-action { text-align: center; margin-top: 50px; } /* ------ section.callform ------ */ section.callform { background: #9c6644 url("/assets/template/images/callform-bg.jpg") no-repeat center center; background-size: cover; @media (max-width: 768px) { background-position: top right; background-size: auto; } .callform__row { display: flex; @media (max-width: 768px) { flex-direction: column; } .callform__title { color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 30px 30px 30px 0; h2 { font-size: 45px; font-weight: 900; margin: 0; } p { font-size: 18px; font-weight: 400; } a { color: #fff; font-size: 30px; font-weight: 700; } } .callform__wrapper { background-color: #fff; padding: 0 20px; @media (max-width: 768px) { padding: 0; margin: 0 -15px; } .callform__form { background: #f3e7cf url("/assets/template/images/stone-background.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; padding: 30px; .form { input { border-radius: 7px; border: none; outline: none; } } } } } } /* ------ section.content ------ */ section.content { padding: 30px 0; h1.page-title { font-size: 45px; font-weight: 900; line-height: 1.2; color: #333; @media(max-width: 640px) { font-size: 35px; } } } /* ------ footer.footer ------ */ footer.footer { margin-top: 50px; background-color: #7f5539; color: #fff; .footer__row { padding: 50px 0; display: flex; @media (max-width: 1024px) { flex-direction: column; } .footer__logo { margin-right: 100px; margin-bottom: 30px; a { text-decoration: none; border: none; outline: none; img { width: auto; height: 50px; } } } .footer__middle { display: flex; margin-bottom: 30px; @media (max-width: 640px) { flex-direction: column; } .footer__menu { margin-right: 60px; min-width: 200px; .footer__title { font-size: 20px; font-weight: 700; color: #e6ccb2; margin-bottom: 10px; } ul { margin: 0 0 30px; padding: 0; list-style: none; li { a { color: #fff; } } } } } .footer__contacts { .footer__phone { a { color: #fff; font-size: 24px; } } .footer__address { margin-top: 15px; font-size: 18px; } .footer__social { margin-top: 30px; display: flex; a { display: flex; justify-content: center; align-items: center; margin: 0 20px 0 0; text-decoration: none; width: 30px; height: 30px; border: 1px solid #fff; border-radius: 100%; background-color: #fff; svg { display: block; width: 15px; height: 15px; path { fill: #7f5539; } } } } } } .footer__copyright { background-color: #9c6644; padding: 15px; text-align: center; } } /* ------ section.contacts ------ */ section.contacts { .contacts__row { .contacts__item { padding: 10px 0; font-size: 18px; svg { width: 18px; height: 18px; margin-right: 15px; path { fill: #b08968; } } } } } /* ------ section.map ------ */ section.map { margin-top: 50px; .map__row { display: flex; justify-content: space-between; align-items: center; @media (max-width: 1024px) { display: block; } .map__form { flex: 0 0 40%; padding: 30px; background-color: #ede0d4; border-radius: 15px; @media (max-width: 1024px) { margin-bottom: 30px; flex: unset; } h2 { color: #b08968; font-size: 30px; font-weight: 900; } .form { label { color: #333; } input[type="text"] { border-radius: 7px; } } } .map__map { flex: 0 0 calc(60% - 60px); margin-left: 60px; padding: 5px; border: 1px solid #b08968; border-radius: 15px; @media (max-width: 1024px) { margin-left: unset; flex: unset; } #map { height: 490px; border-radius: 10px; overflow: hidden; @media (max-width: 1024px) { height: 300px; } } } } } /* ------ a ------ */ a { text-decoration: none; color: #b08968; font-weight: 400; } /* ------ form.form ------ */ form.form { .form__group { margin-bottom: 25px; label { display: block; font-weight: 700; margin-bottom: 5px; &.custom-checkbox { font-weight: unset; } } input[type="text"], input[type="number"], input[type="password"], input[type="email"], textarea { display: block; width: 100%; height: 50px; outline: none; border: 1px solid #333; padding: 15px 30px; } textarea { height: unset; } /* .custom-checkbox */ /* для элемента input c type="checkbox" */ .custom-checkbox > input { position: absolute; z-index: -1; opacity: 0; } /* для элемента label, связанного с .custom-checkbox */ .custom-checkbox > span { display: inline-flex; align-items: center; user-select: none; } /* создание в label псевдоэлемента before со следующими стилями */ .custom-checkbox > span::before { content: ""; display: inline-block; width: 1em; height: 1em; flex-shrink: 0; flex-grow: 0; border: 1px solid #adb5bd; border-radius: 0.25em; margin-right: 0.5em; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%; } /* стили при наведении курсора на checkbox */ .custom-checkbox > input:not(:disabled):not(:checked) + span:hover::before { border-color: #E6CCB2; } /* стили для активного чекбокса (при нажатии на него) */ .custom-checkbox > input:not(:disabled):active + span::before { background-color: #E6CCB2; border-color: #E6CCB2; } /* стили для чекбокса, находящегося в фокусе */ .custom-checkbox > input:focus + span::before { box-shadow: 0 0 0 0.2rem rgba(156, 102, 68, 0.25); } /* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */ .custom-checkbox > input:focus:not(:checked) + span::before { border-color: #E6CCB2; } /* стили для чекбокса, находящегося в состоянии checked */ .custom-checkbox > input:checked + span::before { border-color: #9C6644; background-color: #9C6644; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); } /* стили для чекбокса, находящегося в состоянии disabled */ .custom-checkbox > input:disabled + span::before { background-color: #e9ecef; } } } /* ------ .popup ------ */ .popup { width: 100%; max-width: 500px; .popup__wrapper { padding: 30px; .popup__title { font-size: 30px; font-weight: 900; margin-bottom: 30px; } } } .product-popup { width: 100%; max-width: 1170px; .popup__wrapper { padding: 0; } } /* --------------------- */ /* ------ CATALOG ------ */ /* --------------------- */ aside.sidebar { flex: 0 0 300px; margin: 0 30px 50px 0; @media (max-width: 1024px) { margin-right: unset; flex: unset; } .catalog-menu { background-color: #ede0d4; border-radius: 7px; padding: 15px; .catalog-menu__title { display: none; @media (max-width: 1024px) { display: flex; justify-content: space-between; align-items: center; } h3 { } svg { width: 20px; height: 20px; path { fill: #333; } } } .catalog-menu__content { display: block; @media (max-width: 1024px) { display: none; } h3 { a { color: #333; font-weight: 700; } } & > ul { margin: 0; padding: 0; & > li { list-style: none; & > a { display: block; color: #333; font-weight: 400; &::before { content: "- "; } } & > ul { margin: 5px 0 15px 11px; padding: 0; & > li { list-style: none; } & > li.active > a { font-weight: 700; } } } & > li.active > a { font-weight: 700; } } } } } /* ------ .catalog-categories ------ */ .catalog-categories { display: flex; flex-wrap: wrap; margin: -15px; .catalog-categories__item { flex: 0 0 calc(33.333% - 30px); margin: 15px; @media (max-width: 768px) { flex: 0 0 calc(50% - 30px); width: calc(50% - 30px); } .item__wrapper { // border: 1px solid #B08968; border-radius: 7px; overflow: hidden; box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.08); transition: box-shadow 500ms; &:hover { box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25); } .item__image { img { width: 100%; height: 230px; } } .item__info { padding: 15px; .item__title { font-size: 18px; font-weight: 400; color: #333; } } .item__action { padding: 15px; text-align: center; @media (max-width: 500px) { button { font-size: 13px; padding: 5px 10px; } } } } } } /* ------ .catalog-products ------ */ .catalog-products { display: flex; flex-wrap: wrap; margin: 15px -15px 0; .catalog-products__item { flex: 0 0 calc(33.333% - 30px); margin: 15px; @media (max-width: 768px) { flex: 0 0 calc(50% - 30px); width: calc(50% - 30px); } .item__wrapper { // border: 1px solid #B08968; border-radius: 7px; overflow: hidden; box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.08); transition: box-shadow 500ms; &:hover { box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25); } .item__image { img { width: 100%; height: 230px; } } .item__info { padding: 15px; .item__title { font-size: 18px; font-weight: 400; color: #333; } } .item__action { padding: 15px; text-align: center; button { white-space: nowrap; svg { width: 16px; height: 16px; margin-right: 10px; path { fill: #fff; } } @media (max-width: 500px) { font-size: 13px; padding: 5px 10px; } } } } } } /* ------ section.catalog-messages ------ */ section.catalog-messages { .catalog-messages__item { position: relative; padding: 5px 30px; margin-bottom: 15px; border-radius: 7px; background-color: #fafafa; &.warning { background-color: #ffebee; } &:last-child { margin-bottom: 45px; } .catalog-messages__close { position: absolute; top: 7px; right: 7px; cursor: pointer; svg { width: 15px; height: 15px; path { fill: rgba(0, 0, 0, 0.2); } } } } } /* ------ section.product ------ */ section.product { padding: 0; .product__top { display: flex; margin: 0 -15px; @media (max-width: 1024px) { display: block; } .product__image { flex: 0 0 calc(50% - 30px); margin: 0 15px; img { width: 100%; max-width: 400px; height: auto; } } .product__info { flex: 0 0 calc(50% - 30px); margin: 0 15px 30px; display: flex; flex-direction: column; .product__price, .product__unit { span { font-weight: 700; } } .product__unit { flex-grow: 1; } .product__action { margin-top: 50px; .form { display: flex; @media (max-width: 640px) { display: block; } .form__group { margin: 0; padding: 0; .input__row { display: flex; align-items: center; margin-right: 50px; @media (max-width: 640px) { margin-bottom: 30px; margin-right: unset; } span.sup, span.sub { background-color: #B08968; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 100%; color: #fff; cursor: pointer; font-size: 20px; font-weight: 700; } input[type="number"] { display: inline-block; width: auto; min-width: 150px; height: 40px; padding: 0 10px; border-radius: 30px; margin: 0 10px; } input[type='number'] { -moz-appearance:textfield; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } } } } } } } } /* ------ .custom-cart ------ */ section.cart { .custom-cart { table { width: 100%; margin-top: 50px; } tr { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; border-bottom: 1px solid #ddd; } th.ms-image { flex: 0 0 15%; } th.ms-title { flex: 0 0 45%; text-align: left; } th.ms-count { flex: 0 0 20%; } th.ms-remove { flex: 0 0 20%; text-align: right; } td.ms-title { flex: 0 0 60%; .d-flex { display: flex; align-items: center; .ms-image { width: 175px; } } } td.ms-count { flex: 0 0 20%; .form__group { margin: 0; } } td.ms-remove { flex: 0 0 20%; .text-md-right { text-align: right; } } } } /* ------ section.order ------ */ section.order { margin-top: 50px; #msOrder { margin: 0 !important; } .order__wrapper { background-color: #EDE0D4; border-radius: 7px; padding: 50px 30px; } }