challenge-vtex-io-Filipe-Qu.../styles/css/vtex.store-components.css

426 lines
9.6 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 */
/* Grid breakpoints */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
.container {
padding: 0 40px;
max-width: initial;
}
.container .productImagesThumb {
width: 90px !important;
height: 90px !important;
margin-right: 16px;
}
.container .carouselGaleryThumbs {
height: 90px;
}
.container .figure {
width: 90px;
height: 90px;
}
.container .productImagesGallerySlide {
width: 100% !important;
}
.container .carouselGaleryCursor {
width: 100%;
}
.container .carouselGaleryThumbs {
margin-top: 16px;
}
.container .thumbImg {
border-radius: 8px;
}
.container .productNameContainer {
text-align: right;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
margin-bottom: 51px;
}
.container .skuSelectorSubcontainer {
margin-bottom: 10px;
}
.container .skuSelectorNameContainer {
margin: 0;
}
.container .skuSelectorTextContainer {
font-size: 0;
margin-bottom: 8px;
}
.container .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorTextContainer .skuSelectorName:last-child::before {
content: "OUTROS TAMANHOS:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorTextContainer .skuSelectorName::before {
content: "OUTRAS CORES";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorTextContainer .skuSelectorSelectorImageValue {
font-size: 0;
}
.container .skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
margin-bottom: 6px;
}
.container .skuSelectorItem {
width: 40px;
height: 40px;
margin-right: 16px;
}
.container .frameAround {
border-radius: 24px;
border: 1px solid #989898;
}
.container .skuSelectorItem--selected .frameAround {
border-radius: 24px;
border: 2px solid #000000;
}
.container .skuSelectorItem--selected .skuSelectorItemTextValue {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #000000;
}
.container .skuSelectorInternalBox {
border: none;
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.container .skuSelectorItemTextValue {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
.container .skuSelectorOptionsList {
margin: 0;
}
.container .diagonalCross {
transform: rotate(90deg);
}
.shippingContainer {
display: flex;
align-items: center;
position: relative;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
padding-bottom: 26px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
left: 344px;
top: 50%;
transform: translateY(-50%);
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL):last-child {
text-decoration: underline;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #000000 !important;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL):last-child :global(.vtex__icon-external-link) {
display: none;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE:";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-input-prefix__group) {
height: 49px;
padding-right: 23px;
display: flex;
align-items: center;
}
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-input__error) {
position: absolute;
top: 70px;
}
.shippingContainer :global(.vtex-button) {
width: 49px;
height: 49px;
background-color: #000000;
border: none;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.shippingTable {
border: none;
padding: 0;
margin-top: -10px;
width: fit-content;
}
.shippingTable .shippingTableHead {
display: table-row;
}
.shippingTable .shippingTableHead .shippingTableRow {
display: grid;
grid-template-columns: 35% 25% 40%;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
text-align: left;
font-weight: 400;
font-size: 0;
line-height: 19px;
color: #202020;
min-width: 112px;
padding: 0;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName::after {
font-size: 14px;
content: "ENTREGA";
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate::before {
font-size: 14px;
content: "FRETE";
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::before {
font-size: 14px;
content: "PRAZO";
}
.shippingTable .shippingTableBody .shippingTableRow {
display: grid;
grid-template-columns: 35% 25% 40%;
grid-template-rows: 1;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
grid-area: 1/3/1/3;
}
.shippingTable .shippingTableBody .shippingTableCell {
width: 112px;
padding: 0 0 15px 0;
}
.shippingTable .shippingTableCellDeliveryName {
padding-left: 0;
}
.shippingTable .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableCell,
.shippingTable .shippingTableLabel,
.shippingTable .currencyContainer {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
padding-left: 0;
}
.subscriberContainer {
padding-top: 77px;
}
.subscriberContainer .title {
font-size: 0;
margin: 0;
}
.subscriberContainer .title::before {
content: "Produto indisponível";
font-size: 12px;
font-weight: 700;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-size: 12px;
}
.subscriberContainer .title::before,
.subscriberContainer .subscribeLabel::before {
font-style: normal;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .form {
margin-bottom: 80px;
}
.subscriberContainer .form .content {
position: relative;
max-width: 399px;
margin-top: 16px;
gap: 8px;
}
.subscriberContainer .form .content .input {
margin: 0;
width: 195.5px;
}
.subscriberContainer .form .content .submit {
position: absolute;
top: 55px;
width: 100%;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
height: 49px;
background: #000000;
border: none;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::before {
font-weight: 600;
font-size: 18px;
line-height: 25px;
content: "AVISE-ME";
color: #fff;
}
.productImagesContainer--first-image {
width: 50%;
}
.productDescriptionContainer {
width: 50%;
}
.productDescriptionTitle {
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
}
.productDescriptionText {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
@media screen and (max-width: 768px) {
.productImageTag {
height: 295px !important;
object-fit: cover !important;
}
.carouselGaleryThumbs {
display: block;
margin-bottom: 32px;
}
.productImagesThumbCaret {
display: none;
}
.productNameContainer {
max-width: 274px;
}
.skuSelectorOptionsList {
flex-wrap: nowrap;
}
.shippingContainer {
padding-bottom: 14px;
}
.shippingContainer :global(.vtex-input-prefix__group) {
padding-right: 38px;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
padding-bottom: 26px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
top: 92px !important;
right: 0 !important;
left: auto !important;
}
.productDescriptionContainer {
width: 100%;
}
}
@media screen and (max-width: 1024px) {
.productImageTag {
max-height: 994px !important;
}
.productImagesThumb {
height: auto !important;
width: 90px !important;
margin-right: 16px;
padding-right: 0 !important;
margin-bottom: 0;
}
.figure {
width: 90px;
height: 90px;
}
.productNameContainer {
text-align: left !important;
margin-bottom: 51px !important;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
left: 312px;
}
.productImagesContainer--first-image {
width: 100%;
}
.productDescriptionTitle {
font-size: 20px;
line-height: 32px;
}
.productDescriptionText {
font-size: 14px;
line-height: 19px;
}
}
@media screen and (min-width: 1920px) {
.container {
padding: 0 360px;
}
.container .productImageTag {
max-height: 994px !important;
}
.productImagesContainer--first-image .productImageTag {
max-height: 872px !important;
}
.productDescriptionTitle {
font-size: 32px;
}
.productDescriptionText {
font-size: 18px;
line-height: 25px;
}
}