#general
{
    display: flex;
    flex-direction: column;
}

/* Tableau des commandes */

#titre-comp
{
    color: #666666;
    padding-bottom: 30px;
    text-align: center;

}

#shop-table
{
    border-collapse: collapse;
    max-width: 800px;
    width: 90%;
    margin: auto;
    font-size: 20px;
}

#shop-table tr
{
    height: 40px;
}

tr.wine-row
{
    color: #8e8e8e;
}

tr.category-row .category-name
{
    text-align: right;
    height: 60px;
}

td.product-price
{
    text-align: right;
    padding-right: 60px;
}

td.product-total, td.total-sans-port, td.port-total, td.total-total
{
    text-align: right;
    padding-right: 30px;
    max-width: 150px;
    width: 20%;
}

td.total-sans-port, td.port-total, td.total-total
{
    color: #8e8e8e;
}

td.product-name
{
    /*cursor: pointer;*/
}

td.total-name, td.port-name
{
    text-align: right;
    color: #666666;
}

table#total-table
{
    padding-top: 30px;
    margin: auto;
    font-size: 20px;
    max-width: 800px;
    width: 90%;
}

#error-message
{
    margin: auto;
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
}

#error-message.error-color
{
    font-size: 20px;
    color: red;
}

/* Les bouteilles */

.bouteille
{
    position: absolute;
    width: 0;
    opacity: 0;
    transform: translate(-120px, -90px);
    transition: width 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* Value input */

tbody .product-quantity
{
    display: flex;
    color: black;
    height: 26px;
}

.minus, .plus
{
    border-radius: 0;
    width: 26px;
    height: 100%;
    border: 1px solid #a8a8a8;
    color: black;
    background: #a8a8a8;
    cursor: pointer;
}

.input-quantity
{
    width: 26px;
    border-radius: 0;
    border: 1px solid #a8a8a8;
    text-align: center;
}

/* Table frais de port */

table#port-table
{
    transform: translateY(-100px);
    border-collapse: collapse;
    max-width: 450px;
    width: 90%;
    margin-left: auto;
    margin-right: 50%;
    font-size: 15px;
}

@media screen and (max-width: 889px) {
    table#port-table {
        margin-left: 5%;
    }
}

tr.port-row {
    color: #8e8e8e;
}

tr.port-row td {
    border: 1px solid #666666;
}

tr.port-row td p
{
    margin: 5px 0 5px 20px;
}

td.port-titre
{
    color: #666666;
    font-size: 18px;
    text-align: right;
}

/* Addresse */

#adresse-info
{
    display: flex;
    max-width: 800px;
    width: 90%;
    margin: auto;
}

#adresse-facturation, #adresse-livraison
{
    width: 50%;
    display: flex;
    flex-direction: column;
}

#adresse-livraison.hide
{
    display: none;
}

.livraison-adress, .facturation-adress
{
    margin-bottom: 20px;
    margin-top: 2px;
    padding-left: 5px;
    font-size: 13px;
    color: #666666;
    height: 25px;
    width: 95%;
    border-radius: 13px;
    border: 1px solid #efefef;
    border-bottom: 1px solid #666666;
}

#check-adress
{
    display: flex;
    margin: auto;
}

#adresse-differente
{
    cursor: pointer;
}

#adresse-livraison label:after, #adresse-facturation label:after
{
    content: " *";
    color: red;
}

.facturation-adress.empty-error, .livraison-adress.empty-error
{
    background: rgba(224, 152, 154, 0.49);
    border-color: #cc3639;
    color: black;
}

.nom-prenom {
    width: calc(95% + 8px);
    display: flex;
    justify-content: space-between;
}

.nom-prenom div {
    display: flex;
    flex-direction: column;
    width: 48%;
}

.nom {

}

.prenom {
}

/* Send button */

#submit
{
    transition:0.3s ease-in-out;
    cursor: pointer;
    margin: 30px auto 30px auto;
    padding: 10px;
    border-radius: 20px;
    background: #8e8e8e;
    border: 1px solid #a8a8a8;
}

#submit button
{
    margin: 0;
    padding: 10px 10px;
    color: #efefef;
    background: none;
    border: none;
    font-size: 16px;
    width: 100%;
}

#submit:hover
{
    transform: translateY(-5px);
    box-shadow: -2px 5px 5px #a8a8a8;
}

#message-reponse
{
    margin: auto;
    color: #666666;
    font-size: 20px;
}

#submit button:disabled
{
    opacity: 0.6;
    cursor: not-allowed;
}

#submit
{
    display: inline-block;
    position: relative;
}

#submit-tooltip
{
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-9999px, -9999px);
    background: #333333;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    z-index: 999;
}

#submit-tooltip.visible
{
    opacity: 1;
}

#order-status
{
    margin: 10px auto 30px;
    color: #666666;
    text-align: center;
}
