/*
 Theme Name:     Divi5 Child Theme
 Theme URI:      http://popweb.co.za
 Description:    Divi5 Child Theme
 Author:         FlashStone Media
 Author URI:     https://flashstonemedia.com
 Template:       Divi
 Version:        2.0.0
*/

@import url("../Divi/style.css");

 


 /* =Theme customization starts here
------------------------------------------------------- */

/*Get rid of the deep footer with widgests
 * was main-footer under divi4 now footer widgets under divi5*/
#footer-widgets {
	display:none !important;
}
/* Hide image titles on hover */
img {
pointer-events:none !important;
}

  /*---------- [Additional font import] ----------
     ----------remove comment tags below to import a font  i.e slash star and star slash
  */
/*@import url('https://fonts.googleapis.com/css?family=FONT-NAME-HERE:400,700');*/
	

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	display: none !important;
}
	
.woocommerce-product-gallery__image {
  pointer-events: none;
}

.add-case-of-6 {
    width: 90%;
    text-align: center;
    margin-top: 10px;
	background-color: #000000;
	color: #ffffff;
}

/* Styling for buttons */
.custom-product-buttons {
    width: 100%;
}

/* Quantity left: 1/3. Add to Cart right: 2/3. */
.custom-product-buttons form.cart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

/* Prevent clearfix pseudo-elements occupying grid cells */
.custom-product-buttons form.cart::before,
.custom-product-buttons form.cart::after {
    display: none !important;
    content: none !important;
}

/* Quantity explicitly placed in the left column */
.custom-product-buttons form.cart > .quantity {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.custom-product-buttons form.cart .quantity input.qty {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: 48px !important;
    margin: 0 !important;
    text-align: center !important;
	background-color: transparent;
	border: 1px solid;
	border-color: #8E6441;
	color: #8E6441;
}

/* Add to Cart explicitly placed in the right column */
.custom-product-buttons form.cart > .add-to-cart-button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px !important;
	border-color: #8E6441 !important
}

/* Add Case of 6: full width underneath */
.custom-product-buttons > .more-button {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px !important;
    text-align: center;
	background-color: #8E6441 !important;
	color: #ffffff !important;
	border: 1px solid;
	border-color: #8E6441 !important;
}


/* Make up down arrows pretty */
/* Position the minus and plus buttons inside the quantity field */
.custom-product-buttons form.cart .quantity.custom-qty-controls {
    position: relative;
}

/* Leave room for the buttons */
.custom-product-buttons form.cart .quantity.custom-qty-controls input.qty {
    padding: 0 26px !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Hide native browser arrows */
.custom-product-buttons .custom-qty-controls input.qty::-webkit-inner-spin-button,
.custom-product-buttons .custom-qty-controls input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Custom minus and plus buttons */
.custom-product-buttons .custom-qty-controls > .qty-adjust {
    position: absolute;
    top: 1px;
    bottom: 1px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    color: #444;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.custom-product-buttons .qty-adjust.qty-minus {
    left: 1px;
}

.custom-product-buttons .qty-adjust.qty-plus {
    right: 1px;
}

.custom-product-buttons .qty-adjust:hover {
    background: rgba(0, 0, 0, 0.06);
}

.custom-product-buttons .qty-adjust:focus-visible {
    outline: 2px solid #444;
    outline-offset: -3px;
}

.custom-product-buttons .qty-adjust:disabled {
    opacity: 0.3;
    cursor: default;
    background: transparent;
}

