section.generic-product {
    padding-top: 152px;
}

section.generic-product > content > topwrap {
    position: relative;
    width: 100%;
    display: flex;
    margin: 0 0 52px;
}

@media(max-width: 860px) {
    section.generic-product > content > topwrap {
        display: block;
    }

}

section.generic-product > content > topwrap > imagewrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 45%;
    max-width: 600px;
    margin: 0;
    aspect-ratio: 1/1;
    background: #ffffff;
}

@media(max-width: 860px) {
    section.generic-product > content > topwrap > imagewrap {
        width: 100%;
    }
}

section.generic-product > content > topwrap > imagewrap::before {
    position: absolute;
    right: 13px;
    top: 0;
    width: 0;
    height: 0;
    transform-origin: top left;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 32px solid #f5f5f5;
    transform: translate3d(0, 0, 0) rotateZ(-45deg);
    content: '';
}

section.generic-product > content > topwrap > imagewrap > img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

section.generic-product > content > topwrap > textwrap {
    position: relative;
    display: block;
    flex: 1 1 auto;
    padding: 32px;
}

@media(max-width: 550px) {
    section.generic-product > content > topwrap > textwrap {
        padding: 32px 0;
    }
}

section.generic-product > content > topwrap > textwrap > titlewrap {
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 32px 0;
    margin-bottom: 32px;
}

section.generic-product > content > topwrap > textwrap > titlewrap > h4 {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 8px;
}

section.generic-product > content > topwrap > textwrap > titlewrap > p {
    position: relative;
    display: block;
    margin: 0;
    color: #000000;
    font-size: 19px;
}

section.generic-product > content > topwrap > textwrap > ul {
    position: relative;
    margin: 0 0 0 32px;
}

section.generic-product > content > descriptionwrap {
    position: relative;
    display: block;
    width: 100%;
}

section.generic-product > content > buywrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 52px;
    background: #ffffff;
}

@media(max-width: 700px) {
    section.generic-product > content > buywrap {
        display: block;
        padding: 32px 16px;
        text-align: center;
    }
}

section.generic-product > content > buywrap::before {
    position: absolute;
    right: 13px;
    top: 0;
    width: 0;
    height: 0;
    transform-origin: top left;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 32px solid #f5f5f5;
    transform: translate3d(0, 0, 0) rotateZ(-45deg);
    content: '';
}

section.generic-product > content > buywrap:not(:last-child) {
    margin-bottom: 52px;
}

section.generic-product > content > buywrap > h5 {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1;
}

@media(max-width: 700px) {
    section.generic-product > content > buywrap > h5 {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
    }
}

section.generic-product > content > buywrap > buttonwrap {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 0 32px;
}

@media(max-width: 700px) {
    section.generic-product > content > buywrap > buttonwrap {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}

section.generic-product > content > buywrap > buttonwrap > a {
    white-space: nowrap;
}

section.generic-product > content > buywrap > buttonwrap > a:not(:last-child) {
    margin-right: 16px;
}

@media(max-width: 700px) {
    section.generic-product > content > buywrap > buttonwrap > a:not(:last-child) {
        margin-right: 32px;
    }
}

@media(max-width: 440px) {
    section.generic-product > content > buywrap > buttonwrap > a:not(:last-child) {
        margin-right: 16px;
    }

    section.generic-product > content > buywrap > buttonwrap > a.button {
        padding-right: 16px;
        padding-left: 16px;
        padding-top: 10px;
        padding-bottom: 8px;
    }
}