challenge-vtex-io-ana-carol.../react/components/Html/styles.css

113 lines
2.5 KiB
CSS

/* Header Telemarketing */
:global(.vtex-telemarketing-2-x-wrapper) {
background-color: #000000;
height: 34px;
}
/* Product Main */
@media (max-width: 2561px) and (min-width: 1920px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 49.131% 49.131%;
column-gap: 32px;
width: 71.858%;
margin: 0 auto;
}
}
@media (max-width: 1920px) and (min-width: 1024px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 48.819% 48.819%;
padding: 0 40px;
column-gap: 32px;
}
}
@media (max-width: 1025px) and (min-width: 768px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px 40px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
:global(.agenciamagma-store-theme-5-x-html--product-main-content) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px 40px;
}
}
/* Product Quantity and Add To Cart Button */
:global(.agenciamagma-store-theme-5-x-html--cart-content) {
display: flex;
align-items: center;
justify-content: space-between;
column-gap: 10px;
margin-top: 8px;
margin-bottom: 16px;
}
@media (max-width: 768px) and (min-width: 375px) {
:global(.agenciamagma-store-theme-5-x-html--cart-content) {
flex-direction: column;
align-items: flex-start;
}
}
[data-testid="product-quantity"] {
height: 49px;
}
[data-testid="add-to-cart-button"] {
width: 100%;
}
/* Product Availability */
@media (max-width: 2561px) and (min-width: 1920px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block) {
display: grid;
grid-template-columns: 49.131% 49.131%;
column-gap: 32px;
width: 71.858%;
margin: 0 auto;
}
}
@media (max-width: 1920px) and (min-width: 1024px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block) {
display: grid;
grid-template-columns: 48.819% 48.819%;
padding: 0 40px;
column-gap: 32px;
}
}
@media (max-width: 1025px) and (min-width: 768px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
margin-bottom: 8px;
}
}
@media (max-width: 768px) and (min-width: 375px) {
:global(.agenciamagma-store-theme-5-x-html--product-availability-block) {
display: grid;
grid-template-columns: 100%;
padding: 0 40px;
margin-bottom: 8px;
}
}