.xsr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.product-selector, .product-selector * {
    box-sizing: border-box;
}

.product-selector {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0;
    justify-content: space-between;
}

.product-selector .product {
    border: 1px solid #c0c0c0;
    margin-bottom: 1em;
    padding: 0;
    background: #f0f0f0;
    width: 100%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.product-selector h2 {
    font-size: 1.25rem;
    font-weight: 400;
    padding: 0.5rem;
    margin: 0;
}

.product-selector div.summary {
    padding: 0 0.5rem;
    font-size: 14px;
}

.product-selector div.summary p {
    margin: 0;
}

.product-selector .attribute {
    padding: 0 0.5rem;
}

.product-selector label {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
}

.product-selector .price {
    padding: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.product-selector select {
    padding: 4px;
    font-size: 14px;
    width: 100%;
    height: auto;
    line-height: initial;
    display: block;
    margin-bottom: 8px;
}

.product-selector .add {
    margin-top: auto;
    margin-bottom: 0;
    padding: 1em 0 0 0;
}

.product-selector button {
    display: block;
    width: 100%;
    line-height: initial;
    padding: 0.75em 0;
    background: #444;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #c0c0c0;
    transition: all 0.2s ease-in-out;
}

.product-selector button:hover {
    background: #000;
    border-color: #fff;
}

.product-selector form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sns-instructions {
    background: #f0f0f0;
    padding: 1em;
    border-radius: 5px;
    border: 1px solid #c0c0c0;
    margin: 1em 0;
}

.sns-instructions p {
    color: #000;
    position: relative;
    padding-left: 2.5rem;
}

.sns-instructions p:last-child {
    margin-bottom: 0;
}

.sns-instructions span {
    position: absolute;
    width: 2.5rem;
    line-height: 1.5rem;
    text-align: center;
    top: 0;
    left: 0;
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.sns-spacer {
    display: block;
    padding-bottom: 20rem;
}

#order-item-table-body input[type=number] {
    width: 70px;
}

#order-item-table-body a {
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    transition: all 0.2s ease-in-out;
}

#order-item-table-body a:hover {
    background: #b00;
    color: #fff;
}

#order-item-table-body .totals th, #order-item-table-body .totals td {
    line-height: 48px;
    font-weight: 600;
}

#order-item-table-body .total th, #order-item-table-body .total td {
    font-size: 1.25em;
    font-weight: bold;
}

.order-settings {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.order-settings > div {
    width: 100%;
    margin-bottom: 1rem;
}

.order-settings h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 0.25rem 0;
}

.order-settings p.hint {
    font-style: italic;
    margin: 0 0 0.25rem 0;
    font-size: 14px;
}

.order-settings select {
    height: auto;
    padding: 0.75em 0.5em;
}

.order-settings .form-group {
    padding-bottom: 0.75rem;
    position: relative;
}

.order-settings input:invalid {
    background: #fee;
    border: 1px solid #b00;
}
.form-group label {
    font-size: 12px;
    margin: 0;
    font-weight: 600;
    padding-left: 2px;
}

.order-settings .form-group select {
    width: 100%;
}

ul.payment-methods {
    list-style-type: none;
}

ul.payment-methods li {
    padding: 0.5em;
    border: 1px solid #bbb;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1em;
}

ul.payment-methods li.active {
    background: #9f9;
    border-color: #333;
}

ul.payment-methods li:hover {
    background: #f0f0f0;
}

ul.payment-methods p {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

ul.payment-methods small {
    font-weight: normal;

}

#card-element {
    padding: 0.75em;
    border: 1px solid #bbb;
    border-radius: 5px;
}

#setup-form {
    margin-bottom: 1em;
}

#setup-form p.error {
    margin: 0;
    font-weight: bold;
    color: #b00;
}

#setup-form .btn-shop {
    margin-left: 0;
}

.btn-shop.btn-confirm {
    margin-left: 0;
    display: block;
    text-align: center;
}

@media only screen and (min-width: 640px) {
    .product-selector .product {
        width: 48%;
    }
}

@media only screen and (min-width: 768px) {
    .product-selector .product {
        width: 32.5%;
    }
    .order-settings > div.half {
        width: 50%;
        padding-right: 1.5rem;
    }
}