feat(pdp): Adiciona tablayout e newletter mobile

This commit is contained in:
Cainã Milech 2023-01-30 19:25:05 -03:00
parent 42784946d0
commit b1ebdf3c7e
21 changed files with 488 additions and 168 deletions

View File

@ -4,6 +4,12 @@
line-height: 19px; line-height: 19px;
text-align: end; text-align: end;
} }
@media screen and (max-width: 1024px) {
[class*="html--codigo"] {
text-align: left;
margin-bottom: 24px;
}
}
[class*="html--description-container"] { [class*="html--description-container"] {
display: flex; display: flex;
@ -11,10 +17,22 @@
margin-right: 32px; margin-right: 32px;
gap: 32px; gap: 32px;
} }
@media screen and (max-width: 1024px) {
[class*="html--description-container"] {
flex-direction: column;
margin: 0;
gap: 16px;
}
}
[class*="html--image-container"] { [class*="html--image-container"] {
width: 49.82%; width: 49.82%;
} }
@media screen and (max-width: 1024px) {
[class*="html--image-container"] {
width: 100%;
}
}
[class*="html--qtd-btn"] { [class*="html--qtd-btn"] {
display: flex; display: flex;

View File

@ -11,7 +11,7 @@
} }
.price { .price {
margin: 0; margin: 0 0 -5px 0;
font-weight: 700; font-weight: 700;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;

View File

@ -3,7 +3,7 @@ import { useProduct } from "vtex.product-context";
import styles from "./Pix.module.css"; import styles from "./Pix.module.css";
const Pix = () => { const Pix = () => {
if (typeof document !== undefined) { if (typeof document !== "undefined") {
const input = document.querySelector(".vtex-address-form-4-x-input"); const input = document.querySelector(".vtex-address-form-4-x-input");
input?.setAttribute("placeholder", "Digite seu CEP"); input?.setAttribute("placeholder", "Digite seu CEP");
} }

View File

@ -0,0 +1,109 @@
{
"tab-layout#details": {
"children": ["tab-list#details", "tab-content#details"],
"props": {
"blockClass": "details",
"defaultActiveTabId": "details1"
}
},
"tab-list#details": {
"children": [
"tab-list.item#details1",
"tab-list.item#details2",
"tab-list.item#details3",
"tab-list.item#details4",
"tab-list.item#details5"
]
},
"tab-list.item#details1": {
"props": {
"tabId": "details1",
"label": "Descrição",
"blockClass": "descricao",
"defaultActiveTab": true
}
},
"tab-list.item#details2": {
"props": {
"tabId": "details2",
"label": "Descrição"
}
},
"tab-list.item#details3": {
"props": {
"tabId": "details3",
"label": "Descrição"
}
},
"tab-list.item#details4": {
"props": {
"tabId": "details4",
"label": "Descrição"
}
},
"tab-list.item#details5": {
"props": {
"tabId": "details5",
"label": "Descrição"
}
},
"tab-content#details": {
"children": [
"tab-content.item#details1",
"tab-content.item#details2",
"tab-content.item#details3",
"tab-content.item#details4",
"tab-content.item#details5"
]
},
"tab-content.item#details1": {
"children": ["html#description"],
"props": {
"tabId": "details1"
}
},
"tab-content.item#details2": {
"children": ["html#description"],
"props": {
"tabId": "details2"
}
},
"tab-content.item#details3": {
"children": ["html#description"],
"props": {
"tabId": "details3"
}
},
"tab-content.item#details4": {
"children": ["html#description"],
"props": {
"tabId": "details4"
}
},
"tab-content.item#details5": {
"children": ["html#description"],
"props": {
"tabId": "details5"
}
},
"html#description": {
"props": {
"tag": "section",
"testId": "description",
"blockClass": "description-container"
},
"children": ["html#description-image", "product-description"]
},
"html#description-image": {
"props": { "blockClass": "image-container" },
"children": ["product-images#description"]
},
"product-images#description": {
"props": {
"displayMode": "first-image",
"zoomMode": "disabled",
"blockClass": "description-imagem"
}
}
}

View File

@ -42,7 +42,7 @@
"itemsPerPage": { "itemsPerPage": {
"desktop": 4, "desktop": 4,
"tablet": 3, "tablet": 3,
"phone": 1 "phone": 2
}, },
"infinite": true, "infinite": true,
/*"fullWidth": false,*/ /*"fullWidth": false,*/
@ -50,114 +50,6 @@
} }
}, },
"tab-layout#details": {
"children": ["tab-list#details", "tab-content#details"],
"props": {
"blockClass": "details",
"defaultActiveTabId": "details1"
}
},
"tab-list#details": {
"children": [
"tab-list.item#details1",
"tab-list.item#details2",
"tab-list.item#details3",
"tab-list.item#details4",
"tab-list.item#details5"
]
},
"tab-list.item#details1": {
"props": {
"tabId": "details1",
"label": "Descrição",
"blockClass": "descricao",
"defaultActiveTab": true
}
},
"tab-list.item#details2": {
"props": {
"tabId": "details2",
"label": "Descrição"
}
},
"tab-list.item#details3": {
"props": {
"tabId": "details3",
"label": "Descrição"
}
},
"tab-list.item#details4": {
"props": {
"tabId": "details4",
"label": "Descrição"
}
},
"tab-list.item#details5": {
"props": {
"tabId": "details5",
"label": "Descrição"
}
},
"tab-content#details": {
"children": [
"tab-content.item#details1",
"tab-content.item#details2",
"tab-content.item#details3",
"tab-content.item#details4",
"tab-content.item#details5"
]
},
"tab-content.item#details1": {
"children": ["html#description"],
"props": {
"tabId": "details1"
}
},
"tab-content.item#details2": {
"children": ["html#description"],
"props": {
"tabId": "details2"
}
},
"tab-content.item#details3": {
"children": ["html#description"],
"props": {
"tabId": "details3"
}
},
"tab-content.item#details4": {
"children": ["html#description"],
"props": {
"tabId": "details4"
}
},
"tab-content.item#details5": {
"children": ["html#description"],
"props": {
"tabId": "details5"
}
},
"html#description": {
"props": {
"tag": "section",
"testId": "description",
"blockClass": "description-container"
},
"children": ["html#description-image", "product-description"]
},
"html#description-image": {
"props": { "blockClass": "image-container" },
"children": ["product-images#description"]
},
"product-images#description": {
"props": {
"displayMode": "first-image",
"zoomMode": "disabled",
"blockClass": "description-imagem"
}
},
"breadcrumb#pdp": { "breadcrumb#pdp": {
"props": { "props": {
"blockClass": "testebread", "blockClass": "testebread",
@ -165,14 +57,6 @@
} }
}, },
/*"html#breadcrumb": {
"props": {
"tag": "section",
"testId": "breadcrumbs",
"blockClass": "pdp-breadcrumb"
},
"children": ["breadcrumb"]
},*/
"flex-layout.row#specifications-title": { "flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"] "children": ["rich-text#specifications"]
}, },
@ -198,14 +82,15 @@
"Else": "flex-layout.row#product-availability" "Else": "flex-layout.row#product-availability"
} }
}, },
"flex-layout.row#product-main": { "flex-layout.row#product-main": {
"props": { "props": {
"colGap": 7, /*"colGap": 7,*/
/*"rowGap": 7, /*"rowGap": 7,
"marginTop": 5, "marginTop": 5,
"marginBottom": 7, "marginBottom": 7,
"paddingBottom": 7*/ "paddingBottom": 7,*/
"blockClass": "containerteste" "blockClass": "container-produto"
}, },
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"] "children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
}, },
@ -233,8 +118,9 @@
"flex-layout.col#stack": { "flex-layout.col#stack": {
"children": ["stack-layout"], "children": ["stack-layout"],
"props": { "props": {
"width": "51%", "width": "50%",
"rowGap": 0 "rowGap": 0,
"blockClass": "stack-container"
} }
}, },
"flex-layout.row#product-image": { "flex-layout.row#product-image": {
@ -247,11 +133,11 @@
"thumbnailAspectRatio": "1:1", "thumbnailAspectRatio": "1:1",
"thumbnailMaxHeight": 90, "thumbnailMaxHeight": 90,
"thumbnailsOrientation": "horizontal", "thumbnailsOrientation": "horizontal",
"displayThumbnailsArrows": false,
"aspectRatio": { "aspectRatio": {
"desktop": "1:1", "desktop": "auto"
"phone": "16:9"
}, },
"displayThumbnailsArrows": false "blockClass": "images-container"
} }
}, },
"flex-layout.col#right-col": { "flex-layout.col#right-col": {
@ -337,12 +223,12 @@
"flex-layout.row#product-availability": { "flex-layout.row#product-availability": {
"props": { "props": {
"colGap": 7, /*"colGap": 7,*/
/*"rowGap": 7, /*"rowGap": 7,
"marginTop": 5, "marginTop": 5,
"marginBottom": 7, "marginBottom": 7,
"paddingBottom": 7*/ "paddingBottom": 7,*/
"blockClass": "containerteste" "blockClass": "container-produto"
}, },
"children": [ "children": [
"flex-layout.col#stack", "flex-layout.col#stack",

View File

@ -11,6 +11,11 @@
.flexRowContent--name { .flexRowContent--name {
text-align: end; text-align: end;
} }
@media screen and (max-width: 1024px) {
.flexRowContent--name {
text-align: left;
}
}
.flexRowContent--preco { .flexRowContent--preco {
font-style: normal; font-style: normal;
@ -21,7 +26,16 @@
margin: 0; margin: 0;
} }
.flexRow--containerteste { .flexRow--container-produto {
padding-left: 40px; padding-left: 40px;
padding-right: 40px; padding-right: 40px;
} }
.flexRowContent--container-produto {
gap: 32px;
}
@media screen and (max-width: 1024px) {
.flexRowContent--container-produto {
display: block;
}
}

View File

@ -31,6 +31,12 @@
color: #bababa; color: #bababa;
margin-bottom: 8px; margin-bottom: 8px;
} }
@media screen and (max-width: 1024px) {
.listPrice--summary {
font-size: 12px;
line-height: 16px;
}
}
.listPrice--summary :global(.vtex-product-price-1-x-currencyCode--summary)::before { .listPrice--summary :global(.vtex-product-price-1-x-currencyCode--summary)::before {
content: "de "; content: "de ";
} }
@ -44,3 +50,9 @@
line-height: 33px; line-height: 33px;
color: #000000; color: #000000;
} }
@media screen and (max-width: 1024px) {
.sellingPrice--summary {
font-size: 18px;
line-height: 25px;
}
}

View File

@ -11,7 +11,7 @@
text-align: center; text-align: center;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
min-height: 66px; /*min-height: 66px;*/
} }
.nameContainer .productBrand { .nameContainer .productBrand {
font-weight: 400; font-weight: 400;
@ -19,6 +19,12 @@
line-height: 25px; line-height: 25px;
color: #000000; color: #000000;
} }
@media screen and (max-width: 1024px) {
.nameContainer .productBrand {
font-size: 14px;
line-height: 19px;
}
}
.spacer { .spacer {
display: none; display: none;

View File

@ -18,3 +18,9 @@
line-height: 38px; line-height: 38px;
color: #575757; color: #575757;
} }
@media screen and (max-width: 768px) {
.container--title-prateleira .paragraph--title-prateleira {
font-size: 20px;
line-height: 38px;
}
}

View File

@ -15,6 +15,16 @@
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira { .sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 97.1773%; width: 97.1773%;
} }
@media screen and (max-width: 1024px) {
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 97.63%;
}
}
@media screen and (max-width: 768px) {
.sliderLayoutContainer--prateleira .sliderTrackContainer--prateleira {
width: 89.73%;
}
}
.paginationDotsContainer--prateleira { .paginationDotsContainer--prateleira {
align-items: center; align-items: center;
@ -36,10 +46,21 @@
margin-left: 8px; margin-left: 8px;
margin-bottom: 32px; margin-bottom: 32px;
} }
@media screen and (max-width: 768px) {
.slide--prateleira {
margin-left: 4px;
margin-right: 4px;
}
}
.sliderArrows--prateleira { .sliderArrows--prateleira {
margin: 14px; margin: 14px;
} }
@media screen and (max-width: 1024px) {
.sliderArrows--prateleira {
margin: 28px;
}
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) { .sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) {
max-width: unset !important; max-width: unset !important;

View File

@ -47,6 +47,14 @@
width: 100%; width: 100%;
} }
.productImagesGallerySlide--images-container {
width: 100% !important;
}
/*
.swiper-slide-active {
width: 100%;
}*/
/*:global(.vtex-store-components-3-x-productImageTag) { /*:global(.vtex-store-components-3-x-productImageTag) {
width: 664px; width: 664px;
height: 664px; height: 664px;
@ -76,10 +84,10 @@
margin-left: -5px; margin-left: -5px;
} }
.skuSelectorSubcontainer--tamanho .skuSelectorName { .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0; font-size: 0;
} }
.skuSelectorSubcontainer--tamanho .skuSelectorName::after { .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
content: "OUTROS TAMANHOS"; content: "OUTROS TAMANHOS";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -167,10 +175,20 @@
align-items: end; align-items: end;
margin-top: 16px; margin-top: 16px;
} }
@media screen and (max-width: 768px) {
.shippingContainer {
margin-bottom: 24px;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) { .shippingContainer :global(.vtex-address-form__postalCode) {
position: relative; position: relative;
padding: 0; padding: 0;
} }
@media screen and (max-width: 768px) {
.shippingContainer :global(.vtex-address-form__postalCode) {
width: 100%;
}
}
.shippingContainer :global(.vtex-input__error) { .shippingContainer :global(.vtex-input__error) {
position: absolute; position: absolute;
margin-top: 2px; margin-top: 2px;
@ -195,6 +213,11 @@
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators) { .shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators) {
width: 231px; width: 231px;
} }
@media screen and (max-width: 768px) {
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators) {
width: 100%;
}
}
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators)::placeholder { .shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-hideDecorators)::placeholder {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
@ -212,6 +235,12 @@
align-items: center; align-items: center;
text-decoration-line: underline; text-decoration-line: underline;
} }
@media screen and (max-width: 768px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
top: 76px;
right: -50px;
}
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child { .shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
color: #000000; color: #000000;
} }
@ -264,14 +293,14 @@
padding: 0; padding: 0;
} }
.shippingTableHead .shippingTableHeadDeliveryName { .shippingTableHead .shippingTableHeadDeliveryName {
min-width: 110px; width: 110px;
} }
.shippingTableHead .shippingTableHeadDeliveryEstimate { .shippingTableHead .shippingTableHeadDeliveryEstimate {
order: 3; order: 3;
} }
.shippingTableHead .shippingTableHeadDeliveryPrice { .shippingTableHead .shippingTableHeadDeliveryPrice {
display: flex; display: flex;
min-width: 110px; width: 110px;
font-size: 0; font-size: 0;
} }
.shippingTableHead .shippingTableHeadDeliveryPrice::after { .shippingTableHead .shippingTableHeadDeliveryPrice::after {
@ -294,10 +323,10 @@
padding: 15px 4px 0 0; padding: 15px 4px 0 0;
} }
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryName { .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
min-width: 110px; width: 110px;
} }
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice { .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
min-width: 110px; width: 110px;
} }
.shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate { .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
order: 3; order: 3;
@ -309,10 +338,21 @@
flex-direction: column; flex-direction: column;
width: 49.82%; width: 49.82%;
} }
@media screen and (max-width: 1024px) {
.productDescriptionContainer--descricao {
width: 100%;
}
}
.container--descricao { .container--descricao {
margin: 0; margin: 0;
} }
@media screen and (max-width: 1024px) {
.container--descricao {
border-bottom: 1px solid #bfbfbf;
padding-bottom: 16px;
}
}
.productDescriptionTitle--descricao { .productDescriptionTitle--descricao {
font-weight: 400; font-weight: 400;
@ -321,6 +361,11 @@
color: #575757; color: #575757;
margin-bottom: 8px; margin-bottom: 8px;
} }
@media screen and (max-width: 1024px) {
.productDescriptionTitle--descricao {
font-size: 20px;
}
}
.content--descricao { .content--descricao {
font-weight: 400; font-weight: 400;
@ -328,6 +373,12 @@
line-height: 22px; line-height: 22px;
color: #929292; color: #929292;
} }
@media screen and (max-width: 1024px) {
.content--descricao {
font-size: 14px;
line-height: 19px;
}
}
.subscriberContainer { .subscriberContainer {
position: relative; position: relative;
@ -424,16 +475,29 @@
background-color: #000000; background-color: #000000;
border-bottom: 1px solid #fff; border-bottom: 1px solid #fff;
} }
@media screen and (max-width: 1024px) {
.newsletter--newsletter {
padding: 64px 16px 32px 16px;
}
}
@media screen and (max-width: 768px) {
.newsletter--newsletter {
margin-top: 32px;
}
}
.container--newsletter { .container--newsletter {
/*width: 53.75%;*/ width: 53.75%;
width: 774px;
color: #fff; color: #fff;
max-width: unset; max-width: unset;
} }
@media screen and (max-width: 1024px) {
.container--newsletter {
width: 100%;
}
}
.form--newsletter { .form--newsletter {
position: relative;
max-width: unset; max-width: unset;
} }
.form--newsletter :global(.vtex-styleguide-9-x-noAppearance) { .form--newsletter :global(.vtex-styleguide-9-x-noAppearance) {
@ -447,40 +511,69 @@
padding-bottom: 4px; padding-bottom: 4px;
align-items: flex-end; align-items: flex-end;
} }
@media screen and (max-width: 1024px) {
.form--newsletter :global(.vtex-input-prefix__group) {
padding-left: 18px;
padding-bottom: 12px;
}
}
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators) { .form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators) {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: #929292; color: #929292;
} }
@media screen and (max-width: 1024px) {
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators) {
font-size: 12px;
line-height: 16px;
}
}
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators)::placeholder { .form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: #929292; color: #929292;
} }
@media screen and (max-width: 1024px) {
.form--newsletter :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {
font-size: 12px;
line-height: 16px;
}
}
.label--newsletter { .label--newsletter {
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
color: #fff; color: #fff;
display: flex;
flex-direction: column;
} }
.label--newsletter::after { .label--newsletter::after {
content: "Receba ofertas e novidades por e-mail"; content: "Receba ofertas e novidades por e-mail";
position: absolute; margin-top: 16px;
right: 234px;
top: 50px;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: #929292; color: #929292;
} }
@media screen and (max-width: 1024px) {
.label--newsletter::after {
font-size: 16px;
line-height: 22px;
}
}
.inputGroup--newsletter { .inputGroup--newsletter {
margin-top: 40px; margin-top: 16px;
padding: 0; padding: 0;
} }
@media screen and (max-width: 768px) {
.inputGroup--newsletter {
display: flex;
}
}
.buttonContainer--newsletter { .buttonContainer--newsletter {
margin: 0; margin: 0;

View File

@ -19,6 +19,18 @@
justify-content: space-around; justify-content: space-around;
align-items: end; align-items: end;
} }
@media screen and (max-width: 1024px) {
.listContainer {
margin-top: 16px;
padding-bottom: 8px;
padding-top: 5px;
border-bottom: 1px solid #b9b9b9;
border-top: 1px solid #b9b9b9;
flex-direction: column;
align-items: initial;
margin-bottom: 16px;
}
}
.listItem { .listItem {
background-color: transparent; background-color: transparent;
@ -47,10 +59,25 @@
.listItemActive { .listItemActive {
border-bottom: 2px solid #000000; border-bottom: 2px solid #000000;
} }
.listItemActive :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.listItemActive {
border: none;
}
}
.listItemActive--descricao { .listItemActive--descricao {
border-bottom: 2px solid #000000; border-bottom: 2px solid #000000;
} }
@media screen and (max-width: 1024px) {
.listItemActive--descricao {
border: none;
}
}
.listItemActive--descricao :global(.vtex-button) { .listItemActive--descricao :global(.vtex-button) {
border: none; border: none;
border-radius: 0%; border-radius: 0%;

View File

@ -1,6 +1,9 @@
/*NOME PRODUTO*/ /*NOME PRODUTO*/
.flexRowContent--name { .flexRowContent--name {
text-align: end; text-align: end;
@media screen and (max-width: 1024px) {
text-align: left;
}
} }
.flexRowContent--preco { .flexRowContent--preco {
@ -12,7 +15,14 @@
margin: 0; margin: 0;
} }
.flexRow--containerteste { .flexRow--container-produto {
padding-left: 40px; padding-left: 40px;
padding-right: 40px; padding-right: 40px;
} }
.flexRowContent--container-produto {
gap: 32px;
@media screen and (max-width: 1024px) {
display: block;
}
}

View File

@ -25,6 +25,10 @@
line-height: 19px; line-height: 19px;
color: $color-gray11; color: $color-gray11;
margin-bottom: 8px; margin-bottom: 8px;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
}
:global(.vtex-product-price-1-x-currencyCode--summary) { :global(.vtex-product-price-1-x-currencyCode--summary) {
&::before { &::before {
@ -45,4 +49,8 @@
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
color: $color-black-100; color: $color-black-100;
@media screen and (max-width: 1024px) {
font-size: 18px;
line-height: 25px;
}
} }

View File

@ -2,13 +2,17 @@
text-align: center; text-align: center;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
min-height: 66px; /*min-height: 66px;*/
.productBrand { .productBrand {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: $color-black-100; color: $color-black-100;
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 19px;
}
} }
} }

View File

@ -8,5 +8,9 @@
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
color: $color-gray8; color: $color-gray8;
@media screen and (max-width: 768px) {
font-size: 20px;
line-height: 38px;
}
} }
} }

View File

@ -5,6 +5,12 @@
.sliderTrackContainer--prateleira { .sliderTrackContainer--prateleira {
width: 97.1773%; width: 97.1773%;
@media screen and (max-width: 1024px) {
width: 97.63%;
}
@media screen and (max-width: 768px) {
width: 89.73%;
}
} }
} }
@ -32,10 +38,19 @@
margin-right: 8px; margin-right: 8px;
margin-left: 8px; margin-left: 8px;
margin-bottom: 32px; margin-bottom: 32px;
@media screen and (max-width: 768px) {
margin-left: 4px;
margin-right: 4px;
}
} }
.sliderArrows--prateleira { .sliderArrows--prateleira {
margin: 14px; margin: 14px;
@media screen and (max-width: 1024px) {
margin: 28px;
}
} }
.sliderLayoutContainer { .sliderLayoutContainer {

View File

@ -37,6 +37,13 @@
.productImagesGallerySlide { .productImagesGallerySlide {
width: 100%; width: 100%;
} }
.productImagesGallerySlide--images-container {
width: 100% !important;
}
/*
.swiper-slide-active {
width: 100%;
}*/
/*:global(.vtex-store-components-3-x-productImageTag) { /*:global(.vtex-store-components-3-x-productImageTag) {
width: 664px; width: 664px;
@ -71,6 +78,8 @@
} }
.skuSelectorSubcontainer--tamanho { .skuSelectorSubcontainer--tamanho {
.skuSelectorNameContainer {
.skuSelectorTextContainer {
.skuSelectorName { .skuSelectorName {
font-size: 0; font-size: 0;
@ -83,6 +92,8 @@
color: color-gray6; color: color-gray6;
} }
} }
}
}
} }
.skuSelectorItemTextValue--skus { .skuSelectorItemTextValue--skus {
@ -184,10 +195,16 @@
display: flex; display: flex;
align-items: end; align-items: end;
margin-top: 16px; margin-top: 16px;
@media screen and (max-width: 768px) {
margin-bottom: 24px;
}
:global(.vtex-address-form__postalCode) { :global(.vtex-address-form__postalCode) {
position: relative; position: relative;
padding: 0; padding: 0;
@media screen and (max-width: 768px) {
width: 100%;
}
} }
:global(.vtex-input__error) { :global(.vtex-input__error) {
@ -217,6 +234,9 @@
:global(.vtex-address-form-4-x-hideDecorators) { :global(.vtex-address-form-4-x-hideDecorators) {
width: 231px; width: 231px;
@media screen and (max-width: 768px) {
width: 100%;
}
&::placeholder { &::placeholder {
font-weight: 400; font-weight: 400;
@ -237,6 +257,10 @@
display: flex; display: flex;
align-items: center; align-items: center;
text-decoration-line: underline; text-decoration-line: underline;
@media screen and (max-width: 768px) {
top: 76px;
right: -50px;
}
:last-child { :last-child {
color: $color-black-100; color: $color-black-100;
@ -300,7 +324,7 @@
} }
.shippingTableHeadDeliveryName { .shippingTableHeadDeliveryName {
min-width: 110px; width: 110px;
} }
.shippingTableHeadDeliveryEstimate { .shippingTableHeadDeliveryEstimate {
@ -309,7 +333,7 @@
.shippingTableHeadDeliveryPrice { .shippingTableHeadDeliveryPrice {
display: flex; display: flex;
min-width: 110px; width: 110px;
font-size: 0; font-size: 0;
&::after { &::after {
content: "FRETE"; content: "FRETE";
@ -336,11 +360,11 @@
} }
.shippingTableCellDeliveryName { .shippingTableCellDeliveryName {
min-width: 110px; width: 110px;
} }
.shippingTableCellDeliveryPrice { .shippingTableCellDeliveryPrice {
min-width: 110px; width: 110px;
} }
.shippingTableCellDeliveryEstimate { .shippingTableCellDeliveryEstimate {
@ -356,10 +380,18 @@
justify-content: left; justify-content: left;
flex-direction: column; flex-direction: column;
width: 49.82%; width: 49.82%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.container--descricao { .container--descricao {
margin: 0; margin: 0;
@media screen and (max-width: 1024px) {
border-bottom: 1px solid $color-gray9;
padding-bottom: 16px;
}
} }
.productDescriptionTitle--descricao { .productDescriptionTitle--descricao {
font-weight: 400; font-weight: 400;
@ -367,12 +399,19 @@
line-height: 32px; line-height: 32px;
color: $color-gray8; color: $color-gray8;
margin-bottom: 8px; margin-bottom: 8px;
@media screen and (max-width: 1024px) {
font-size: 20px;
}
} }
.content--descricao { .content--descricao {
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
line-height: 22px; line-height: 22px;
color: $color-gray6; color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 19px;
}
} }
//PRODUTO INDISPONIVEL //PRODUTO INDISPONIVEL
@ -483,16 +522,23 @@
padding-bottom: 16px; padding-bottom: 16px;
background-color: $color-black-100; background-color: $color-black-100;
border-bottom: 1px solid $color-white; border-bottom: 1px solid $color-white;
@media screen and (max-width: 1024px) {
padding: 64px 16px 32px 16px;
}
@media screen and (max-width: 768px) {
margin-top: 32px;
}
} }
.container--newsletter { .container--newsletter {
/*width: 53.75%;*/ width: 53.75%;
width: 774px;
color: $color-white; color: $color-white;
max-width: unset; max-width: unset;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.form--newsletter { .form--newsletter {
position: relative;
max-width: unset; max-width: unset;
:global(.vtex-styleguide-9-x-noAppearance) { :global(.vtex-styleguide-9-x-noAppearance) {
@ -506,18 +552,30 @@
border-radius: 0%; border-radius: 0%;
padding-bottom: 4px; padding-bottom: 4px;
align-items: flex-end; align-items: flex-end;
@media screen and (max-width: 1024px) {
padding-left: 18px;
padding-bottom: 12px;
}
:global(.vtex-styleguide-9-x-hideDecorators) { :global(.vtex-styleguide-9-x-hideDecorators) {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: $color-gray6; color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
}
&::placeholder { &::placeholder {
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: $color-gray6; color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
}
} }
} }
} }
@ -528,21 +586,28 @@
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
color: $color-white; color: $color-white;
display: flex;
flex-direction: column;
&::after { &::after {
content: "Receba ofertas e novidades por e-mail"; content: "Receba ofertas e novidades por e-mail";
position: absolute; margin-top: 16px;
right: 234px;
top: 50px;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: $color-gray6; color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 16px;
line-height: 22px;
}
} }
} }
.inputGroup--newsletter { .inputGroup--newsletter {
margin-top: 40px; margin-top: 16px;
padding: 0; padding: 0;
@media screen and (max-width: 768px) {
display: flex;
}
} }
.buttonContainer--newsletter { .buttonContainer--newsletter {

View File

@ -6,10 +6,20 @@
.listContainer { .listContainer {
border-bottom: 1px solid $color-gray9; border-bottom: 1px solid $color-gray9;
margin-bottom: 32px; margin-bottom: 32px;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: end; align-items: end;
@media screen and (max-width: 1024px) {
margin-top: 16px;
padding-bottom: 8px;
padding-top: 5px;
border-bottom: 1px solid $color-gray12;
border-top: 1px solid $color-gray12;
flex-direction: column;
align-items: initial;
margin-bottom: 16px;
}
} }
.listItem { .listItem {
@ -41,10 +51,21 @@
.listItemActive { .listItemActive {
border-bottom: 2px solid $color-black-100; border-bottom: 2px solid $color-black-100;
:global(.vtex-button__label) {
color: $color-black-100;
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
border: none;
}
} }
.listItemActive--descricao { .listItemActive--descricao {
border-bottom: 2px solid $color-black-100; border-bottom: 2px solid $color-black-100;
@media screen and (max-width: 1024px) {
border: none;
}
:global(.vtex-button) { :global(.vtex-button) {
border: none; border: none;
border-radius: 0%; border-radius: 0%;

View File

@ -15,6 +15,7 @@ $color-gray8: #575757;
$color-gray9: #bfbfbf; $color-gray9: #bfbfbf;
$color-gray10: #868686; $color-gray10: #868686;
$color-gray11: #bababa; $color-gray11: #bababa;
$color-gray12: #b9b9b9;
$color-blue: #4267b2; $color-blue: #4267b2;