/**
 * Stores Box Styles
 * Styles for the stores information box displayed on product pages
 */

/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Stores Box
// -------------------------------------------------------------------
// - Theme only
// -------------------------------------------------------------------
// Himt: Layout is done via .wps-grid
// -------------------------------------------------------------------
*/
.wps-woo-caffista-stores-box 
{
    padding: 40px;
    padding-bottom: 15px;

    /* margin: 15px 0; */
    margin:0;
    
    border-radius: 8px;

    border: 1px solid var(--wps-divi-colorpicker-graydark1);
    background-color: var(--wps-divi-colorpicker-graylight1);
}


.wps-woo-caffista-stores-box-headline,
.wps-woo-caffista-service-box-headline
{
    margin:0;
    margin-bottom: 0;
    padding: 0;
    padding-bottom:5px!important;
    /* font-family: 'Manrope-Bold'!important; */
    font-family: 'Manrope-ExtraBold'!important;
    font-weight: normal;
}

/* Kleiner */
.wps-woo-caffista-service-box-headline
{
	font-size: var(--wps-font-size-s)!important;    
}

/* Kleiner */
.wps-woo-caffista-service-box-copy
{
	font-size: var(--wps-font-size-s)!important;    
	line-height: var(--wps-line-height-s)!important;  
}



/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Add to cart button
// -------------------------------------------------------------------
// - Form
// -------------------------------------------------------------------
// - remove margins from the custom woo add to cart form
// -------------------------------------------------------------------
*/
.wps-woo-caffista-stores-box form.cart 
{
    margin-top:0!important;
    margin-bottom: 1rem!important;

    /* Flex layout for all Elements in the add to cart form */
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
}


/* FLEX LAYOUT: Make first div full width - giving it a row by itself */
.wps-add-addon-product-container
{
    flex: 0 0 100%;
}
body.woocommerce-page .wps-woo-caffista-stores-box form.cart div.quantity 
{
  /* No flex-grow; uses content or default width */
  flex: 0 0 auto;
}

.wps-woo-caffista-stores-box .single_add_to_cart_button.button.alt
{
  /* Grows to fill the remaining space */
  flex: 1 1 0;
}

/* THEME */
.wps-add-addon-product-container
{
    padding: 10px;
    border: 1px solid #ccc;
}



/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Add to cart button
// -------------------------------------------------------------------
// - Button
// -------------------------------------------------------------------
// - Make button full width
// -------------------------------------------------------------------
*/
.wps-woo-caffista-stores-box .single_add_to_cart_button.button.alt
{
    float: none !important;
    display: block !important;
    /* width: 100%; */

	/* Set padding for transition */
    padding-top   : 7px;
    padding-bottom: 7px;

    /* font-family: 'Manrope-ExtraBold'!important; */
    font-size: 18px!important;
    font-weight: bold;
    text-transform: uppercase;
    text-align:left;

}
.wps-woo-caffista-stores-box .single_add_to_cart_button.button.alt:hover
{
	/* HINT: Set padding for transition - Same as above, so transition does nothing */
    padding-top   : 7px;
    padding-bottom: 7px;
}



/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Add to cart button
// -------------------------------------------------------------------
// - Quantity
// -------------------------------------------------------------------
// - Hide it until 16.8
// - Show it again
// -------------------------------------------------------------------
*/
body.woocommerce-page .wps-woo-caffista-stores-box form.cart div.quantity 
{
    float: none !important;
    display: block !important;
    margin-right: 10px!important;
}


/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Add to cart button
// -------------------------------------------------------------------
// - Quantity
// -------------------------------------------------------------------
// - Make it look good
// -------------------------------------------------------------------
*/
body.woocommerce-page .wps-woo-caffista-stores-box form.cart > .quantity > .input-text.qty.text
{
    background-color: #fff;
    color: var(--wps-text-color);

	/* font-size: var(--wps-font-size-m)!important; */
    font-size: 18px!important;

	line-height: var(--wps-line-height-m)!important;  
    font-weight: bold;

    /* padding: 2px 0; */
    border-color:var(--wps-divi-colorpicker-graydark2);
    border-width: 1px;
}

/*  Damit die "1" nicht verschwindet */
body.woocommerce-page .wps-woo-caffista-stores-box form.cart > .quantity
{
    min-width: 80px;
}



/* 
// -------------------------------------------------------------------
// SINGLEVIEW
// -------------------------------------------------------------------
// Other
// -------------------------------------------------------------------
*/
.wps-stoerer-not-avalable
{
    color: red;
    font-style: italic;
    font-size: small;
}

.wps-benachrichtigungsservice 
{
    border: 1px solid var(--wps-divi-colorpicker-graydark1);
    background-color: #fff;
    padding: 1rem;
}


