/* normalize.css */

*, 
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: #282828;

}

main,
details {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056df;
    text-decoration: underline;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

img {
    border-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

textarea {
    overflow: auto;
}

[type="radio"],
[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

[hidden] {
    display: none;
}

/* grid */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 90%;
    }
}

/* buttons */
.btn {
    background: #f0f0f0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 300;
    padding: .375em .75em;
    position: relative;
    text-align: center;
    white-space: nowrap;
    transition: all .3s ease;
}

.is-green {
    background-color: #70da96;
    color: white;
}

.is-green:hover {
    background-color: #67c58a;
}

/* app */

html, 
body {
    height: 100%;
    margin: 0;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-height: 100vh;
}


/* header */ 

.header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: .5em 0;
    background-image: linear-gradient(120deg, #70da96 0%, #67c58a 100%);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-block;
    padding-top: .313em;
    padding-bottom: .313em;
    font-size: 1.25em;
    line-height: inherit;
    letter-spacing: 0.07em;
    white-space: nowrap;
    outline: none;
    color: #fff;
}

.logo:hover, .logo:focus {
    text-decoration: none;
    color: #fff;
}

.logo b {
    display: inline-block;
    padding: 0.063em 0.188em;
    margin-right: 0.188em;
    line-height: 1;
    text-transform: uppercase;
    background-color: #fff;
    color: #6fd995;
}

.cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.cart-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    background: url('./assets/buy.svg') no-repeat 0 0 / 24px 24px;
}

.cart-text {
    color: #fff;
}

.show-up-enter-active {
    transition: all .3s ease;
}

.show-up-enter, .show-up-leave-to {
    transform: translateY(-5px);
    opacity: 0;
}

/* main */

main {
    flex-grow: 1;
}

/* footer */
.footer {
    background: #f0f0f0;
}

.footer p {
    margin: 0;
    padding: 1em 0;
    text-align: center;
}

/* breadcrumb */
.breadcrumb {
    margin: 2em 0;
    white-space: nowrap;
}

.breadcrumb ul {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    align-items: center;
    display: flex;
}

.breadcrumb li + li::before {
    content: "\0002f";
}

.breadcrumb a {
    align-items: center;
    color: #67c58a;
    display: flex;
    justify-content: center;
    padding: 0 .5em;
}

.breadcrumb li:first-child a {
    padding-left: 0;
}

.breadcrumb li.is-active a {
    color: #555;
    cursor: none;
    pointer-events: none;
}


/* product */
.product {
    display: flex;
    flex-wrap: wrap;
    margin: 2em 0;
}

.product-image,
.product-info {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .product-image { 
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 2em;
    }

    .product-info {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
}


@media (min-width: 1200px) {
    .product-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

/* full image */
.full-image {
    border: 1px solid #f0f0f0;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.full-image::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.full-image-inner {
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    overflow: hidden;
}

.full-image img {
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}





/* product content*/
.product-content {
    max-width: 600px;
}

.product-title {
    margin-top:  .5em 0;
}

.product-title p {
    color: #555;
    line-height: 1.25;
    margin-top: .5em;
}

.product-sku {
    margin: .5em 0;
}

.product-sku p {
    color: #555;
    font-size: .875em;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-transform: uppercase;
}

.product-colors {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: .5em;
}

.product-colors .variant {
    flex: 0 0 32px;
    max-width: 32px;
    height: 32px;
    margin: .5em .5em 0 0;
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 0 2px 0 #ddd;
    transition: all .3s ease;
}

.product-colors .variant:hover {
    opacity: .5;
}

.product-price {
    margin: 1em 0;
}

.product-price p {
    color: #67c58a;
    font-size: 1.25em;
    font-weight: 500;
}

.product-details {
    margin: .5em 0;
}

.product-details h4 {
    color: #000;
    font-weight: 600;
    margin-bottom: .5em;
}

.product-details ul {
    margin: 0;
    padding-left: 1em;
}

.product-details li {
    color: #777;
    font-size: .875em;
    line-height: 1.25;
}

.product-details li + li {
    margin-top: .125em;
}