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

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

@font-face {
	font-family: 'Against Regular';
	src: url('/fonts/against_regular.otf') format('otf'),
		 url('/fonts/against_regular.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/against_regular.woff') format('woff'),
		 url('fonts/against_regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.font-against {
	font-family: 'Against Regular';
}

.content-area {
        width: 100%;
        margin: 0;
        border: 0;
        padding: 0;
}

.content-area .site {
        margin: 0;
}

.woocommerce div.product p.price,
.amount,
.woocommerce div.product p.stock {
        color: #4a4a4a;
}

/* Variations drop-down */
/* select.attribute_pa_ring-size {
        display: block;
        margin: 0 auto;
}  */
.shopengine-widget .shopengine-swatches .variations tr td .theme-select {
        display: inline-block !important;
}

.shopengine-widget .shopengine-swatches .variations tr td .hasCustomSelect {
        opacity: 0 !important;
        position: absolute !important;
}

table.variations td.value {
        width: 90% !important;
}

/* Variations dropdown - end */

.shopengine-widget .shopengine-product-image .flex-direction-nav .flex-next::before, .shopengine-widget .shopengine-product-image .flex-direction-nav .flex-prev::before {
        opacity: 0;
}

.shopengine-widget .shopengine-product-image .flex-direction-nav .flex-next:hover::before, .shopengine-widget .shopengine-product-image .flex-direction-nav .flex-prev:hover::before {
        opacity: 1;
}

.owp-floating-bar,
.owp-floating-bar.show {
        visibility: hidden;
}

.woocommerce ul.products li.product li.title h2 {
        margin-bottom: 0;
}

.woocommerce ul.products li.product .woo-entry-inner li {
        margin-bottom: 0;
}

/* Disable zoom */
.single-product .pswp,
.shopengine-product-image-toggle {
  display: none !important;
}

.single-product .woocommerce-product-gallery__image {
  pointer-events: none;
}

/* Center add to cart */
.woocommerce-variation-add-to-cart button.single_add_to_cart_button,
form.cart  button.single_add_to_cart_button {
        margin: 0 auto !important;
}

.single_variation_wrap > .woocommerce-variation.single_variation {
        display: none !important;
}

/* Variations select */
.variations_form table.variations th.label {
        display: none;
}

.variations_form table.variations select.hasCustomSelect,
select#pa_ring-size {
        margin: 0 auto !important;
}

table.woocommerce-product-attributes 
tr.woocommerce-product-attributes-item 
th.woocommerce-product-attributes-item__label {
        text-align: right;
        padding-right: 0;
}

table.woocommerce-product-attributes 
tr.woocommerce-product-attributes-item 
th.woocommerce-product-attributes-item__label::after {
        content: ':';
}

/* Swatches */
div.shopengine-swatches form.variations_form .variations .shopengine_swatches span.swatch.swatch_label {
        margin-right: 3px;
        padding: 0;
        border-radius: 50% !important;
        background-color: #ffffff !important;
}

form.variations_form .variations .shopengine_swatches {
        margin: 0 auto;
}

table.variations td.value {
        text-align: center;
        width: 100% !important;
}

/* ring sizes popup */
div.shopengine-product-page:not(.product_cat-rings) .ring-sizes-button {
        display: none !important;
}
