/**
Theme Name: RS Collective Commerce Theme
Author: Digital Animals Agency
Author URI: https://digitalanimals.com.au
Description: Custom theme for RS Collective Commerce based on WP Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rscc-theme
Template: astra
*/

/* 
 * CSS Styles for Single Product Page - Ticket Event
 * This stylesheet contains styles specifically for the single product 
 * display of ticket events, including button layouts, visibility of elements,
 * and styling of SKU inputs.
 */

/* Styles for the 'Buy Now' button on ticket event products */
.single-product div.product.has-buy-now.product-type-ticket-event .motta-buy-now-button {
    margin-left: 0;
    /* Removes left margin for the Buy Now button */
}

/* Styles for the 'Add to Cart' button on ticket event products */
.single-product div.product.product-type-ticket-event .single_add_to_cart_button {
    width: calc(50% - 10px);
    /* Sets the width of the Add to Cart button */
}

/* Hides the icon box widget on ticket event product pages */
.single-product div.product.product-type-ticket-event .widget.icon-box-widget {
    display: none;
    /* Prevents the icon box widget from displaying */
}

/* Styles for the SKU wrapper in the WCFM dashboard */
.da_wcfm-sku_wrapper {
    display: inline-block;
    /* Displays the SKU wrapper inline */
    width: 60%;
    /* Sets the width of the SKU wrapper */
}

/* Styles for the wrapper containing product ID options */
.da_wcfm-ow_pid-wrapper {
    display: inline-block;
    /* Displays the product ID wrapper inline */
}

/* Styles for checkbox inputs within the SKU wrapper */
.da_wcfm-sku_wrapper input[type="checkbox"] {
    margin: 0;
    /* Removes margin from checkbox inputs */
}

/* Styles for the label associated with the product ID checkbox */
.da_wcfm-sku_wrapper label[for="da_wcfm-ow_pid"] {
    margin-left: 10px;
    /* Adds left margin to the label for spacing */
}

/* Styles for disabled SKU input fields */
input#sku[disabled],
#wcfm-main-contentainer input[type="text"][data-name="sku"][disabled] {
    color: grey;
    /* Changes text color to grey for disabled state */
    background-color: #8080801c !important;
    /* Sets a light grey background for disabled fields */
}

/* Styles for checkboxes in the WCFM main container */
#wcfm-main-contentainer #variations input.wcfm-checkbox,
#wcfm-main-contentainer #variations input[type="checkbox"],
.wcfm-dashboard-page #wcfm-main-contentainer #variations input[type="checkbox"].da-wcfm_cs-field {
    border: 0;
    /* Removes border from checkbox inputs */
    box-shadow: none;
    /* Removes box shadow from checkbox inputs */
    margin: 0 !important;
    /* Resets margin for checkbox inputs */
    text-align: left;
    /* Aligns checkbox text to the left */
}

#wcfm-main-contentainer .wcfm_attributes_blocks .select2-container .select2-selection{
    height: 100% !important;
}

/* Styles for checkboxes in the WCFM Variations */
.wcfm-tabWrap p.checkbox_title:not(#wcfm_products_manage_form_inventory_expander p.checkbox_title) {
    vertical-align: middle;
	display: inline-block;
    width: auto !important;
}

p.wcfm_title strong, span.wcfm_title strong {
	vertical-align: -webkit-baseline-middle;
}

#wcfm-main-contentainer #variations input.wcfm-checkbox, #wcfm-main-contentainer #variations input[type="checkbox"], .wcfm-dashboard-page #wcfm-main-contentainer #variations input[type="checkbox"].da-wcfm_cs-field {
    margin-right: 15px !important;
	margin-left: 5px !important;
}

[class^="variations_backorders_"],
[id^="variations_backorders_"] {
    display: none !important;
}