challenge-vtex-io-josecarlo.../styles/css/vtex.flex-layout.css

540 lines
19 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 */
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) {
padding: 32px 0 0 0;
background-color: #000000;
display: flex;
justify-content: center;
align-items: flex-end;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) {
max-width: 100%;
width: 774px;
margin-bottom: 16px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-label) {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #FFFFFF;
display: flex;
flex-direction: column;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-label)::after {
content: "Receba ofertas e novidades por e-mail";
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #929292;
margin: 16px 0;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) {
padding: 0;
display: flex;
border-bottom: 1px solid #929292;
height: 32px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) {
border: 0;
border-radius: 0;
height: 32px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
border-radius: 0;
background: transparent;
height: 32px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-store-components-3-x-buttonContainer) {
padding: 0;
height: 32px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-store-components-3-x-buttonContainer) :global(.vtex-button) {
min-height: 32px;
height: 32px;
border: 0;
background: transparent;
font-weight: 700;
font-size: 14px;
line-height: 19px;
border-bottom: 3px solid #BFBFBF;
border-radius: 0;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-store-components-3-x-buttonContainer) :global(.vtex-button) :global(.vtex-button__label) {
height: 32px;
}
.flexRow--menu-row {
height: 464px;
background-color: #000000;
border-top: 1px solid #FFFFFF;
}
.flexRowContent--menu-row {
padding: 32px 32px 0 32px;
display: grid;
grid-template-columns: max-content max-content 11% max-content 11% 191px;
justify-content: space-between;
}
.flexRowContent--menu-row .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--menu-row .flexColChild--menu-social-links-and-payments {
height: auto;
margin-bottom: 16px;
}
.flexRowContent--menu-row .flexColChild--sociais-links-container {
width: 200px;
}
.flexRowContent--menu-row .flexRowContent--wrapper-payments-icons {
display: block;
width: 160px;
}
.flexRowContent--menu-row .flexRowContent--wrapper-payments-icons .stretchChildrenWidth {
width: 100% !important;
display: contents;
}
.flexRowContent--menu-row .flexRowContent--wrapper-payments-icons .stretchChildrenWidth :global(.vtex-store-components-3-x-imageElement) {
margin-right: 8px;
}
.flexCol--menu-1-footer {
row-gap: 8px;
}
.flexColChild--menu-1-footer :global(.vtex-menu-2-x-styledLinkContainer) {
padding: 0;
}
.flexColChild--menu-1-footer :global(.vtex-menu-2-x-styledLinkContainer) :global(.vtex-menu-2-x-styledLink) {
font-weight: 400;
font-size: 14px;
line-height: 30px;
color: rgba(255, 255, 255, 0.45);
text-transform: none;
letter-spacing: 0;
}
.flexCol--sociais-links-container .flexColChild--sociais-links-container {
height: max-content !important;
}
.flexCol--sociais-links-container .flexRowContent--wrapper-social-links {
display: block;
}
.flexCol--sociais-links-container .flexRowContent--wrapper-social-links .stretchChildrenWidth {
width: 100% !important;
display: contents;
}
.flexCol--sociais-links-container .flexRowContent--wrapper-social-links .stretchChildrenWidth :global(.vtex-store-components-3-x-imageElement) {
margin-right: 8px;
}
.flexRow--container-menu-1-footer-mobile {
background-color: #000000;
padding: 0 16px;
}
.flexRowContent--credits {
display: grid;
grid-template-columns: 1fr max-content;
padding: 32px 32px 16px 32px;
justify-content: center;
align-items: flex-start;
border-top: 1px solid #FFFFFF;
}
.flexRowContent--credits .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--credits .flexRowContent--container-develop {
display: flex;
gap: 16px;
}
.flexRowContent--credits .flexRowContent--container-develop .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-vtex-develop {
display: flex;
gap: 8px;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-vtex-develop .stretchChildrenWidth {
width: max-content !important;
align-items: center;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-vtex-develop .stretchChildrenWidth :global(.vtex-rich-text-0-x-paragraph--title-develop-vtex) {
margin: 0;
font-weight: 400;
font-size: 10px;
line-height: 12px;
color: #FFFFFF;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-m3-develop {
display: flex;
gap: 8px;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-m3-develop .stretchChildrenWidth {
width: max-content !important;
align-items: center;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-m3-develop .stretchChildrenWidth :global(.vtex-rich-text-0-x-paragraph--title-develop-vtex) {
margin: 0;
font-weight: 400;
font-size: 10px;
line-height: 12px;
color: #FFFFFF;
}
@media screen and (min-width: 1920px) {
.flexRowContent--menu-row {
padding: 32px 320px 0 320px;
}
.flexRowContent--credits {
padding: 32px 320px 16px 320px;
}
}
@media screen and (max-width: 1026px) {
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) {
padding-top: 64px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-container) {
width: 100%;
padding: 0 16px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) {
width: 100%;
margin-bottom: 32px;
}
.flexRowContent--newsletter-footer :global(.vtex-store-components-3-x-newsletter) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-label)::after {
font-size: 16px;
line-height: 22px;
}
.flexCol--menu-social-links-and-payments {
padding: 16px 0 32px 0;
}
.flexColChild--payment-methods {
padding-bottom: 0;
}
.flexColChild--payment-methods .flexRowContent--wrapper-payments-icons {
display: grid;
grid-template-columns: repeat(4, 42px);
width: 192px;
justify-content: center;
gap: 8px;
padding: 0;
}
.flexColChild--payment-methods .flexRowContent--wrapper-payments-icons .stretchChildrenWidth {
width: 100% !important;
height: 29px;
padding: 0;
}
.flexRowContent--payment-methods {
padding-bottom: 0;
}
.flexCol--sociais-links-container {
display: flex;
justify-content: center;
align-items: center;
padding: 0 16px;
}
.flexCol--sociais-links-container .flexColChild--sociais-links-container {
width: 200px;
}
.flexCol--sociais-links-container .flexColChild--sociais-links-container .flexRowContent--wrapper-social-links {
text-align: center;
}
.flexRowContent--credits {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 32px;
padding: 16px 0 8px 0;
height: auto;
}
.flexRowContent--credits .stretchChildrenWidth {
width: max-content !important;
padding: 0;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-vtex-develop {
align-items: center;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-vtex-develop .stretchChildrenWidth {
padding: 0;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-m3-develop {
align-items: center;
}
.flexRowContent--credits .flexRowContent--container-develop .flexRowContent--content-m3-develop .stretchChildrenWidth {
padding: 0;
}
}
.flexRowContent--main-header {
padding: 24.5px 40px !important;
justify-content: space-between;
}
.flexRowContent--main-header .flexCol--logo-desktop-m3academy {
width: 44.8717%;
}
.flexRowContent--main-header .flexCol--logo-desktop-m3academy :global(.vtex-store-components-3-x-logoContainer) {
max-width: 100%;
max-height: 100%;
min-width: auto;
padding: 0;
}
.flexRowContent--main-header-mobile {
justify-content: space-between;
align-items: center;
}
.flexRowContent--mobile-header-col {
padding: 32px 40px;
flex-direction: column;
row-gap: 8px;
}
.flexRowContent--mobile-header-col .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--mobile-header-col :global(.vtex-store-components-3-x-searchBarContainer) {
max-width: 100%;
}
.flexRowContent--login-and-cart-container {
display: flex;
gap: 40px;
}
@media screen and (min-width: 1920px) {
.flexRowContent--main-header {
padding: 24.5px 360px !important;
}
}
.flexRow--container-product-main {
padding: 0 40px;
}
.flexRow--container-product-main .flexRowContent--container-product-main {
display: grid;
grid-template-columns: 48.824% 1fr;
grid-column-gap: 32px;
padding: 16px 0;
}
.flexRow--container-product-main .flexRowContent--container-product-main .stretchChildrenWidth {
padding-right: 0;
}
.flexRow--container-product-availability {
padding: 0 40px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability {
display: grid;
grid-template-columns: 48.824% 1fr;
grid-column-gap: 32px;
padding-top: 16px;
padding-bottom: 16px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .stretchChildrenWidth {
padding-right: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-title) {
font-size: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-title)::after {
content: "Produto indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-subscribeLabel)::after {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) {
margin-bottom: 16px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) {
display: grid;
grid-template-areas: "name email" "button button";
grid-template-columns: 1fr 1fr;
column-gap: 8px;
row-gap: 15px;
max-width: 100%;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputName) {
grid-area: name;
margin: 0;
margin-right: 8px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputName) :global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputEmail) {
grid-area: email;
margin: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputEmail) :global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) {
grid-area: button;
margin: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) {
width: 100%;
border: 0;
background-color: #000000;
color: #ffffff;
border-radius: 0;
min-height: auto;
vertical-align: auto;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
padding: 12px 0 !important;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) :global(.vtex-button__label)::after {
content: "avise-me";
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
}
.swiper-wrapper .swiper-slide-active {
width: 100%;
}
.swiper-wrapper .swiper-slide {
width: 100%;
}
.flexRowContent {
margin: 0;
}
.flexRowContent--container-quantity-and-buy-button {
display: grid;
grid-template-columns: 128px 1fr;
gap: 10px;
margin-bottom: 16px;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) {
background-color: #000000;
border: 0;
border-radius: 0;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) :global(.vtex-button__label) {
padding: 12px 0 !important;
}
.flexRowContent--container-quantity-and-buy-button .stretchChildrenWidth {
width: 100% !important;
}
.container-quantity-and-buy-button :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: 100%;
}
.flexRowContent--container-related-products-pdp {
flex-direction: column;
padding: 0 61px;
}
.flexRowContent--container-related-products-pdp .stretchChildrenWidth {
width: 100% !important;
}
.flexRow--message-availability {
width: 60.0903%;
}
.flexRow--container-description-section-product-pdp {
padding: 0 32px;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp {
display: grid;
gap: 32px;
grid-template-columns: 1fr 1fr;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp .stretchChildrenWidth {
width: 100% !important;
}
@media screen and (min-width: 1920px) {
.flexRow--container-product-main {
padding: 0 360px;
}
.flexRow--container-product-main .flexRowContent--container-product-main {
grid-template-columns: 49.1305% 1fr;
}
.flexRow--container-product-availability {
padding: 0 360px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability {
grid-template-columns: 49.1305% 1fr;
}
.flexRowContent--container-related-products-pdp {
padding: 0 381px;
}
}
@media screen and (max-width: 1024px) {
.flexRow--container-product-main .flexRowContent--container-product-main {
display: flex;
flex-direction: column;
padding-top: 16px;
padding-bottom: 0;
}
.flexRowContent--container-related-products-pdp {
padding: 0 53px;
}
.flexRow--container-description-section-product-pdp {
padding: 0;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp {
display: flex;
flex-direction: column;
margin-left: 0;
gap: 16px;
padding: 0;
border-bottom: 1px solid #BFBFBF;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability {
display: flex;
flex-direction: column;
}
.flexRow--message-availability {
width: 100%;
}
}
@media screen and (max-width: 768px) {
.flexRowContent--container-quantity-and-buy-button {
display: flex;
flex-direction: column;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
justify-content: flex-start;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) :global(.vtex-button__label) {
display: inline-block;
width: 56.7567%;
}
.flexRowContent--container-related-products-pdp {
padding: 0 48px;
}
}