/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*
/*Sets scale for quantity slider for below 1140px
@media only screen and (max-width: 768px) {
.woocommerce div.product form.cart div.quantity {
    transform: scale(90%);
}
    
}

/*Sets scale for quantity slider for below 400px
@media only screen and (max-width: 400px) {
.woocommerce div.product form.cart div.quantity {
    transform: scale(85%);
}
    
}
*/

/* Ensure that the grid changes to 4 columns for widths between 1025px and 1400px */
@media (min-width: 1025px) and (max-width: 1400px) {
  .elementor-widget-wc-archive-products .woocommerce.columns-5 ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* End Change column on 1260px Width to 4 */

@media (min-width: 1025px) and (max-width: 1400px) {
  .elementor-widget-wc-archive-products .products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/*Removes broken icon from View Cart Button*/
.woocommerce ul.products li.product .added_to_cart:after {
    display:none!important;
}
/*End of remove broken icon from View Cart button*/

/*Qty slider size*/
.woocommerce form input[type="number"] {
    max-width: 65px;
    min-height: 20px;
    max-height: 36px; 
}

#fp-nav {
    z-index: 2!important
}


#main{min-height: auto!important;}

.wpforms-container input[type=checkbox] {
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	appearance: checkbox !important;
}

/* PENDING: OceanWP adding Font Awesome 5 support, change font weight and family of checked checkbox so the icon displays, Fixes OceanWP Checkbox */
input[type=checkbox]:checked:before {
	font-weight: 800;
	font-family: 'Font Awesome 5 Free';
}

/* PENDING: OceanWP adding Font Awesome 5 support, change font family of radio buttons for payment choice on store checkout page */
.woocommerce-checkout #payment ul.payment_methods .wc_payment_method > label:before {
	content: '\f111';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
}

#vat_number-description {
    color:#4054B2;
}

/*"New" - Category Badge for Archives*/
.new-badge {
    background-color: #4054B2;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.new-badge.visible {
    opacity: 1;
    transform: scale(1);
}
/*End Archive New Category Badge*/

/*PreorderBadge*/
.preorder {
    position: absolute;
    top: 0vw!important;
    left: 0vw!important;
    background-color: rgba(0, 0, 0, 0.7); /* Black background */
    color: #fff; /* White text */
    padding: 8px 12px;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.4px;
    z-index: 9;
}

/*In stock badge*/
.stock-status {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(0, 123, 255, 0.85);
    color: #fff;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.25rem;
    z-index: 10;
}

/*BACKORDER BADGE*/
.soldout, .outofstock-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(228, 112, 112, 0.85);
    color: #fff;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.25rem;
    z-index: 10;
}

/*NEW LABEL BADGE*/
.new-product-label, .category-new-label {
    position: absolute;
    top: 3.5rem;
    left: 0.5rem;
    color: #fff;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.25rem;
    z-index: 9;
    background-color: rgba(0, 100, 0, 0.85); /* Green */
}
/*Changes sale percentage badge to text*/
span.badge.onsale.perc {
    font-size: 0;
}
span.badge.onsale.perc:before {
    content: "SALE!";
    font-size: 1.125rem!important;
    font-weight:500;
}
/*Changes sale percentage badge to text END*/

/*SALE BADGE DROP*/
.onsale {
    top: 3.5rem!important;
    left: 0.5rem!important;
    font-size: 1.1rem;
}



/*Fix for sale badge mobile position*/
/*
@media screen and (max-width: 580px) {
.onsale {
    top: 0rem!important;
    left:0rem!important;
}
}*/
/* ONSALE badge
.onsale:before {
    display:none!important
}
*/
/*End of sale badge fix*/

.touch {
  -webkit-overflow-scrolling: touch;
}

.wcmenucart-cart-icon {
    display:none;
}

.wcmenucart {
    display:none;
}

#wcmenucart-cart-icon {
    display:none;
}

#wcmenucart {
    display:none;
}


/*
.quantity.buttons_added {
  margin-left: auto;
  margin-right: auto;
  position:relative;
  }*/
  
.elementor-widget-container .menu {
    list-style-type: none!important;
    margin: 0;
}
/*Hides boundin box when you click a link*/
a:focus,
.focus a {
	outline: none !important;
	-webkit-tap-highlight-color: transparent!important;
}
element:focus {
    outline: none; /* remove outline */
    box-shadow: none; /* remove box shadow */
}
/*End Hides boundin box + blue highlight when you click a link mobile*/


#vat_number_field .optional {
display: none;
}

.form-row aelia_wc_eu_vat_assistant vat_number update_totals_on_change address-field form-row-wide {
    display:block!important;
}

/*doesn't show how many products are in a category*/
.woocommerce-loop-category__title .count{
display: none !important;
}

.jet-mobile-menu__body {z-index:10;}

/*Changes color for checkout text before checkout*/
.shipping-notice.woocommerce-info:before {color:#4054B2!important;}
.shipping-notice.woocommerce-info {color:#4054B2!important;}

/*Changes sale percentage badge to text*/
span.badge.onsale.perc {
    font-size: 0;
    position: absolute;
    top: 1.2vw!important;
    left: 1vw!important;
}
span.badge.onsale.perc:before {
    content: "SALE!";
    font-size: 12px;
    
}
/*Changes sale percentage badge to text END*/




/*Disable Zoom on mobile */
:root {
  touch-action: pan-x pan-y;
  height: 100% 
}

/* Fixes Checkout shipping text alignment */

#shipping_method.woocommerce-shipping-methods {
    text-align: right!important; 
}

/*Changes product archive paddings for SKU JS in functions */

.woocommerce ul.products li.product .woo-entry-inner li {
    margin:0 0 0!important;
    padding:2px;
    line-height:1.6px;
}

.woocommerce ul.products li.product .woo-entry-inner li h2 {
    margin:0 0 0!important;
    padding-bottom:8px;
}

.woocommerce ul.products li.product li.category {
    padding-top:12px;
}

.woocommerce ul.products li.product li.price-wrap {
    padding-top:16px;
    padding-bottom:16px;
}

/*END OF SKU ARCHIVE FIX*/



/*Jet mobile hamburger fix */
.jet-mobile-menu-toggle-button .jet-menu-toggle__icon {
font-family: “Font Awesome 5 Free”;
font-weight: 900;
}


/* Add to Cart + Quantity Styling */
.cart {
    flex-flow: column;
    justify-content: center;
    display: flex;
}

.quantity {
    display:flex;
    justify-content:flex-start;
    align-content:center;
    margin-bottom:0.4em;
}

/*Qty slider size*/
.woocommerce form input[type="number"] {
    max-width: 65px;
    min-height: 20px;
    max-height: 36px; 
}

/*Checkout Select Box Zindex Correction*/
.select2-container {
    z-index: 25!important;
}

.wlr-product-message {
    display: none!important;
}

/*Sets css styling margin for paragraph archive ACF field*/
.archives {
    margin: 2px!important;
}