/*!
Theme Name: Ozen Candle Company
Theme URI: http://underscores.me/
Author: 6StringMedia, Inc
Author URI: https://www.6string.com
Description: Custom Theme for Ozen Candle Company
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ozen-candle
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Ozen Candle Company is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
## CUSTOM CSS
--------------------------------------------------------------*/

/* Add custom styling to the WooCommerce Add to Cart button */
.woocommerce #content .single_add_to_cart_button.button, 
.woocommerce .single_add_to_cart_button.button, 
.woocommerce-page .single_add_to_cart_button.button {
	background-color: #343a40; /* Dark background */
	color: #fff; /* White text */
	font-size: 1.25rem; /* Adjust font size */
	padding: 10px 20px;
	border: none;
	/* display: inline-flex;
	align-items: center; */
	margin-top:20px;
	text-transform: uppercase;
	font-size:14px;
	padding:20px 40px;
	width:50%;
	text-align: center;
}

.woocommerce .single_add_to_cart_button.button i {
	margin-right: 8px; /* Space between icon and text */
}

.variations label[for^="pa_"] {
	/* Your styling here */
	font-weight: bold;  /* Example style */
	color: #000;  /* Example style */
	font-size: 20px;
	padding:0 10px 0 0;
}

input[type="number"].qty {
  display: block;
  width: 50%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-top:20px;
}

/* Style for all select dropdowns */
select {
	width: 100%; /* Full width */
	padding: 10px; /* Add some padding */
	font-size: 16px; /* Adjust font size */
	color: #333; /* Text color */
	border: 1px solid #ccc; /* Border */
	border-radius: 5px; /* Rounded corners */
	background-color: #fff; /* Background color */
	appearance: none; /* Remove default styling in some browsers */
}

/* Style specifically for the Size dropdown */
select#pa_size {
	background-color: #f9f9f9; /* Custom background for Size */
}

/* Style specifically for the Scent dropdown */
select#pa_scent {
	background-color: #f1f1f1; /* Custom background for Scent */
}

/* Adding custom styles to the dropdown options */
select option {
	color: #333; /* Option text color */
	padding: 10px; /* Option padding */
}

/* Add custom arrow for the dropdown */
select::-ms-expand {
	display: none; /* Remove default arrow for IE */
}

select:focus {
	border-color: #666; /* Change border color when focused */
	outline: none; /* Remove default outline */
}

/* Hide the clear/reset variations link */
.reset_variations {
	display: none !important;
}

/* Add 10px margin to the bottom of the first <tr> by targeting <td> */
table tr:first-of-type td,
table tr:first-of-type th {
	padding-bottom: 10px;
}

.product-hover-overlay .product-hover-overlay-link {
	opacity: 0.1!important;
}

.wc-block-components-button {
	background-color: #000!important; /* Set background color */
	color: #fff; /* Set text color */
	border: none; /* Remove border */
	padding: 10px 20px; /* Add padding */
	font-size: 18px; /* Change font size */
	border-radius: 5px; /* Round corners */
	text-transform: uppercase; /* Uppercase text */
	transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.wc-block-components-button:hover {
	background-color: #333; /* Change background on hover */
	color: #fff; /* Keep text white on hover */
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
	color:white!important;
}

.wp-block-heading {
	margin-bottom:20px;
}

/* Styles when the navbar toggler is visible (below the lg breakpoint) */
@media (max-width: 991.98px) {
  .navbar-icon-link-badge {
	right:72px;
	top:15px;	
  }
}