/*
Theme Name:         The Hat Bar
Theme URI:          https://thehatbarga.com/
Author:             Briantics, Inc.
Author URI:         https://b7s.co/
Description:        Customized theme for The Hat Bar, using Heim as the parent theme.
Template:           heim
Requires at least:  6.0
Tested up to:       6.1
Requires PHP:       5.6
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:        thehatbar
Tags:               blog, one-column, custom-background, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-styles, block-patterns, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks
*/

@import url("../heim/style.css");

#heim-shop-toolbar-buttons li.is-hidden {
	display: none;
}

.site-header-wrapper {
	padding-bottom: 1rem;
	padding-top: 1rem;
}

.site-content {
	padding-top: 2rem;
}

#aside-mobile-secondary-menu-list .larger {
	margin-bottom: 0.25rem;
}
#aside-mobile-secondary-menu-list .larger a {
	font-size: min(24px, 1.25rem);
}
#aside-mobile-secondary-menu-list .larger + *:not(.larger) {
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid var(--aside--border-color);
}

p.component_section_title,
h4.composited_product_title,
.component_filter .component_filter_title {
	display: flex;
	align-items: center;
}

.component_filters.filtered a.reset_component_filters,
.component_filters .active a.reset_component_filter,
.component_filters a.reset_component_filters,
.component_filters a.reset_component_filter,
.component_filter .component_section_title .reset_component_filter,
.component_filter .component_filter_title .reset_component_filter {
	display: block;
	position: relative;
	top: auto;
	transform: none;
}

.component_filter_options a,
a.reset_component_filter,
a.reset_component_filters {
	text-decoration: none;
}

.component_option_thumbnail button,
.woocommerce div.product form.composite_form .component_option_thumbnail .button {
	width: auto;
	font-size: 0.74274rem;
}

.component_option_thumbnail_container .component_option_thumbnail .thumbnail_description {
	padding-left: 0;
	padding-right: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.woocommerce div.product form.cart .component_option_thumbnail .button {
	margin-left: 0;
}

.woocommerce div.product form.cart .variations select {
	background-color: rgba( 255, 255, 255, 0.1 );
}

.composited_product_title_wrapper {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.woocommerce div.product .composited_product_title_wrapper .product_title,
.composited_product_title_wrapper p.component_section_title,
.composited_product_title_wrapper h4.composited_product_title,
.composited_product_title_wrapper label {
	margin-bottom: 0;
}

.component .component_summary .composited_product_title_wrapper {
	padding-top: 1rem;
}

.composited_product_title_wrapper {
	margin-bottom: 1rem;
}

.composite_component.multistep {
	border-top: 1px solid var(--aside--border-color);
	padding-top: 1rem;
}

.composite_component.multistep.last {
	border-bottom: 1px solid var(--aside--border-color);
}

.composite_form .component_title_wrapper .component_title_toggled {
	display: block;
}

.composite_form:not(.paged) .component.composite_component .component_inner {
	padding-bottom: 1rem;
}

.composited_product_details_wrapper:not(:has(.variations)) {
	display: none;
}

.component_option_thumbnails .component_option_thumbnails_container {
	display: flex;
	flex-wrap: wrap;
	gap: 3.5% 0.5rem;
	justify-content: flex-start;
}

.component_option_thumbnails ul.component_option_thumbnails_container li.component_option_thumbnail_container {
	float: none;
	margin: 0;
}
.full_width .columns-3.component_option_thumbnails ul.component_option_thumbnails_container li.component_option_thumbnail_container,
.small_width .columns-3.component_option_thumbnails ul.component_option_thumbnails_container li.component_option_thumbnail_container {
	width: calc( 33.333% - 0.333rem );
}
.small_width .columns-3.component_option_thumbnails .component_option_thumbnail .image {
	width: 100%;
}

.woocommerce div.product .product_title.composited_product_title {
	margin-top: 0;
}

.theme-heim .wp-block-woocommerce-cart .wc-block-cart .is-composited .wc-block-cart-item__wrap .wc-block-cart-item__quantity {
	display: none;
}

.theme-heim .is-large.wc-block-cart .wc-block-cart-items .is-composited td {
	padding-top: 0.25rem;
}

.theme-heim .is-large.wc-block-cart .wc-block-cart-items:has(.is-composited) td.wc-block-cart-item__image {
	width: 50px;
}

.wc-block-components-product-metadata__description {
	display: none;
}

.site-footer .wp-block-woocommerce-product-categories ul ul {
	display: none;
}

.site-footer .widget_block h3 {
	font-weight: 700 !important;
}

.site-footer .widget_nav_menu li {
	margin-bottom: 8px;
}

.build-custom-hat-link {
	display: inline-block;
	margin-left: 1rem;
}
.build-custom-hat-link::before {
	display: inline-block;
	content: '|';
	margin-right: 0.5rem;
}

.woocommerce div.product form.cart .button {
	width: calc( (100% - (8.125rem + 5px) - 1.125rem ) * .5);
	white-space: nowrap;
	min-width: 120px;
}

@media screen and (min-width: 460px) {
	.woocommerce div.product form.cart .button {
		width: 100%;
	}
}

/** Landing Page Styles */
body.page-template-page-landing .site-footer-widgets .widget-area .widget:not(:first-child) {
	display: none;
}
body.page-template-page-landing .site-footer-bar-wrapper .site-info {
	text-align: left;
}
body.page-template-page-landing .site-footer-bar {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
body.page-template-page-landing .site-content {
	padding-bottom: 2rem;
}
body.page-template-page-landing .entry-content {
	min-height: calc( 100vh - 360px );
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
}
