challenge-vtex-io-vitor-soares/styles/css/vtex.store-components.css

716 lines
16 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 */
/* Fontes */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
/* Cores */
/* Grid breakpoints */
.container {
padding: 0;
max-width: 100% !important;
width: 100%;
}
@media only screen and (min-width: 1920px) {
.container {
margin: 0 !important;
}
}
.discountInsideContainer {
display: none;
}
:global(.vtex-numeric-stepper__input) {
border-right: none;
border-left: none;
border-color: #cccccc;
width: 32px;
}
:global(.vtex-numeric-stepper__minus-button) {
background: #fff;
border-color: #cccccc;
}
:global(.vtex-numeric-stepper__minus-button) :global(.vtex-numeric-stepper__minus-button__text) {
font-size: 16px;
line-height: 22px;
color: #000000;
}
:global(.vtex-numeric-stepper__plus-button) {
background: #fff;
border-color: #cccccc;
}
:global(.vtex-numeric-stepper__plus-button) :global(.vtex-numeric-stepper__plus-button__text) {
font-size: 16px;
line-height: 22px;
color: #000000;
}
.thumbImg {
border-radius: 8px;
}
.productNameContainer {
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
margin-bottom: 8px;
color: #575757;
}
@media only screen and (max-width: 1025px) {
.productNameContainer {
text-align: unset;
}
}
.productImage .productImageTag {
width: 100% !important;
height: 100%;
max-height: unset !important;
object-fit: contain;
max-width: 100% !important;
}
@media only screen and (max-width: 1025px) {
.productImage .productImageTag {
max-height: 100% !important;
max-width: 100% !important;
}
}
.productImagesGallerySlide {
max-width: 100% !important;
width: 100% !important;
}
@media only screen and (max-width: 1025px) {
.productImagesGallerySlide {
max-width: none !important;
width: none !important;
}
}
.carouselGaleryThumbs {
display: block;
margin-top: 16px;
margin-bottom: 16px;
}
@media only screen and (max-width: 1025px) {
.carouselGaleryThumbs {
margin-bottom: 32px;
}
}
.productImagesThumb {
height: 90px !important;
width: unset !important;
margin-bottom: 0 !important;
margin-right: 16px;
}
.productImagesThumb .thumbImg {
max-width: 90px;
width: 100%;
height: 90px;
}
.skuSelectorContainer {
display: flex;
flex-direction: column;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor {
margin-bottom: 16px;
order: 2;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .frameAround,
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorImageValue,
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .frameAround {
border-color: #000000;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::after {
content: "OUTRAS CORES";
font-size: 14px;
line-height: 19px;
font-weight: 400;
color: #929292;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorSelectorImageValue {
display: none;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho {
margin-bottom: 10px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
padding: 0;
margin: auto;
font-size: 14px;
line-height: 19px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround,
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
border-radius: 50%;
width: 40px;
height: 40px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround {
top: -2px;
bottom: 0;
left: 0;
right: 0;
z-index: 2;
border-color: #000000;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::after {
content: "OUTROS TAMANHOS:";
font-size: 14px;
line-height: 19px;
font-weight: 400;
color: #929292;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorImageValue {
display: none;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .diagonalCross {
left: 8px;
top: 5px;
right: 5px;
bottom: 3px;
transform: rotateY(180deg);
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemImageValue {
max-width: 100%;
}
.skuSelectorContainer .skuSelectorItem--selected .skuSelectorItemTextValue {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #000000;
}
.skuSelectorContainer .skuSelectorItem--selected .diagonalCross {
color: #000000;
}
.skuSelectorContainer .skuSelectorItemImage--sku-size .diagonalCross {
left: 4px;
top: 5px;
right: 3px;
bottom: 3px;
transform: rotateY(180deg);
}
.skuSelectorContainer .skuSelectorItem--sku-size {
margin: 0 16px 0 0;
}
.subscriberContainer {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
.submit :global(.vtex-button) {
background: #000000;
height: 40px;
margin-top: -1px;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.skuSelectorItem--sku-size-selected .skuSelectorItemTextValue-sku-size {
color: #000000;
}
.skuSelectorItemTextValue {
color: rgba(185, 185, 185, 0.6);
}
.productImageTag {
max-width: 100%;
}
@media only screen and (max-width: 1025px) {
.productImageTag {
max-width: 100%;
max-height: max-content;
}
}
.address-form__field .input__label {
font-size: 40px;
}
:global(.vtex-store-components-3-x-skuSelectorNameContainer) {
margin: 0;
}
:global(.vtex-store-components-3-x-skuSelectorNameContainer) :global(.vtex-store-components-3-x-skuSelectorOptionsList) {
margin: 0;
}
:global(.vtex-store-components-3-x-skuSelectorSubcontainer) .diagonalCross {
top: 7px;
right: 2px;
left: 1px;
bottom: 6px;
}
.shippingContainer {
position: relative;
display: flex;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
}
.shippingContainer :global(.vtex-input-prefix__group) {
width: 280px;
height: 49px;
border-radius: 0;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-input-prefix__group) {
width: 100%;
}
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
position: relative;
left: 32px;
padding: 0;
margin-top: 25px;
text-decoration: underline;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
margin-top: 0;
left: auto;
right: 0;
bottom: 0;
}
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-decoration: underline;
color: #000000;
}
.shippingContainer :global(.vtex__icon-external-link) {
display: none;
}
.shippingContainer :global(.vtex-button) {
position: relative;
right: 148px;
height: 49px;
width: 49px;
margin-top: 27px;
font-size: 0;
border: 0;
border-radius: 0;
background: #000000;
cursor: pointer;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-button) {
min-width: 49px;
right: 0;
}
}
.shippingContainer :global(.vtex-button)::after {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.shippingContainer :global(.vtex-button__label) {
height: fit-content;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0px;
}
.shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
:global(.vtex-address-form__field--small) {
padding-bottom: 16px;
}
@media only screen and (max-width: 767px) {
:global(.vtex-address-form__field--small) {
flex-direction: column;
width: 100%;
padding-bottom: 24px;
}
}
.shippingTable {
display: flex;
flex-direction: column;
border: none;
margin-top: 0;
padding: 0;
}
.shippingTable .shippingTableHead {
display: block;
}
.shippingTable .shippingTableRow {
display: flex;
flex-direction: row;
}
@media only screen and (max-width: 399px) {
.shippingTable .shippingTableRow {
padding-top: 8px;
}
}
.shippingTable .shippingTableRow .shippingTableHeadDeliveryName {
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #202020;
}
@media only screen and (min-width: 1920px) {
.shippingTable .shippingTableRow .shippingTableHeadDeliveryName {
padding-right: 122px;
}
}
@media only screen and (max-width: 399px) {
.shippingTable .shippingTableRow .shippingTableHeadDeliveryName {
width: auto;
margin-right: 48px;
}
}
.shippingTable .shippingTableRow .shippingTableHeadDeliveryEstimate {
display: flex;
order: 3;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #202020;
}
@media only screen and (max-width: 399px) {
.shippingTable .shippingTableRow .shippingTableHeadDeliveryEstimate {
width: auto;
margin-right: 32px;
}
}
.shippingTable .shippingTableRow .shippingTableHeadDeliveryPrice {
display: flex;
order: 2;
font-size: 0;
}
@media only screen and (max-width: 399px) {
.shippingTable .shippingTableRow .shippingTableHeadDeliveryPrice {
width: auto;
margin-right: 40px;
}
}
.shippingTable .shippingTableRow .shippingTableHeadDeliveryPrice::after {
content: "FRETE";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
}
.shippingTable .shippingTableHeadDeliveryName,
.shippingTable .shippingTableCellDeliveryName {
width: 23.9263%;
padding: 0 0 15px 0;
text-align: initial;
}
.shippingTable .shippingTableHeadDeliveryEstimate,
.shippingTable .shippingTableCellDeliveryEstimate {
width: 41.7177%;
padding: 0 0 15px 0;
text-align: initial;
}
.shippingTable .shippingTableCellDeliveryPrice,
.shippingTable .shippingTableHeadDeliveryPrice {
width: 14.7239%;
padding: 0 0 15px 0;
text-align: initial;
}
.shippingTableBody .shippingtableRow {
display: flex;
flex-direction: row;
text-align: left;
}
.shippingTableBody .shippingTableCellDeliveryEstimate {
display: flex;
order: 3;
}
.shippingTableBody .shippingTableCellDeliveryName,
.shippingTableBody .currencyContainer,
.shippingTableBody .shippingTableCellDeliveryEstimate {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
.shippingTableBody .shippingTableRadioBtn {
display: none;
}
@media only screen and (max-width: 399px) {
.shippingTableBody .shippingTableCellDeliveryName {
width: 97px;
margin-right: 21px;
}
}
@media only screen and (max-width: 399px) {
.shippingTableBody .shippingTableCellDeliveryPrice {
width: 55px;
margin-right: 32px;
}
}
.subscriberContainer .title {
font-size: 0;
line-height: 0;
margin: 0;
}
.subscriberContainer .title::after {
content: "Produto Indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .title .subscribeLabel {
font-size: 0;
}
.subscriberContainer .title .subscribeLabel::after {
content: "Deseja saber quando estiver disponível";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .form {
margin-bottom: 16px;
}
.subscriberContainer .form .content {
display: grid;
grid-template-areas: " nome email" " submit submit";
justify-content: inherit;
gap: 8px;
margin-top: 15px;
}
@media only screen and (max-width: 1025px) {
.subscriberContainer .form .content {
max-width: unset;
}
}
.subscriberContainer .form .content .inputName {
grid-area: nome;
margin-bottom: 0;
}
.subscriberContainer .form .content .inputEmail {
grid-area: email;
margin-bottom: 0;
}
.subscriberContainer .form .content .submit {
grid-area: submit;
width: 100%;
margin-top: 7px;
margin-bottom: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
height: 49px;
cursor: pointer;
}
.subscriberContainer .form .content .submit :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button__label)::after {
content: "avise-me";
text-transform: uppercase;
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: #fff;
}
.productDescriptionContainer {
width: 100%;
}
@media only screen and (max-width: 1025px) {
.productDescriptionContainer {
padding-left: 0;
}
}
.productDescriptionContainer .productDescriptionTitle {
font-weight: 400;
font-size: 24px;
line-height: 32px;
margin-bottom: 8px;
color: #575757;
}
@media only screen and (min-width: 1920px) {
.productDescriptionContainer .productDescriptionTitle {
font-size: 32px;
margin-bottom: 16px;
}
}
@media only screen and (max-width: 1025px) {
.productDescriptionContainer .productDescriptionTitle {
font-size: 20px;
padding-top: 16px;
}
}
.productDescriptionContainer .productDescriptionText {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
@media only screen and (min-width: 1920px) {
.productDescriptionContainer .productDescriptionText {
font-size: 18px;
line-height: 25px;
}
}
@media only screen and (max-width: 1025px) {
.productDescriptionContainer .productDescriptionText {
font-size: 14px;
line-height: 19px;
border-bottom: 1px solid #bfbfbf;
padding-bottom: 16px;
}
}
.newsletter {
display: flex;
align-items: flex-end;
justify-content: center;
height: 175px;
background: #000000;
color: #fff;
}
@media only screen and (max-width: 767px) {
.newsletter {
height: 220px;
}
}
.newsletter .container {
display: flex;
justify-content: center;
max-width: unset;
width: 100%;
}
.newsletter .container .form {
max-width: 774px;
width: 100%;
padding-bottom: 16px;
margin: 0;
}
@media only screen and (max-width: 1025px) {
.newsletter .container .form {
max-width: 1024px;
}
}
@media only screen and (max-width: 767px) {
.newsletter .container .form {
padding-bottom: 32px;
}
}
.newsletter .container .form .label {
display: flex;
flex-direction: column;
gap: 16px;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #fff;
}
.newsletter .container .form .label::after {
content: "Receba ofertas e novidades por e-mail";
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media only screen and (max-width: 767px) {
.newsletter .container .form .label::after {
font-size: 16px;
line-height: 22px;
}
}
@media only screen and (max-width: 1025px) {
.newsletter :global(.vtex-store-components-3-x-inputGroup) {
padding: 16px 16px 0;
}
}
@media only screen and (max-width: 767px) {
.newsletter :global(.vtex-store-components-3-x-inputGroup) {
display: flex;
padding: 0;
}
}
.newsletter .buttonContainer {
padding: 0;
}
.newsletter :global(.vtex-button) {
border: none;
border-bottom: 3px solid #bfbfbf;
border-radius: 0;
background-color: transparent;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #fff;
}
@media only screen and (max-width: 767px) {
.newsletter :global(.vtex-button) {
font-size: 14px;
line-height: 19px;
}
}
.newsletter :global(.vtex-input-prefix__group) {
border: none;
border-radius: 0;
border-bottom: 1px solid #cccccc;
}
.newsletter :global(.vtex-styleguide-9-x-input) {
padding: 0;
background-color: transparent;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media only screen and (max-width: 767px) {
.newsletter :global(.vtex-styleguide-9-x-input) {
font-size: 12px;
line-height: 16px;
}
}