/* shop */
.shop_card 
{
    flex: 1 1 400px;
    height: 500px;
    background-color: var(--shop-card-bg-color);
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--shop-card-border-color);
}
.shop_card a
{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.shop_card:hover
{
    opacity: 0.4;
}
.shop_card_image
{
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 400px;
    top: 20px;
    width: 90%;
    margin-left: 5%;
    background-size: contain;
}
.shop_card_title
{
    padding: 16px;
    font-family: SecondFont;
    font-size: var(--font-std);
    color: var(--shop-card-fg-color);
    background-color: transparent;
    text-align: left;
    text-transform: uppercase;
    position: absolute;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    margin-top: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 360px;
}
.shop_card_price
{
    padding: 16px;
    font-size: var(--font-small);
    color: var(--shop-card-fg-color);
    text-align: left;
    position: absolute;
    margin-top: 450px;
}
#shop_article_div
{
    margin: auto;
    width: 100%; 
    max-width: 1400px;
    text-align: left;
}
#shop_article_title
{
    font-size: var(--font-large);
    font-weight: bold;
    width: 100%;
    text-align: center;
}
.shop_article_text_box
{
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.shop_article_text_box.expanded 
{ 
    max-height: 1000px;
}
#shop_article_memo
{
    font-size: var(--font-std);
}
#shop_article_added
{
    font-size: var(--font-small);
}
.shop_article_show_more
{
    margin-top: 5px; 
    cursor: pointer; 
    background: none; 
    border: none; 
    color: var(--link-color);
    padding: 0;
    font-size: var(--font-small);
}
.shop_article_option_text 
{
    clear: both;
    font-size: var(--font-std);
    font-weight: bold;
}
.shop_article_variant_box, .shop_article_doc_box, .shop_article_variant_box_actual
{
    width: 14%;
    aspect-ratio: 1/1;
    float: left;
    border: 1px solid var(--main-fg-color);
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.shop_article_variant_box_actual
{
    border: 1px solid var(--error-fg-color);
}
.shop_article_variant_box img, .shop_article_doc_box img, .shop_article_variant_box_actual img
{
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    padding: 5%;
    height: 100px;
}
.shop_article_variant_text
{
    position: absolute;
    bottom: 5px;
    font-size: var(--font-small);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s;
    overflow: hidden;
    ___text-overflow: ellipsis;
    width: 82%;
}
.shop_article_variant_box:hover .shop_article_variant_text
{
    opacity: 1; 
}
#shop_article_variant_image
{
    align-items: center;
    justify-content: center;
    text-align: center;
}
#shop_article_variant_image img
{
    max-width: 90%;
    max-height: 600px;
    cursor: zoom-in;
}
.shop_article_variant_title
{
    font-size: var(--font-std);
    font-weight: bold;
    background-color: var(--shop-table-title);
    padding: 5px;
}
#shop_table
{
    width: 100%;
    border: 1px solid var(--shop-table-title);
    padding: 0px;
}
.shop_column_100
{
    display: flex;
    width: 100%;
    line-height: 30px;
}
.shop_column_50
{
    width: 50%;
    padding: 5px;
}
.shop_column_100_title
{
    display: flex;
    width: 100%;
    line-height: 30px;
    background-color: var(--shop-table-title);
}
#shop_qty_position, #shop_amount_position, #shop_unit_price, .shop_sum
{
    display: block;
    text-align: right;
    width: 130px;
    font-weight: bold;
}
#shop_basket_right
{
    position: fixed;
    top: 0px;
    right: 0px;
    height: 100vh;
    width: 0px;
    color: var(--shop-basket-fg-color);
    background-color: var(--shop-basket-bg-color);
    overflow: hidden;
    z-index: 9999;
}
#shop_basket
{
    color: var(--shop-basket-fg-color);
    background-color: var(--shop-basket-bg-color);
}
.shop_basket_table
{
    border: 0px;
    width: 100%;
}
.shop_basket_table_row
{
    vertical-align: top;
}
.shop_basket_table_column
{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
.shop_basket_image
{
    height: 100px; 
    width: 100px; 
    padding: 0;
    position: relative;
    overflow: hidden;
}
.shop_basket_image img
{
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}
.shop_basket_qty
{
    position: absolute;
    top: 0px;
    right: 4px;
    background: var(--shop-basket-badge-bg-color);
    color: var(--shop-card-bg-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: var(--font-extra-small);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.shop_basket_scroll 
{
    height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 20px;
    padding-right: 20px;
}
#shop_basket_title
{
    padding-top: 10px;
    padding-bottom: 15px;
    width: 100%;
    background-color: var(--shop-basket-title-bg-color);
    color: var(--shop-basket-title-fg-color);
    display: block;
}
.shop_delete_row
{
    position: absolute;
    bottom: 0px;
    left: 4px;
    color: var(--shop-basket-badge-bg-color);
    background-color: var(--shop-card-bg-color);
    width: 8px;
    height: 14px;
    font-size: var(--font-extra-small);
    font-weight: bold;
    display: flex;
    padding: 5px;
    border: 1px solid var(--shop-basket-title-bg-color);
}
.shop_delete_row a
{
    text-decoration: none;
}
#shop_login_data, #shop_new_customer_email
{
    display: block;
}
#shop_new_customer_data, #shop_new_customer_detail
{
    display: none;
}
.shop_price_changed
{
    color: var(--error-fg-color);
}
#shop_customer
{
    position: relative;
    top: -35px;
    left: -140px;
    color: var(--menu-fg-color);
    font-size: var(--font-small);
}
.shop_min_order
{
    font-size: var(--font-small);
    color: var(--error-fg-color);
}
#shop_confirm_button
{
    display: block;
    width: 100%;
}
#shop_confirm_error
{
    display: none;
    width: 100%;
}
