.submit-result * {
    display: none;
}

.submit-result #success {
    color: green;
}

.submit-result #error {
    color: crimson;
}

div:has(> div > div > input[type="checkbox"]) {
    margin-bottom: 10px;
}

input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--primary-color-1);
    width: 30px;
    height: 30px;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
    transform: scale(0);
    background-color: #18191b;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: scale(0);
    background-color: var(--primary-color-1);
}

input[type="checkbox"]:checked::after {
    transform: scale(1);
}

input[pattern]:invalid {
    border: 2px dashed red !important;
}

.btn-line#add-to-cart:after {
    color: var(--primary-color-1);
}

/* Old price styling, grey text, font size smaller */
.oldPrice {
    color: #888;
    font-size: 0.8em;
    text-decoration: line-through;
}

/* Sale price styling, green text */
.salePrice {
    color: #9ac339;
}

@media only screen and (max-width: 992px) {
    #subheader h1 {
        font-size: 25px;
        margin: 50px 0 20px 0;
    }
}

.con-row {
    container-type: inline-size;
    container-name: con-row;

    .con-col-6 {
        width: calc(100% / 2);
    }

    .con-col-12 {
        width: 100%;
    }
    @container con-row (width < 290px) {
        .con-col-6 {
            width: 100%;
            padding-left: 0px;
            padding-bottom: 10px;
        }
    }
}