123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325 |
- /* Price block */
- @media screen and (min-width: 1209px) {
- .price-block__item {
- &:hover {
- background-color: #F8F8F8;
- }
- }
-
- .price-block__tabs {
- .price-block__tabs__item {
- &:hover {
- color: #AD957C;
- }
- }
- }
- }
- .price-block {
- margin-bottom: 150px;
- }
- .price-block__tabs {
- display: flex;
- justify-content: center;
- margin-bottom: 40px;
-
- .price-block__tabs__item {
- &:first-child {
- margin-right: 45px;
- }
- }
- }
- .price-block__tabs__item {
- font-family: "Cochin",serif;
- font-weight: 700;
- font-size: 20px;
- line-height: 23px;
- text-align: center;
- text-transform: uppercase;
- position: relative;
- transition: color .4s;
-
- &.active {
- color: #AD957C;
-
- &::before {
- opacity: 1;
- }
- }
-
- &::before {
- content: "";
- width: 6px;
- height: 6px;
- position: absolute;
- left: -15px;
- top: 50%;
- transform: translateY(-50%);
- background-color: #AD957C;
- opacity: 0;
- transition: opacity .4s;
- }
- }
- .price-block__list {
- display: flex;
- }
- .price-block__slider {
- position: relative;
- min-height: 400px;
- transition: height .4s;
- }
- .price-block__list--slider {
- position: absolute;
- width: 100%;
- left: 0px;
- top: 0px;
- transition: opacity .4s;
- z-index: 0;
-
- &.show {
- z-index: 1;
-
- .price-block__item--slider {
- opacity: 1;
-
- &:nth-child(1) {
- transform: translateY(0px);
- }
-
- &:nth-child(2) {
- transform: translateY(0px);
- }
-
- &:nth-child(3) {
- transform: translateY(0px);
- }
-
- &:nth-child(4) {
- transform: translateY(0px);
- }
- }
- }
- }
- .price-block__item {
- display: flex;
- flex-direction: column;
- width: 25%;
- padding: 20px;
- text-align: center;
- border: 1px solid #E0E0E0;
- margin-right: 30px;
- transition: background-color .4s;
-
- &:last-child {
- margin-right: 0px;
- }
-
- .main-button {
- margin: auto auto 0px;
- }
- }
- .price-block__item--slider {
- opacity: 0;
-
- &:nth-child(1) {
- transform: translateY(100px);
- transition: opacity .6s 0s, transform .6s 0s;
- }
-
- &:nth-child(2) {
- transform: translateY(100px);
- transition: opacity .6s .2s, transform .6s .2s;
- }
-
- &:nth-child(3) {
- transform: translateY(100px);
- transition: opacity .6s .4s, transform .6s .4s;
- }
-
- &:nth-child(4) {
- transform: translateY(100px);
- transition: opacity .6s .6s, transform .6s .6s;
- }
- }
- .price-block__item__name {
- font-family: "Cochin", serif;
- font-weight: 700;
- font-size: 18px;
- line-height: 21px;
- letter-spacing: 0.05em;
- text-transform: uppercase;
- color: #7A1B2E;
- max-width: 50%;
- margin: 0px auto 15px;
- }
- .price-block__item__price {
- font-family: "Cochin", serif;
- font-style: normal;
- font-weight: 700;
- font-size: 24px;
- line-height: 28px;
- text-transform: uppercase;
- margin-bottom: 15px;
-
- span {
- padding-left: 10px;
- }
- }
- .price-block__item__installment {
- font-weight: 700;
- font-size: 11px;
- line-height: 14px;
- letter-spacing: 0.05em;
- text-transform: uppercase;
- color: #828282;
- margin-bottom: 5px;
- }
- .price-block__item__installment-price {
- font-weight: 700;
- font-size: 12px;
- line-height: 15px;
- color: #4F4F4F;
- }
- .price-block__sub-list {
- text-align: left;
- margin: 20px 0px 30px;
- font-weight: bold;
- font-size: 13px;
- line-height: 120%;
- color: #4F4F4F;
- }
- .price-block__sub-item {
- position: relative;
- padding-left: 16px;
- margin-bottom: 20px;
-
- &:last-child {
- margin-bottom: 0px;
- }
-
- &::before {
- content: "";
- position: absolute;
- left: 0px;
- top: 5px;
- width: 6px;
- height: 6px;
- background-color: #AD957C;
- }
- }
- .price-block__sub-text {
- margin-bottom: 40px;
- font-size: 16px;
- line-height: 150%;
- }
- .price-block__sub-text__caption {
- font-weight: 500;
- font-size: 18px;
- margin-top: 30px;
- }
- .price-page__item-wrapper {
- margin-bottom: 100px;
- }
- .price-block__tabs__wrapper {
- display: flex;
- justify-content: center;
- margin-bottom: 30px;
-
- .price-block__tabs__item {
- &::before {
- opacity: 1;
- }
- }
- }
- .price-page__sub-info {
- font-size: 18px;
- line-height: 150%;
- p {
- margin-bottom: 27px;
- padding-left: 13px;
- position: relative;
-
- &::before {
- content: "";
- width: 23px;
- height: 23px;
- position: absolute;
- left: 0px;
- top: -7px;
- z-index: -1;
- background-color: #E0E0E0;
- }
-
- &:last-child {
- margin-bottom: 0px;
- }
- }
- }
- @media screen and (max-width: 1210px) {
- .price-block {
- margin-bottom: 50px;
- }
-
- .price-block__slider {
- min-height: 500px;
- }
-
- .price-block__list {
- flex-direction: column;
- margin-bottom: -20px;
- }
-
- .price-block__list--main-page {
- .price-block__item {
- display: none;
-
- &:nth-child(-n + 2) {
- display: flex;
- }
- }
- }
-
- .price-block__item {
- width: 100%;
- margin-bottom: 20px;
- margin-right: 0px;
- }
-
- .price-block__tabs {
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin-bottom: 30px;
-
- .price-block__tabs__item {
- &:first-child {
- margin-bottom: 20px;
- margin-right: 0px;
- }
- }
- }
- }
- /* //Price block */
|