challenge-vtex-io-gabriel-g.../styles/css/vtex.store-components.css

551 lines
15 KiB
CSS

@charset "UTF-8";
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap");
/* Grid breakpoints */
.container {
padding: 0 40px;
}
@media screen and (min-width: 1920px) {
.container {
max-width: 115rem !important;
padding: 0;
}
}
.container .productNameContainer--quickview {
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #575757;
}
@media screen and (max-width: 1024px) {
.container .productNameContainer--quickview {
text-align: unset;
margin-top: 32px;
}
}
.container .skuSelectorContainer {
display: flex;
flex-direction: column;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor {
order: 2;
margin-bottom: 10px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameSeparator {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer::before {
content: "Outras Cores: ";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
padding: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--verde {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected {
width: 40px;
height: 40px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .diagonalCross {
width: 10px;
margin: 0 auto;
color: black;
transform: rotate(60deg);
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho {
order: 1;
margin-bottom: 10px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer::before {
content: "Outros Tamanhos:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
color: rgba(185, 185, 185, 0.6);
padding: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected {
width: 40px;
height: 40px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .skuSelectorItemTextValue {
color: black;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .diagonalCross {
width: 10px;
margin: 0 auto;
color: black;
transform: rotate(60deg);
}
.container .skuSelectorContainer .diagonalCross {
width: 10px;
margin: 0 auto;
color: #d5d5d5;
transform: rotate(60deg);
}
:global(.vtex-input__label) {
font-size: 0;
}
:global(.vtex-input__label)::before {
content: "Calcular frete:";
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.shippingContainer {
margin-top: 16px;
margin-bottom: 16px;
position: relative;
}
@media screen and (min-width: 768px) {
.shippingContainer {
max-width: 280px;
}
}
.shippingContainer :global(.vtex-button) {
font-size: 0;
background-color: black;
height: 50px;
max-width: 50px;
border: none;
border-radius: 0;
top: 27px;
position: absolute;
right: 0;
}
.shippingContainer :global(.vtex-button)::before {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
width: unset;
height: unset;
}
.shippingContainer :global(.vtex-input-prefix__group) {
height: 50px;
}
.shippingContainer :global(.vtex-input__suffix) {
display: none;
}
.shippingTable {
border: none;
padding-top: unset;
margin-top: 16px;
table-layout: fixed;
width: 100%;
max-width: 362px;
}
.shippingTable .shippingTableRow {
display: flex;
}
.shippingTable .shippingTableRow .shippingTableCell {
font-family: "Open Sans", sans-serif;
font-size: 12px;
line-height: 16px;
color: #afafaf;
padding: 0 0 15px 0;
}
.shippingTable .shippingTableRow .shippingTableCell .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryName {
width: 33%;
padding-left: 0;
order: 1;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryEstimate {
width: 33%;
padding-left: 0;
order: 3;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryPrice {
width: 25%;
padding-left: 0;
order: 2;
}
.shippingTable .shippingTableHead {
display: block;
margin-bottom: 15px;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryName {
width: 33%;
text-align: left;
order: 1;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryEstimate {
width: 33%;
text-align: left;
order: 3;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryPrice {
width: 25%;
text-align: left;
order: 2;
}
.shareContainer {
display: none;
}
:global(.vtex-address-form__postalCode) {
padding: unset;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
text-decoration: underline;
}
@media screen and (min-width: 375px) and (max-width: 768px) {
:global(.vtex-address-form__postalCode-forgottenURL) {
display: flex;
flex-direction: row-reverse;
}
}
@media screen and (min-width: 768px) {
:global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
right: -50%;
top: calc(50% + 13.5px);
transform: translateY(-50%);
padding: 0;
}
}
:global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
display: none;
}
.postalCode-forgottenURL {
bottom: 100px;
}
:global(.vtex-product-identifier-0-x-product-identifier) {
display: flex;
justify-content: end;
margin-top: 8px;
margin-bottom: 24px;
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
color: rgba(146, 146, 146, 0.48);
}
@media screen and (max-width: 1024px) {
:global(.vtex-product-identifier-0-x-product-identifier) {
justify-content: start;
}
}
:global(.vtex-store-components-3-x-swiper-pagination),
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev) {
display: none;
}
:global(.vtex-store-components-3-x-productImageTag) {
object-fit: unset !important;
max-height: 664px !important;
max-width: 664px;
margin-bottom: 16px;
}
@media screen and (min-width: 1920px) {
:global(.vtex-store-components-3-x-productImageTag) {
max-height: unset !important;
max-width: unset;
width: auto !important;
height: 904px !important;
}
}
@media screen and (max-width: 1024px) {
:global(.vtex-store-components-3-x-productImageTag) {
max-width: 944px;
max-height: 944px !important;
}
}
:global(.vtex-store-components-3-x-figure) {
max-width: 90px;
width: 90px;
}
:global(.vtex-store-components-3-x-carouselGaleryThumbs) {
margin-top: unset;
}
:global(.vtex-store-components-3-x-carouselGaleryThumbs) :global(.vtex-store-components-3-x-productImagesThumbCaret) {
display: none;
}
.thumbImg--video {
height: 90px;
}
.thumbImg {
width: 90px !important;
height: 90px;
border-radius: 8px;
}
.productImagesThumb {
width: 90px !important;
max-height: 90px !important;
margin: 0 16px 0 0;
}
.newsletter--newsletter {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
max-height: 175px;
background-color: black;
padding-bottom: 16px;
padding-top: 32px;
}
@media screen and (max-width: 1024px) {
.newsletter--newsletter {
height: 220px;
max-height: unset;
padding-top: 64px;
}
}
.newsletter--newsletter .container--newsletter {
margin: 0;
width: 100%;
padding: 0;
}
@media screen and (max-width: 1024px) {
.newsletter--newsletter .container--newsletter {
padding: 0 16px;
}
}
.newsletter--newsletter .container--newsletter .form--newsletter {
max-width: 774px !important;
}
@media screen and (max-width: 1024px) {
.newsletter--newsletter .container--newsletter .form--newsletter {
max-width: 992px !important;
}
}
.newsletter--newsletter .container--newsletter .form--newsletter .label--newsletter {
display: flex;
flex-direction: column;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
.newsletter--newsletter .container--newsletter .form--newsletter .label--newsletter::after {
content: "Receba ofertas e novidades por e-mail";
font-family: "Open Sans", sans-serif;
font-size: 18px;
line-height: 25px;
color: #929292;
margin-top: 16px;
}
@media screen and (max-width: 1024px) {
.newsletter--newsletter .container--newsletter .form--newsletter .label--newsletter::after {
font-size: 16px;
line-height: 22px;
}
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter {
display: flex;
padding-top: 16px;
border-bottom: 1px solid #929292;
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter :global(.vtex-input-prefix__group) {
border: none;
height: 32px;
padding-bottom: 7px;
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
background-color: transparent;
padding: 0;
font-family: "Open Sans", sans-serif;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media screen and (max-width: 1024px) {
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
font-size: 12px;
line-height: 16px;
padding-left: 16px;
}
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter .buttonContainer--newsletter {
padding: 0;
border-bottom: 3px solid #bfbfbf;
height: 32px;
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter .buttonContainer--newsletter :global(.vtex-button) {
background-color: transparent;
border: none;
}
.newsletter--newsletter .container--newsletter .form--newsletter .inputGroup--newsletter .buttonContainer--newsletter :global(.vtex-button) :global(.vtex-button__label) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #ffffff;
padding: 0px 16px 13px 16px !important;
}
.subscriberContainer .title {
font-size: 0;
margin: 0;
}
.subscriberContainer .title::before {
content: "Produto Indisponível";
font-family: "Open Sans", sans-serif;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer :global(.vtex-store-components-3-x-content) {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-column-gap: 10px;
width: 100%;
}
.subscriberContainer .inputName {
margin-right: 8px;
}
.subscriberContainer .inputName :global(.vtex-input-prefix__group),
.subscriberContainer .inputEmail :global(.vtex-input-prefix__group) {
border-radius: 0;
border: 1px solid #989898;
}
.subscriberContainer .inputName :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input),
.subscriberContainer .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
padding: 12px 14px;
}
.subscriberContainer .submit {
grid-column: span 2;
}
.subscriberContainer .submit :global(.vtex-button) {
background-color: black;
border-radius: 0;
border: none;
height: 49px;
width: 100%;
}
.subscriberContainer .submit :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .submit :global(.vtex-button) :global(.vtex-button__label)::before {
content: "Avise-me";
font-family: "Open Sans", sans-serif;
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
color: #ffffff;
}