challenge-vtex-io-bernardo-.../styles/css/vtex.store-components.css

447 lines
13 KiB
CSS

/*
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@300;400;600;700&display=swap");
/* Grid breakpoints */
.container {
padding: 16px 360px;
margin: 0;
max-width: 100%;
}
@media (min-width: 1025px) and (max-width: 1920px), (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container {
padding: 16px 40px;
}
}
.swiperCaretNext, .swiperCaretPrev {
display: none;
}
.carouselGaleryCursor {
cursor: initial;
}
.productImageTag--main, .videoContainer {
object-fit: unset !important;
max-height: 904px !important;
cursor: url(https://agenciamagma.vtexassets.com/_v/public/assets/v1/published/vtex.store-components@3.164.0/public/react/91618bbaeb77d5f5b0173112a38a893e.svg) 8 8, default;
}
@media (min-width: 1025px) and (max-width: 1920px) {
.productImageTag--main, .videoContainer {
max-height: 664px !important;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
.productImageTag--main, .videoContainer {
max-height: 944px !important;
}
}
@media (min-width: 280px) and (max-width: 768px) {
.productImageTag--main, .videoContainer {
max-height: 296px !important;
}
}
.carouselGaleryThumbs {
margin-top: 0;
}
@media (min-width: 280px) and (max-width: 768px), (min-width: 769px) and (max-width: 1024px) {
.carouselGaleryThumbs {
display: block !important;
}
}
.carouselGaleryThumbs .productImagesThumb {
width: 90px !important;
height: 90px !important;
margin: 16px 16px 0 0;
border-radius: 8px;
max-width: calc(100% - 16px);
}
.carouselGaleryThumbs .productImagesThumb .figure, .carouselGaleryThumbs .productImagesThumb .thumbImg {
width: 100%;
height: 100%;
border-radius: 8px;
}
.productNameContainer--quickview {
display: flex;
justify-content: end;
align-items: center;
font-family: "Open Sans", sans-serif;
padding: 0;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.productNameContainer--quickview {
justify-content: flex-start;
}
}
.skuSelectorContainer--sku-product {
display: flex;
flex-direction: column-reverse;
margin-bottom: 16px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
margin: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer {
margin-bottom: 8px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
content: "OUTROS TAMANHOS";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList {
column-gap: 16px;
margin: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #989898;
box-sizing: border-box;
border-radius: 50%;
width: 40px;
height: 40px;
margin: 0;
padding: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .frameAround--sku-product {
border-color: #000;
border-width: 2px;
border-radius: 24px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: none;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .diagonalCross--sku-product {
transform: rotate(45deg);
border-radius: 24px;
background: #D5D5D5;
width: 1px;
height: 100%;
margin: 0 auto;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorItemTextValue {
padding: 0;
margin: 0 auto;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorItemTextValue {
color: #000;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer {
margin: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorSelectorImageValue {
display: none;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer {
margin-bottom: 8px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
content: "OUTRAS CORES";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList {
column-gap: 16px;
margin: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #989898;
border-radius: 24px;
width: 48px;
height: 48px;
margin: 0;
padding: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .frameAround--sku-product {
border-color: #000;
border-width: 2px;
border-radius: 24px;
width: 48px;
height: 48px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: none;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .diagonalCross--sku-product {
transform: rotate(45deg);
border-radius: 24px;
background: #D5D5D5;
width: 1px;
height: 100%;
margin: 0 auto;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .valueWrapper--unavailable {
border: 1px solid #989898;
border-radius: 24px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .valueWrapper--unavailable .skuSelectorItemImageValue {
height: 48px;
width: 48px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .valueWrapper--sku-product {
height: 48px;
width: 48px;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .valueWrapper--sku-product .skuSelectorItemImageValue {
border-radius: 24px;
padding: 0;
}
.skuSelectorContainer--sku-product .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorItemTextValue {
color: #000;
}
.shippingContainer {
display: flex;
align-items: flex-end;
width: 409px;
position: relative;
}
@media (min-width: 280px) and (max-width: 768px) {
.shippingContainer {
width: 296px;
}
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0;
margin-bottom: 8px;
}
.shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__error) {
position: absolute;
}
.shippingContainer :global(.vtex-input-prefix__group) {
width: 250px;
height: 49px;
border: none;
border-radius: 0;
}
.shippingContainer :global(.vtex-address-form-4-x-input) {
width: 250px;
height: 49px;
padding: 16px;
border: 1px solid #CCC;
border-radius: 0;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #AFAFAF;
}
@media (max-width: 360) and (min-width: 280px) {
.shippingContainer :global(.vtex-address-form-4-x-input) {
width: 100px;
}
}
.shippingContainer :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-button) {
background-color: #000;
border: none;
border-radius: 0;
width: 49px;
height: 49px;
}
.shippingContainer :global(.vtex-button__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-button__label)::after {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
left: 312px;
bottom: 18px;
padding: 0;
}
@media (min-width: 280px) and (max-width: 768px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
left: 200px;
bottom: -24px;
}
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
text-decoration-line: underline;
color: #000;
padding: 0;
margin: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
display: none;
}
.shippingTable {
border: none;
padding: 0;
margin: 16px 0 0;
width: 326px;
}
@media (min-width: 280px) and (max-width: 768px) {
.shippingTable {
width: 100%;
margin: 32px 0 0;
}
}
.shippingTable .shippingTableHead {
display: block;
}
.shippingTable .shippingTableHead .shippingTableRow {
display: grid;
grid-template-columns: repeat(3, 33.3%);
grid-template-areas: "entrega frete prazo";
}
@media (min-width: 280px) and (max-width: 768px) {
.shippingTable .shippingTableHead .shippingTableRow {
grid-template-columns: 30% 18% 39%;
}
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
padding: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
text-align: left;
grid-area: entrega;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
text-align: center;
grid-area: frete;
font-size: 0;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::after {
content: "FRETE";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
text-align: right;
grid-area: prazo;
}
.shippingTable .shippingTableBody .shippingTableRow {
display: grid;
grid-template-columns: repeat(3, 33.3%);
grid-template-areas: "entrega valor prazo";
column-gap: 32px;
margin-top: 15px;
}
@media (min-width: 280px) and (max-width: 768px) {
.shippingTable .shippingTableBody .shippingTableRow {
grid-template-columns: 30% 18% 39%;
column-gap: 16px;
}
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
grid-area: entrega;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
white-space: nowrap;
grid-area: prazo;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
grid-area: valor;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
padding: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #AFAFAF;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableLabel .shippingTableRadioBtn {
display: none;
}