challenge-vtex-io-naian-felix/styles/css/vtex.store-components.css

535 lines
12 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&display=swap");
/* Grid breakpoints */
.container {
padding: 0 40px;
}
@media screen and (min-width: 1920px) {
.container {
max-width: 115rem !important;
padding: 0;
}
}
.container .productNameContainer {
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
text-align: end;
margin-bottom: 8px;
}
@media screen and (max-width: 1024px) {
.container .productNameContainer {
text-align: unset;
}
}
.container .skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
border: 0;
}
.container .skuSelectorContainer .skuSelectorItem {
border: 1px solid #989898;
border-radius: 50%;
width: 44px;
height: 44px;
margin-right: 16px;
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorItem.skuSelectorItem--selected {
border: 2px solid #000;
}
.container .skuSelectorContainer .skuSelectorItem.skuSelectorItem--selected .diagonalCross {
color: #000;
border: 2px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName::before {
content: "OUTROS TAMANHOS:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorOptionsList {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorImageValue {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameSeparator,
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName::before {
content: "OUTRAS CORES: ";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorInternalBox {
padding: 0;
border-radius: 50%;
border: 0;
}
.container .skuSelectorContainer .skuSelectorInternalBox .skuSelectorItemTextValue {
font-size: 14px;
padding: 0;
}
.container .skuSelectorContainer .diagonalCross {
border: 1px;
width: 10px;
color: #989898;
margin: 0 auto;
transform: rotate(60deg);
}
.container .skuSelectorContainer .frameAround {
display: none;
}
.shippingContainer {
position: relative;
margin-top: 16px;
margin-bottom: 16px;
}
@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 {
text-align: center;
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
.shippingContainer :global(.vtex-button__label) {
height: 0;
width: 0;
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
text-decoration: underline;
position: absolute;
right: -50%;
top: calc(50% + 13.5px);
transform: translateY(-50%);
padding: 0;
}
@media screen and (max-width: 768px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
position: unset;
display: block;
text-align: end;
width: 100%;
transform: none;
margin-top: 8px;
}
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
display: none;
}
.figure {
height: 100%;
}
.productImagesThumb {
margin-right: 16px;
width: 90px !important;
height: 90px !important;
}
.carouselGaleryThumbs {
margin: 0;
}
@media screen and (max-width: 1024px) {
.carouselGaleryThumbs {
display: block;
}
}
.carouselGaleryThumbs :global(.vtex-store-components-3-x-productImagesThumbCaret) {
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;
}
.newsletter {
background: #000;
padding: 32px 0 16px 0;
}
@media screen and (max-width: 1024px) {
.newsletter {
padding: 64px 0 16px 0;
}
}
@media screen and (max-width: 1024px) {
.newsletter .container {
padding: 0 16px;
}
}
.newsletter .form {
justify-content: end;
max-width: 774px !important;
}
@media screen and (max-width: 1024px) {
.newsletter .form {
max-width: 992px !important;
}
}
.newsletter .form :global(.vtex-button__label) {
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
.newsletter .form :global(.vtex-button__label)::before {
display: none;
}
.newsletter .buttonContainer {
border-bottom: 3px solid #bfbfbf;
padding: 0;
height: 32px;
}
.newsletter .label {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #bfbfbf;
display: flex;
flex-direction: column;
}
.newsletter .label::after {
content: "Receba ofertas e novidades por e-mail";
font-size: 18px;
line-height: 25px;
margin-top: 16px;
text-align: center;
color: #929292;
}
@media screen and (max-width: 1024px) {
.newsletter .label::after {
font-size: 16px;
line-height: 22px;
}
}
.newsletter .inputGroup {
border-bottom: 1px solid #929292;
flex-direction: row;
display: flex;
}
.newsletter .inputGroup :global(.vtex-input-prefix__group) {
border: 0;
height: 32px;
width: 100%;
}
.newsletter .inputGroup :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
background-color: transparent;
font-weight: 400;
font-size: 18px;
height: 32px;
line-height: 25px;
color: #929292;
width: 100%;
padding: 0 0 7px 0;
}
@media screen and (max-width: 1024px) {
.newsletter .inputGroup :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
font-size: 12px;
line-height: 16px;
padding-left: 16px;
}
}
.newsletter .inputGroup :global(.vtex-button) {
background-color: transparent;
font-weight: 700;
font-size: 14px;
line-height: 19px;
border: 0;
}
.newsletter .inputGroup :global(.vtex-button) :global(.vtex-button__label) {
padding: 0 16px 13px 16px !important;
color: #fff;
}
:global(.vtex-input__label) {
font-size: 0;
}
:global(.vtex-input__label)::before {
content: "CALCULAR FRETE:";
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shareContainer {
display: none;
}
:global(.vtex-address-form__postalCode) {
display: flex;
padding: 0;
position: relative;
}
@media screen and (max-width: 768px) {
:global(.vtex-address-form__postalCode) {
flex-direction: column;
}
}
:global(.vtex-input-prefix__group) {
height: 50px;
}
:global(.vtex-product-identifier-0-x-product-identifier__value) {
display: flex;
justify-content: end;
margin-bottom: 24px;
}
@media screen and (max-width: 1024px) {
:global(.vtex-product-identifier-0-x-product-identifier__value) {
justify-content: unset;
font-size: 14px;
line-height: 19px;
}
}
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev),
:global(.vtex-store-components-3-x-swiper-pagination) {
display: none;
}
@media screen and (max-width: 1024px) {
.swiper-wrapper {
display: block;
}
}
:global(.vtex-store-components-3-x-productImageTag) {
object-fit: unset !important;
margin-bottom: 16px;
max-height: 664px !important;
}
@media screen and (min-width: 1920px) {
:global(.vtex-store-components-3-x-productImageTag) {
max-height: unset !important;
max-width: unset;
height: 904px !important;
width: auto !important;
}
}
@media screen and (max-width: 1024px) {
:global(.vtex-store-components-3-x-productImageTag) {
max-height: 944px !important;
}
}
@media screen and (max-width: 1024px) {
:global(.vtex-store-components-3-x-carouselContainer) {
margin-bottom: 32px;
}
}
:global(.vtex-store-components-3-x-form) {
justify-content: unset;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-button__label) {
font-size: 0;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-button__label)::before {
content: "AVISE-ME";
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: #ffffff;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-submit) {
width: 100%;
max-width: 400px;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) {
max-width: 400px;
width: 100%;
height: 50px;
background-color: #000;
border-radius: 0;
border: 0;
color: #fff;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-input) {
margin: 0 0 16px 0;
}
:global(.vtex-store-components-3-x-form) :global(.vtex-input-prefix__group) {
height: 40px;
width: 100%;
border-radius: 0;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
:global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
}
:global(.vtex-store-components-3-x-subscribeLabel)::before {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
@media screen and (max-width: 1024px) {
:global(.vtex-flex-layout-0-x-flexRowContent) :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: auto !important;
padding: 0;
}
}
.subscriberContainer :global(.vtex-store-components-3-x-title) {
font-size: 0;
}
.subscriberContainer :global(.vtex-store-components-3-x-title)::before {
content: "Produto Indisponível";
font-weight: 700;
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%;
max-width: 400px;
}
.subscriberContainer .submit {
grid-column: span 2;
}
:global(.vtex-store-components-3-x-pointerEventsAuto) {
display: none;
}
:global(.vtex-product-price-1-x-listPrice) {
display: block;
text-align: center;
font-size: 12px;
line-height: 16px;
text-decoration-line: line-through;
color: #bababa;
}
:global(.vtex-product-price-1-x-listPrice)::before {
padding-right: 4px;
content: "de";
font-size: 12px;
line-height: 16px;
text-align: center;
color: #bababa;
}
:global(.vtex-product-price-1-x-listPrice)::after {
content: "por";
padding-left: 4px;
font-size: 12px;
line-height: 16px;
text-align: center;
color: #bababa;
}
.thumbImg {
border-radius: 8px;
}
.thumbImg--video {
height: 90px;
}