/*
 Theme Name:   Table Ordering
 Description:  Child theme to enable table ordering
 Author:       Ricardo Lowe
 Author URI:   https://www.pideporqr.com
 Template:     astra
 Text Domain:  TableOrdering
 Version:      2.0.0
*/

/* Enqueue parent theme stylesheet */
@import url('../astra/style.css');

/* Add your custom styles here. */

/* Create a floating footer for each single post */
.custom-post-footer {
  /* Your custom styles for the post footer here */
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
}

/* Change the background color of the selected swatch */
.cfvsw-selected-swatch {
  background-color: #98FB98;
	color: white;
	border-color: #98FB98;
}

/* Remove breadcrumbs in woocommerce pages
.woocommerce-breadcrumb {
    display: none !important;
}

/* Shows the header only on single blog posts, shop and product catalog pages */
body:not(.single):not(.archive):not(.woocommerce-shop):not(.tax-product_cat) .site-header {
    display: none;
}
/* Shows the footer only on product category pages */
.custom-woocommerce-footer {
  	position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;  
}

/* Floating Cart Styling */
#floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

#floating-cart .woocommerce-mini-cart__total {
    font-weight: bold;
    margin-top: 10px;
}

#floating-cart .woocommerce-mini-cart__buttons {
    display: flex;
    justify-content: space-between;
}

#floating-cart a.button.checkout {
    background: #ff6600;
    color: white;
}
