/* ------------------------------------------------------------------------- */
/* seller box */
.origami-seller-box--name {
    font-weight: bold;
}

.origami-seller-box--picture {
    display: inline-block;
    margin-right: 10px;
}
.origami-seller-box--picture .seller-img {
    border-radius: 100%;
}

.origami-seller-box--infos {
    display: inline-block;
    max-width: calc(100% - 100px);
    vertical-align: middle;
}

.origami-seller-box--infos .seller-legal-type {
    font-size: 0.8em;
}

.origami-seller-box--actions {
    margin-top: 15px;
}

/* end seller box */

/* ------------------------------------------------------------------------- */
/* product box */
.origami-product-box {
    box-shadow: 0 0 5px 1px rgba(0,0,0,0.1);
}
.origami-product-box--image {
    display: inline-block;
    margin-right: 10px;
}
.origami-product-box--infos {
    display: inline-block;
    max-width: calc(100% - 100px);
    vertical-align: middle;
}
/* end product box */

/* ------------------------------------------------------------------------- */
/* product offer listing */
.origami-offers-list-wrapper {
    margin: 20px 0;
}

.origami-offers-list-heading, .origami-product-infos-box-heading {
    font-weight: normal;
    font-size: 1rem;
    border: 1px solid #f2f2f2;
    margin-bottom: -1px;
    padding: 15px 20px;
    display: inline-block;
}

.origami-offers-list .origami-offer-item, .origami-product-infos-box-content {
    border: 1px solid #f2f2f2;
    padding: 20px;
    margin-bottom: -1px;
}

.origami-offers-list .seller-name {
    font-weight: bold;
}

.origami-offer-item.selected-offer {
    background: #fcfcfc;
    border: 2px dashed #CCC;
}

/* ------------------------------------------------------------------------- */
/* payment */
.payment-option img {
    max-height: 25px;
}

.origami-offer-item .offer-extra-infos {
    padding: 10px 0;
    font-size: 0.9em;
}

/* ------------------------------------------------------------------------- */
/* user context */
.origami-user-context-btn {
    color: #000000;
    border: 2px solid #999999;
    display: block;
    padding: 15px;
    border-radius: 10px;
    background: #eee;
    margin-bottom: 10px;
    text-align: center;
}

.origami-user-context-btn:hover {
    border-color: #000000;
}

/**/
:root {
    /* general vars */
    --three-dots__size: 70px;
    --three-dots__color: black;
    --debug-size-color: transparent;
    --three-dots__dot-diameter: calc(var(--three-dots__size) / 5);
    --three-dots__dot-left-margin: calc(var(--three-dots__dot-diameter) / 2);

    /* animation variables */
    --three-dots__translateX-timing-function: cubic-bezier(0, 1, 1, 0);
    --three-dots__opacity-timing-function: ease-in-out;
    --three-dots__duration: 2s;
}

@keyframes three-dots__translateX {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes three-dots__appearDisappear {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.three-dots {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--debug-size-color);
    /* width: var(--three-dots__size); */
    height: var(--three-dots__size);
    width: 100%;
}

.three-dots__dot {
    background-color: var(--three-dots__color);
    height: var(--three-dots__dot-diameter);
    width: var(--three-dots__dot-diameter);
    border-radius: var(--three-dots__dot-diameter);
}

.three-dots__dot + .three-dots__dot {
    margin-left: var(--three-dots__dot-left-margin);
}

.three-dots__dot--first {
    animation: three-dots__translateX var(--three-dots__duration) infinite 0.4s
    var(--three-dots__translateX-timing-function),
    three-dots__appearDisappear var(--three-dots__duration) infinite 0.4s
    var(--three-dots__opacity-timing-function);
}

.three-dots__dot--second {
    animation: three-dots__translateX var(--three-dots__duration) infinite 0.2s
    var(--three-dots__translateX-timing-function),
    three-dots__appearDisappear var(--three-dots__duration) infinite 0.2s
    var(--three-dots__opacity-timing-function);
}

.three-dots__dot--third {
    animation: three-dots__translateX var(--three-dots__duration) infinite 0s
    var(--three-dots__translateX-timing-function),
    three-dots__appearDisappear var(--three-dots__duration) infinite 0s
    var(--three-dots__opacity-timing-function);
}
