
section img {
    max-width: 32em;
}

* + h1 {
    margin-top: 2em;
}

.right_border {
    border-right: 1px solid #000;
}

div.quote {
    width: 50%;
    margin-bottom: 2em;
}

div.quote *:last-child {
    text-align: right;
    align-self: flex-end;
}

p.quote {
    margin: 2em 0 2em 10em;
}

#contents .shop_item_title {
    flex-direction: column;
}

#contents .shop_item_title h1 {
    margin-bottom: 0;
}

#contents .shop_item_title h2 {
    text-align: right;
}

.shop_item_title > h1 + h2 {
    margin: 0 0 2em;
}

#contents > .shop_item + .shop_item {
    border-top: dotted 0.3em;
}

#contents > .shop_item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0 2em;
    flex-wrap: wrap;
    max-width: 100%;
}

#contents > .shop_item > div + div {
    margin-top: 2em;
    border-top: 1px solid;
}

#contents > .shop_item > div:nth-child(2) {
    margin-top: 0;
    border-top: none;
}

#contents a:not(.media_link):hover {
    cursor: zoom-in;
}

#contents ul {
    padding: 0 3em;
}

#contents ul + p {
    max-width: 50em;
    padding: 0 3em;
}

#foreword span > p {
    margin-bottom: 0;
}

#technical_sheet {
    display: flex;
    flex-direction: column;
}

table.generic {
    text-align: left;
    border-collapse: collapse;
}

table.generic tr + tr {
    border-top: 1px solid #000;
}

table.generic td {
    padding: 0.3em 0.5em;
    text-align: right;
}

table.generic td:first-child {
    padding-left: 1em;
    text-align: right;
}

table.generic td:last-child {
    padding-right: 1em;
    text-align: left;
}

table.generic td + td {
    border-left: 1px solid #000;
}

.expandable_wrap {
    padding: 1em 0;
}

.expandable_wrap:hover {
    cursor: pointer;
}

.expandable_wrap:hover .button {
    cursor: pointer;
    text-decoration: underline;
}

.expandable {
    display: none;
}

.expandable > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em 2em;
    margin-top: 3em;
}

.see_more_less_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 3em;
}

.see_less {
    display: none;
}

/* Payment form */
#payment_form {
    text-align: left;
}

#postal_code_city {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#postal_code_city > *:nth-child(1) {
    width: 30%;
}

#postal_code_city > *:nth-child(2) {
    width: 65%;
}

#postal_code_city > * > * {
    width: 100%;
}

#order_inputs > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4em 2em;
    padding: 0.5em 1em;
}

#order_inputs > div:nth-of-type(odd) {
    background: #eee;
}

#order_inputs > div:nth-of-type(even) {
    background: #ddd;
}

#order_inputs input {
    max-width: 5em;
}

#order_inputs > div > div:first-child p + p {
    margin-top: 0;
    font-size: 0.8em;
}

#order_inputs > div > *:first-child {
    max-width: 55%;
}

#order_inputs > div > div:last-child {
    display: flex;
    align-items: center;
    gap: 1em;
}

#order_inputs p {
    text-align: left;
}

#payment_methods {
    margin-top: 2em;
}

#payment_form table {
    margin: 2em 0;
    font-size: 1.2em;
}

#payment_form table tr:last-child {
    font-size: 1.3em;
    font-weight: bold;
}

#payment_form table td {
    padding: 4px 20px;
}

#payment_form table td + td {
    text-align: right;
}

.disclaimer {
    font-size: 0.9em;
}

.disclaimer ol li::marker {
    content: "[" counter(list-item) "] ";
}

section > a {
    margin-top: 2em;
}

ol {
    text-align: left;
}

@media (max-width: 700px) {
    section img {
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
    }

    #contents ul {
        padding: 0 1em 0 2em;
    }

    #contents ul + p {
        padding: 0 2em;
    }

    .shop_item > div > *:not(a) {
        padding: 0 2em;
    }

    .quote {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    div.quote {
        width: auto;
    }
    
    p.quote {
        margin: auto;
    }

    #payment_form {
        padding-bottom: 2em;
    }

    #order_inputs > div {
        column-gap: 1em;
    }
}
