/*!
Theme Name: Caliente
Theme URI: https://heaterstock.com
Author: Mike Blair
Author URI: https://heaterstock.com
Description: From Underscores
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: caliente
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.

Caliente 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
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
	padding-top: 2em;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fffcf8;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a:link,
a:visited {
	/* color: #4169e1; */
	color: #e63946;
	text-decoration: none;
}

body a:hover,
body a:focus,
body a:active {
	/* color: #191970; */
	color: #e63946;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding-left: 0;

}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	display: flex;
	flex-direction: column;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 250px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation li:hover a {
	color: #000;
	text-decoration: none;
}

.main-navigation a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 4px;
	color: #000;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.3s ease;
}

/* Animated underline ONLY for direct top-level items */
.main-navigation > div > ul > li > a::after,
.main-navigation > ul > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10px;
	right: 10px;
	height: 1px;
	background-color: #000000;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-navigation > div > ul > li:hover > a::after,
.main-navigation > ul > li:hover > a::after {
	transform: scaleX(1);
}

/* Keep top-level underline active on the current page */
.main-navigation > div > ul > .current-menu-item > a::after,
.main-navigation > div > ul > .current-menu-ancestor > a::after,
.main-navigation > ul > .current-menu-item > a::after,
.main-navigation > ul > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* Sub-menu styling with animated sliding arrow '>' */
.main-navigation .sub-menu {
	background: #ffffff; /* Clean white dropdown background */
	padding: 8px 0;
	border: 1px solid #eee;
	border-radius: 4px;
}

.main-navigation .sub-menu li a {
	position: relative;
	display: block;
	width: 250px;
	padding: 8px 15px 8px 25px; /* Extra left padding for arrow */
	color: #333333;
	font-weight: 500;
	transition: transform 0.2s ease, color 0.2s ease;
}

/* Create the '>' arrow */
.main-navigation .sub-menu li a::before {
	content: '›';
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%) translateX(-4px);
	font-size: 1.2rem;
	line-height: 1;
	color: #e63946; /* Matches your brand red */
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Reveal arrow & slide text slightly right on hover */
.main-navigation .sub-menu li:hover > a {
	color: #e63946;
	transform: translateX(4px);
}

.main-navigation .sub-menu li:hover > a::before {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.display-table {
	display: table;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	background-color: #e63946;
	color: #fff;
	border: none;
	font-weight: 600;
	width: 100%;
	padding: .6rem 0;
	max-height: 500px;
	transition: max-height .5s ease-in;
}

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

	.menu-toggle {
		display: none;
	}

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

@media screen and (max-width: 37.5em) {
	.sub-menu li {
		padding-left: 15px;
	}

	.site-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem !important;
        gap: 12px;
    }

	.site-branding .custom-logo-link {
        margin-bottom: 0.5rem;
    }

	/* Toggle Button (Red Pill Button) */
    .menu-toggle {
        display: block;
        background-color: #e63946;
        color: #ffffff;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 15px;
        padding: 10px 24px;
        cursor: pointer;
        margin: 0 auto;
        transition: background-color 0.2s ease;
    }

    .menu-toggle:hover {
        background-color: #b82d38;
    }

	/* Collapsed State */
    .main-navigation ul {
        display: none;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

	/* Expanded Drawer (Clean White Card) */
    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        max-height: 800px;
        width: 100%;
        background-color: #ffffff;
        border: 1px solid #eeeeee;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 12px;
        padding: 8px 0;
        transition: max-height 0.3s ease-in-out;
    }

	/* Mobile Menu List Items */
    .main-navigation.toggled li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f2f2f2;
    }

	.main-navigation.toggled li:last-child {
        border-bottom: none;
    }

	/* Mobile Menu Links */
    .main-navigation.toggled li a {
        display: block;
        padding: 12px 18px;
        color: #333333;
        font-size: 15px;
        font-weight: 600;
    }

    .main-navigation.toggled li:hover a {
        color: #e63946;
        background-color: #fafafa;
    }

	/* Disable desktop hover underline animations on mobile */
    .main-navigation.toggled a::after {
        display: none !important;
    }

	/* Sub-menu styling inside mobile drawer */
    /* .main-navigation.toggled .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #fcfcfc;
        padding-left: 15px;
    } */

    /* Cart / Shop Menu Spacing */
    .woocommerce-nav {
        margin-top: 8px;
    }

	.display-table {
		padding-top: 1rem;
	}

	.front-page-header {
		text-align: center;
	}

	.row {
		padding: 0 1rem !important;
	}
}

@media screen and (max-width: 1296px) {
	.container-fluid-responsive-padding {
		padding: 0 6rem !important;
	}
}

@media screen and (max-width: 640px) {
	.container-fluid-responsive-padding {
		padding: 0 1rem !important;
	}
}

@media screen and (min-width: 600px) and (max-width: 896px) {
	.custom-logo-link {
		padding-bottom: 1rem;
	}
}

.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 1.5em;
}

.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;
}

.align-center {
	align-self: center;
}

/* ****************** My CSS ****************** */

:root {
	--gray: #eaeaea9a;
	--red: #e63946;
}

.menu-main-menu-container {
	/* background: #e63946; */
	position: relative;
	/* overflow: hidden; */
}

.sub-menu {
	
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

#menu-woocommerce-menu {
	display: flex;
	align-items: center;
	justify-content: right;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Red Pill Button */
#menu-woocommerce-menu li {
    background-color: #e63946;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

#menu-woocommerce-menu li:hover {
    background-color: #b82d38;
}

#menu-woocommerce-menu li a:focus {
    color: #ffffff; /* Prevents text disappearing on click */
}

#menu-woocommerce-menu li a i {
    font-size: 15px;
    line-height: 1;
}

#menu-woocommerce-menu li:not(:last-child) {
	margin-right: .3rem;
}

#menu-woocommerce-menu li a,
.login-link li a {
	display: block;
	text-decoration: none;
	padding: .5rem .5rem .6rem .5rem;
	color: white;
	font-weight: 600;
	transition: all .2s;
	white-space: nowrap;
}

.login-link__list li:not(:last-child) {
	margin-right: .3rem;
}

.login-link {
	display: inline-block;
	vertical-align: middle;
	padding-left: 1em;
}

.login-link__list {
	display: flex;
	justify-content: right;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#primary-menu li a:focus {
	color: #e63946;
}

.site-title {
	float: left;
	margin: 20px 0;
}

.site-branding {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 8rem;
}

.menu-woocommerce-menu-container {
	display: inline-block;
	vertical-align: middle;
	padding-left: 1em;
}

#masthead .aws-container {
	display: inline-block;
	vertical-align: middle;
	max-width: 20em;
}

/* Search Form CSS */

.aws-container .aws-search-form .aws-form-btn {
	background: #e63946;
	border-radius: 0 20px 20px 0 !important;
}

.aws-container .aws-search-form .aws-form-btn:hover {
	background: #B82D38;
}

.aws-container .aws-search-form .aws-search-btn_icon {
	color: white;
}

.aws-container .aws-search-form .aws-wrapper input {
	border-radius: 20px 0 0 20px !important;
}

.aws-container .aws-show-clear .aws-search-field {
	padding-left: 15px;
}

/* End Search Form CSS */

#colophon {
	padding: 3rem 15rem 3rem 15rem;
	color: white;
	background-color: #e63946;
}

#menu-privacy-menu {
	list-style: none;
	margin: .5rem 0 0 0;
	padding-left: 0;
	display: flex;
}

#menu-privacy-menu li:not(:first-child) {
	margin-left: 2.5rem;
}

#colophon .privacy-box {
	margin-top: 2rem;
	border-top: 1px solid #fff;
	padding: .5rem;
	position: relative;
}

#colophon .privacy-box .credit-card-logos {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 50px;
}

#menu-footer-menu {
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	max-height: 75px;
}

#menu-footer-menu li {
	padding: 5px 0;
}

#menu-footer-menu li a,
#menu-privacy-menu li a {
	display: inline;
	padding: 0;
	color: white;
	font-weight: 600;
}

footer h4 {
	margin: 10px 0;
	font-weight: 500;
}

body .wcpt-table a.wcpt-button, body .wcpt-table a.wcpt-link_button,
.woocommerce button.woocommerce-form-login__submit,
.woocommerce a.button,
.woocommerce button.button {
	background-color: #e63946;
	color: white;
	transition: all .2s;
}

.my-banner {
	padding: 1rem;
	display: flex;
	justify-content: center;
	background-size: cover;
	background-position: center;
	color: white;
}

.banner-container {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
}

.banner-heading {
	color: white;
	text-align: center;
	background-color: rgba(33, 39, 38, 0.45);
	margin: 20px;
	padding: 8px;
}

.darkened {
	background: rgba(70, 72, 82, 0.3);
}

.font-18 {
	font-size: 18px;
}

.industry-list {
	margin: 30px 0 0 15px;
	padding: 0;
	line-height: 45px;
}

.industry-padding {
	padding: 0 25rem !important;
	text-align: center;
}

.bold {
	font-weight: bold;
}

.no-margin {
	margin: 0;
}

.resource-list {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.resource {
	display: flex;
	justify-content: center;
	padding-bottom: 1em;
}

.resource-image {
	align-self: center;
}

.resource-text {
	align-self: center;
	padding-left: 20px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
	width: 100%;
}

.wpcf7 input[type="submit"] {
	background-color: #e63946;
	color: white;
	padding: 1rem;
	border: 0;
}

.product-info a.product-info__drawing-button {
	background-color: transparent;
	color: #e63946;
	border: 2px solid #e63946;
	transition: all .2s;
}

.entry-summary .product-info a.product-info__drawing-button:hover {
	background-color: #e63946;
	color: white;
	border: 2px solid #e63946;
}

.woocommerce a.button:hover,
.woocommerce button.woocommerce-form-login__submit:hover,
.woocommerce button.button:hover {
	background-color: #B82D38;
	color: white;
}

.product-info {
	display: inline-block;
}

.woocommerce-page div.product div.summary {
	width: 55%;
}

.woocommerce-page div.product div.images {
	width: 40%;
}

.woocommerce-nav {
	display: flex;
	align-items: center;
}

.table-center-span {
	padding-left: 10px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.fas {
	color: #e63946;
}

.contact-block {
	background-color: #eee;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px;
}

.wcpt-31 {
	margin-bottom: 5rem;
}

a.wcpt-button {
	border: none !important;
}

a.wcpt-button:hover {
	border: none !important;
	background: #B82D38 !important;
}

.wpcf7-submit:hover {
	background: #B82D38 !important;
}

.wp-block-button__link {
	transition: all .2s;
	border-radius: 5px;
	background-color: #e63946;
}

.wp-block-button__link:hover {
	color: white;
}

.wp-block-button a:link,
.wp-block-button a:visited {
	color: white;
}

.wp-block-button:hover a,
.wp-block-button:focus a,
.wp-block-button:active a{
	background: #B82D38 !important;
	text-decoration: none;
}

.wp-block-button__link.wp-element-button {
	background-color: #e63946;
}

.wp-block-button__link.wp-element-button:hover {
	color: white;
}

.full-width {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.gray-background {
	background-color: var(--gray);
}

.shop-sidebar .widget_block {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.shop-sidebar .widget_block h3,
.shop-sidebar .widget_block h4,
.shop-sidebar .catalog-filters h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.25rem;
}

.shop-sidebar .widget_block label,
.shop-sidebar .catalog-filters label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.shop-sidebar .widget_block input[type="checkbox"] {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.shop-catalog-table th,
.shop-catalog-table td {
  vertical-align: middle;
}

.shop-catalog-table th:nth-child(3),
.shop-catalog-table th:nth-child(4),
.shop-catalog-table th:nth-child(5),
.shop-catalog-table td:nth-child(3),
.shop-catalog-table td:nth-child(4),
.shop-catalog-table td:nth-child(5) {
  text-align: right;
  white-space: nowrap;
}

/* left-align text columns for consistency */
.shop-catalog-table th:nth-child(2),
.shop-catalog-table td:nth-child(2),
.shop-catalog-table th:nth-child(6),
.shop-catalog-table td:nth-child(6) {
  text-align: left;
}

.shop-catalog-table {
  border-collapse: collapse;
  width: 100%;
}
.shop-catalog-table tbody tr:nth-child(odd) {
  background-color: #fafafa;
}
.shop-catalog-table tbody tr:hover {
  background-color: #f1f1f1;
}
.shop-catalog-table th {
  background-color: #fff;
  border-bottom: 2px solid #333;
  font-weight: 600;
}
.shop-catalog-table td {
  border-bottom: 1px solid #e1e1e1;
}

.shop-catalog-table td:first-child {
  width: 80px;
}

.filter-widget {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: .5rem;
}
.filter-widget > summary {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: .5rem;
}

.filter-widget .wp-block-heading {
	display: none;
}

#filter-icon {
	position:fixed; 
	top:45%; 
	right:.1rem; 
	z-index:1050; 
	cursor:pointer; 
	background-color: var(--red);
	display: none;
	border-radius: .25rem;
  	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#login h1 a {
	background-image: url(images/HeaterStockLogo.png);
	width: 300px;
	height: 50px;
	background-size: contain;
}

.woocommerce button.button.alt {
	background-color: #e63946;
	transition: all .2s;
}

.woocommerce button.button.alt:hover {
	background-color: #B82D38 !important;
}

.woocommerce ul.products li.product a img {
	width: 200px;
}

.product_title {
	font-size: 30px;
}

.woocommerce .quantity .qty {
	width: 6em;
	padding: 5px;
}

.front-page-header {
	display: flex;
	line-height: 30px;
	font-weight: bold;
	text-transform: uppercase;
}

.front-page-header::before {
	content: ' ';
	border-bottom: 1px solid;
	flex: 1 0 auto;
	margin: 15px;
}

.front-page-header::after {
	content: ' ';
	border-bottom: 1px solid;
	flex: 1 0 auto;
	margin: 15px;
}

.red-box {
	background-color: #e63946;
	color: white;
}

.page .container-fluid-responsive-padding {
	padding: 0 15rem;
}

.offset-up {
	margin-top: -3.5em;
}

#config-button {
	padding: 40px;
	border-radius: 25px;
	color: #fff;
	background-color: #e63946;
	font-size: 1.5rem;
	transition: all .2s;
}

#config-button:hover {
	background-color: #B82D38;
	text-decoration: none;
}

.circle-icon {
	background: #e63946;
	padding: 15px;
	border-radius: 50%;
	height: 100px;
	width: 100px;
	text-align: center;
	line-height: 100px;
	vertical-align: middle;
	color: white;
}

.circle-icon:hover {
	background: #B82D38;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

#industry-text {
	font-size: 15px;
}

#industry-image {
	width: 392px;
	height: 250px;
	object-fit: contain;
}

#industry-image,
#industry-title,
#industry-text {
  transition: opacity 0.15s ease-in-out;
  opacity: 1;              /* start fully visible */
}

.wcpt-cart-widget {
	background-color: #e63946 !important;
}

.checkout-button {
	background-color: #e63946 !important;
}

.woocommerce-message {
	border-top-color: #e63946 !important;
}

.woocommerce-message::before {
    color: #e63946 !important;
}

.woocommerce-page table.cart td.actions .input-text {
	width: 145px;
}

#wpcf7-f252-p253-o1 .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
}

#wpcf7-f252-p253-o1 .wpcf7-form p {
	margin-right: 1rem;
}

#wpcf7-f252-p253-o1 .wpcf7-form p:nth-child(-n+4),
#wpcf7-f252-p253-o1 .wpcf7-form p:nth-child(-n+4) label {
	width: 100%;
}

.custom-heater-rfq-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.small-input {
	width: 28%;
}

.small-input label,
.small-input label span,
.small-input label span input {
	width: 100%;
	display: inline-block;
}

.flex-break {
	flex-basis: 100%;
	height: 0;
}

.show-password-input  {
	display: none;
}

.woocommerce form.login {
	max-width: 75%;
	margin: 2em auto;
}

.shop_table .product-sku {
	font-style: normal;
	margin-bottom: 0;
}

.product-sku {
	margin-bottom: 1rem;
	font-style: italic;
}

.woocommerce-form-coupon-toggle {
	display: none;
}

.woocommerce-MyAccount-navigation {
	padding: 1rem 1.5rem 1rem 1.5rem;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: square;
}

.woocommerce-MyAccount-navigation ul li a {
	color: #e63946;
	font-weight: 600;
}

.woocommerce-loop-product__title {
	font-weight: 600;
}

.logged-in-user {
	display: inline-block;
	vertical-align: middle;
	padding-left: 1.5rem;
}

.logged-in-user a {
	font-weight: 600;
}

.custom-logo-link img {
	width: 300px;
}

.wcpt-89697633 {
	width: 80px;
}

.product-out-of-stock {
	margin: 2rem 0;
	font-weight: bold;
}

.product-stock-form__background {
	display: none;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	background-color: rgba(0, 0, 0, 0.2);
}

.product-stock-form__background--displayed {
	display: block;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	background-color: rgba(0, 0, 0, 0.2);
}

.product-stock-form__popup {
	position: fixed;
	top: -10%;
	left: 50%;
	background-color: white;
	z-index: 4;
	transform: translate(-50%, -50%) scale(0.5);
	box-shadow: 5px 5px 10px -3px;
	padding: 2rem;
}

.product-stock-form__popup--displayed {
	position: fixed;
	top: 50%;
	left: 50%;
	background-color: white;
	z-index: 4;
	transform: translate(-50%, -50%) scale(1);
	box-shadow: 5px 5px 10px -3px;
	padding: 2rem;

	transition: transform .2s;
}

#wpcf7-f308-p24-o1 p:first-of-type {
	margin-right: 1rem;
}

#wpcf7-f308-p24-o1 p {
	display: inline-block;
}

i.form-close-button {
	position: absolute;
	top: .5rem;
	right: 1rem;
	background-color: #e63946;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 25px;
	color: white;
	cursor: pointer;
}

i.form-close-button:hover {
	background: #B82D38;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

.generic-button {
	background-color: #e63946;
	color: white;
	font-weight: bold;
	border-radius: 20px;
	border: none;
	padding: .6rem .6rem .7rem .6rem;
}

.generic-button:hover {
	background: #B82D38;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	float: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	list-style: none;
	margin: .5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	list-style: none;
	display: flex;
	flex-grow: 1;
	justify-content: center;
	align-items: center;
	width: 100px;
	height: 75px;
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
	background-image: linear-gradient(to bottom right, #e63946, #B82D38);
	border-radius: 10px;
	text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-image: linear-gradient(to bottom right, #B82D38, #e63946);
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 80%;
	margin: 0 auto;
}

.name-fields > * {
	flex-grow: 1;
}

#wcpt-31 .wcpt-table-31 .wcpt-heading-row th.wcpt-heading.wcpt-1643328917855 {
	width: 5rem;
}

.summary.entry-summary .stock.in-stock, div.product p.price span, .woocommerce-Price-amount.amount {
	color: #0b7a00;
}

.industry-transition {
	transition: 1s;
}

.woocommerce-product-details__short-description ul {
	margin-left: 0;
	max-width: 500px;
}

.woocommerce span.onsale {
	padding: 0;
	background-color: #00a710;
}

.my-card {
	box-shadow: #ddd 1px 1px 10px 1px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.btn-larger-font .wp-block-button__link {
	font-size: 18px !important;
}

.woocommerce table.shop_attributes {
	width: 400px;
}

.summary .shop_attributes {
    border: none !important;
    margin-bottom: 15px;
}

.summary .shop_attributes tr {
	border-bottom: 1px solid #f0f0f0; /* Subtle separator */
}

.summary .shop_attributes tr th {
	background: none !important;
    padding: 4px 0 !important; /* Reduces vertical height */
    font-size: 0.9em;
}

.summary .shop_attributes tr td {
	background: none !important;
    padding: 4px 0 !important; /* Reduces vertical height */
    font-size: 0.9em;
}

.summary .shop_attributes tr td p {
	padding: 0;
}

.summary .shop_attributes tr:hover {
	background-color: #f1f1f1;
}

.woocommerce div.product div.summary {
	margin-bottom: 6em;
}

.wp-block-button.ghost-button .wp-block-button__link {
	background-color: transparent;
    color: #e63946;
    border: 2px solid #e63946;
    transition: all .2s;
}

.wp-block-button.ghost-button .wp-block-button__link:hover {
	background-color: #e63946 !important;
	color: white;
	border: 2px solid #e63946;
}

.post-thumbnail {
    display: block;
    max-height: 350px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 350px; /* Match the max-height above */
    object-fit: cover; /* This crops the image instead of squishing it */
    object-position: center;
}

.card-img-top {
	width: 366px;
	height: 244px;
}

.card-img-top img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 244px;
}

.woo-cart-count-container {
    background: #ffffff; /* White circle */
    color: #cc2127;    /* Match your red button color */
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
}

/* Hide the badge entirely if there is no text inside it */
.woo-cart-count-container:empty {
    display: none;
}

.woocommerce a.remove {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 1.5em;
	width: 1.5em;
}

/* Home screen Media Queries */
@media screen and (min-width: 1400px) {
	.container {
		max-width: 1200px !important;
	}
}

@media screen and (max-width: 1220px) {
	#menu-footer-menu {
		flex-direction: column;
		max-height: none;
	}

	.site-footer .row {
		text-align: center;
	}

	#menu-privacy-menu {
		flex-direction: column;
		max-height: none;
	}

	#colophon .privacy-box .credit-card-logos {
		position: initial;
		transform: none;
	}

	#menu-privacy-menu li:not(:first-child) {
		margin-left: 0;
	}
}

@media screen and (max-width: 1142px) {
	.section-custom-rfq .col-6 {
		width: 100%;
	}

	.section-custom-rfq .col-6:last-child {
		margin: 2rem 0;
	}
}

@media screen and (max-width: 991px) {
	.woocommerce form.login {
		max-width: 75%;
	}
}

@media screen and (max-width: 895px) {
	.container-fluid-responsive-padding {
		padding: 0;
	}

	.site-branding {
		flex-direction: column;
	}

	.wp-block-image {
		margin: 0 auto;
	}
}

@media screen and (max-width: 770px) {
	.red-box .row > * {
		width: 50%;
	}

	.site-footer .row {
		text-align: center;
	}

	.wp-block-columns {
		display: flex;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(2n) {
		margin: 0;
	}

	.woocommerce-page div.product div.images {
		width: 50%;
		margin: 0 auto;
	}

	.woocommerce-page div.product div.summary {
		width: 100%;
	}

	#menu-footer-menu {
		max-height: none;
	}

	.woocommerce-nav {
		flex-direction: column;
	}

	.woocommerce-nav * {
		padding: 0;
	}

	.woocommerce-nav .logged-in-user {
		margin: .7rem 0;
	}

	.product-stock-form__popup--displayed {
		min-width: 75vw;
	}

	#colophon .privacy-box .credit-card-logos {
		position: static;
		transform: none;
	}

	.login-link {
		margin-top: 1rem;
	}

	.wcpt * {
		word-break: inherit;
	}

	#menu-privacy-menu {
		flex-direction: column;
	}

	#menu-privacy-menu li:not(:first-child) {
		margin-left: 0;
	}

	/* .wp-block-image {
		width: 75%;
		margin: 0 auto;
	} */

	.wp-block-column .wp-block-button {
		margin: 0 auto;
		margin-bottom: 1rem !important; 
	}

	.container .row { flex-direction: column; }
  	.shop-sidebar { margin-bottom: 1rem; }
  	.shop-catalog-table { display: block; overflow-x: auto; }

	.shop-sidebar {
		display: none;
	}

	#filter-icon {
		display: block;
	}

	/* make the Buttons container vertical and full‑width */
	.wp-block-buttons.is-layout-flex {
		flex-direction: column;
		align-items: stretch;   /* buttons fill the width */
		gap: 12px;              /* space between buttons */
		margin: 0 20% !important;
	}

	/* override the 25% width from the block option */
	.wp-block-buttons .wp-block-button {
		flex: 1 1 100% !important;
		width: 100% !important;
	}

	/* make the link fill the row */
	.wp-block-buttons .wp-block-button .wp-block-button__link {
		display: block;
		width: 100%;
		text-align: center;
	}
	
}


@media screen and (max-width: 465px) {
	#colophon {
		padding: 1rem 3rem;
	}

	.col {
		margin-bottom: 3rem;
	}

	#banner-btns {
		flex-direction: column;
		align-items: center;
	}

	#banner-btns div {
		margin-bottom: 1rem;
	}
}