#checkout {
    margin-bottom: 3rem;
    width: 100%;
}

#messages {
    display: none;
}
#messages.show {
    display: block;
    border: 3px solid var(--primary-bg-color);
    border-radius: 0.2rem;
    /* background-color: #eee; */
    padding: 2rem;
    margin: 0 auto;
    text-align: justify;
    margin-bottom: 1rem;
}

#articles {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1rem;
    justify-content: center;
}

article.ca {
    position: relative;
    display: block;
    padding: 1rem 0;
    background-color: #fefefe;
    border: 1px solid #eee;
    max-width: var(--vw100);
    width: 100%;
    border-radius: 0.2rem;
}
article.ca.unavailable,
article.ca.zero {
    opacity: 0.6;
}
article.ca .update {
    display: none;
}
article.ca.updated .update {
    display: inline-block;
    position: absolute;
    border: 1px solid #eee;
    border-top: none;
    padding: 0.1rem 0.5rem;
    right: 0;
    bottom: -0.75rem;
    height: 1.5rem;
    font-weight: bold;
    font-size: 0.8rem;
    background-color: #fefefe;
}

article.ca.refreshing .final-price::before {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    background: url(/ext/loading.svg) no-repeat center center / contain;
}

.i.delete-article {
    position: absolute;
    z-index: 2;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    --icon: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTYgMTljMCAxLjEuOSAyIDIgMmg4YzEuMSAwIDItLjkgMi0yVjdINnYxMnptMi40Ni03LjEybDEuNDEtMS40MUwxMiAxMi41OWwyLjEyLTIuMTJsMS40MSAxLjQxTDEzLjQxIDE0bDIuMTIgMi4xMmwtMS40MSAxLjQxTDEyIDE1LjQxbC0yLjEyIDIuMTJsLTEuNDEtMS40MUwxMC41OSAxNGwtMi4xMy0yLjEyek0xNS41IDRsLTEtMWgtNWwtMSAxSDV2MmgxNFY0eiIvPjwvc3ZnPg==);
}
article.ca a {
    display: inline-block;
    width: 100%;
    color: #444;
}
article.ca a {
    display: flex;
    position: relative;
}
article.ca i {
    align-self: center;
}
article.ca a i img {
    width: 160px;
    max-width: 25vw;
    height: auto;
    vertical-align: top;
}
article.ca p {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
article.ca .quantity {
    position: absolute;
    right: 0;
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 50%;    
}
article.ca .append {
    float: right;
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    font-weight: bold;
    right: 1rem;
    font-size: 1rem;
    line-height: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    border: none;
    border-radius: 50%;    
    z-index: 22;
    transition: ease 0.5s transform;
}
article.ca .append:not(.done):hover {
    transform: scale(1.3);
}
article.ca .append.done {
    background: none;
    transform: scale(1.8);
    color: var(--primary-bg-color);
}
article.ca a .manufacturer {
    display: block;
    margin: 1rem 0 0 0;
    font-weight: bold;
    font-size: 0.9rem;
}
article.ca a em {
    display: block;
    font-style: normal;
    margin: 0.5rem 0;
}
article.ca a .options {
    display: block;
    color: var(--primary-bg-color);
    margin: 0;
    font-size: 0.9rem;
}
article.ca b {
    display: block;
    margin-top: 1rem;
}
article.ca .code {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-bg-color);
    padding: 0.5rem;
    font-style: italic;
}
article.ca select {
    width: 3.5rem;
    margin-left: 0.25rem;
}
article.ca b s {
    margin: 0 0.5rem;
    font-weight: normal;
    font-size: 0.95rem;
}
article.ca b s.price {
    white-space: nowrap;
}
article.ca b s.final-price {
    text-decoration: none;
    margin: 0 0 0 1rem;
    white-space: nowrap;
    font-weight: bold;
}
article.ca b q::before, article.ca b q::after {
    display: none;
}
article.ca b q {
    color: var(--primary-bg-color);
}


@media (min-width: 480px) {
    #articles {
        justify-content: left;
    }
}

article.ca {
  width: 100%;
}

@media (min-width: 1024px) {
article.ca {
  width: 48%;
    }
}

