/*
Theme Name: Auto-X
Theme URI: https://auto-x.nouthemes.com/
Author: Nouthemes
Author URI: https://nouthemes.com
Description: Auto-X is a store theme for WooCommerce.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 9.8.0
WC tested up to: 11.0
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auto-x
Tags: e-commerce, four-columns, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, sticky-post, template-editing, threaded-comments, translation-ready
 * Woo: 18734005464894:28903c2f1a6affe75c5f4086ca1fcc2f

*/

body:not(.editor-styles-wrapper) .hidden{display: none;}

/* Hover styling for the outline block style (until configurable via theme.json:
   https://github.com/WordPress/gutenberg/issues/42794). */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a:hover {
	text-decoration-color: var(--wp--preset--color--primary-autox);
	text-decoration-thickness: 0.5px !important;
	text-underline-offset: 0.05em;
}

/* Reset browser default margins for blockquote element */
.wp-block-pullquote blockquote {
	margin: 0;
}

/* Search button inside style */
.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 4px;
}

/* Adjust font size for comment reply title */
.wp-block-post-comments-form .comment-reply-title {
	font-size: var(--wp--preset--font-size--large);
}

/* Remove the bottom margin from the button */
.wp-block-post-comments-form .form-submit {
	margin-bottom: 0;
}

/* Responsive menu container inherits the spacing defined above. */
.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--50);
}

/* Adjust the top padding for the submenu items */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	padding-top: var(--wp--preset--spacing--30);
}

/* Override the Gutenberg style to theme style */
.wp-block-post-author__byline,
.wp-block-post-author__bio {
	font-size: inherit;
}

/* Round the avatar and reset the vertical alignment */
.wp-block-post-author__avatar img {
	border-radius: 999px;
	line-height: 0;
}

/* Style tag cloud outline style  */
.wp-block-tag-cloud.is-style-outline a {
	color: var(--wp--preset--color--primary-autox);
	border-color: var(--wp--preset--color--gray-08);
	border-radius: 4px;
	padding: 5px 11px;
	font-size: 14px !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.wp-block-tag-cloud.is-style-outline a:hover,
.wp-block-tag-cloud.is-style-outline a:focus {
	color: var(--wp--preset--color--primary-autox);
	border-color: var(--wp--preset--color--primary-autox);
}

/* Remove the default margin from author bio */
.wp-block-post-author__bio {
	margin: 0;
}

/* Remove the default margin from term description. */
.wp-block-term-description p:first-child {
	margin-top: 0;
}

.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Normalise font sizes for the latest comments and latest posts widgets */
.wp-block-latest-comments__comment-excerpt p,
.wp-block-latest-comments__comment-date,
.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
	font-size: inherit;
}

/* Adjust font colour in the Calendar widget */
.wp-block-calendar table:where(:not(.has-text-color)) {
	color: var(--wp--preset--color--foreground);
}

/* Fix border radius setting for the avatar block */
.wp-block-avatar a,
.wp-block-avatar img {
	border-radius: inherit;
	vertical-align: middle;
}

/* Fix line height for various fields */
.wp-block-search__input,
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),
.wp-block-post-comments-form .comment-form textarea {
	line-height: inherit;
}

/* Style  border colour for search and Jetpack subscription blocks */
.wp-block-search__input,
.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type="email"] {
	border-color: var(--wp--preset--color--tertiary);
}

/* Needed to style input field for various Jetpack blocks */
.wp-block-jetpack-contact-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-jetpack-contact-form select,
.wp-block-jetpack-contact-form textarea,
.wp-block-jetpack-mailchimp input:not([type="submit"]):not([type="checkbox"]),
.wp-block-jetpack-revue input:not([type="submit"]):not([type="checkbox"]) {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--tertiary);
	font-size: inherit;
	line-height: inherit;
	padding: 0.5rem;
}

.wp-block-jetpack-contact-form.contact-form label {
	font-weight: 400;
}

.wp-block-jetpack-contact-form.contact-form label span {
	opacity: 0.7;
}

.wp-block-jetpack-contact-form.contact-form select {
	padding: 0.5rem;
}

.wp-block-jetpack-contact-form.contact-form textarea {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Style the feedback you get after submitting the contact form */
div[id^="contact-form-"] h4 {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: inherit;
	line-height: 1.555555556;
}

div[id^="contact-form-"] .contact-form-submission {
	margin: 0;
	padding: 0;
}

/* Adjust vertical margins in the mailchimp block */
.wp-block-jetpack-mailchimp .wp-block-jetpack-button,
.wp-block-jetpack-mailchimp p {
	margin: var(--wp--preset--spacing--40) 0;
}

/* Adjust the size of the consent text in mailchimp block */
#wp-block-jetpack-mailchimp_consent-text {
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 0;
}

/* Remove underline from the price after discounted */
ins {
	text-decoration: none;
}

/* Fix the hardcoded wide width value in the stylesheet for TT3 */
.woocommerce.woocommerce-page main {
	max-width: calc(var(--wp--style--global--wide-size) + var(--wp--style--root--padding-right) + var(--wp--style--root--padding-left));
}
/* Notice dismiss: a real button, centred on the right edge. The icon follows
   the bar's text colour (currentColor) so it stays visible whatever background
   the merchant picks, and the 40px box keeps a comfortable tap target. */
#site-notice{
	position: relative;
}
.autox-notice-dismiss{
	position: absolute;
	top: 50%;
	right: var(--wp--preset--spacing--30);
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: transparent;
	color: currentColor;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.autox-notice-dismiss svg{
	width: 20px;
	height: 20px;
}
.autox-notice-dismiss:hover,
.autox-notice-dismiss:focus-visible{
	background: rgba(255, 255, 255, 0.15);
}
@media (prefers-reduced-motion: reduce){
	.autox-notice-dismiss{
		transition: none;
	}
}
.our-categories-padding .our-category-item{cursor: pointer;}
.our-categories-padding .our-category-item:hover > .wp-block-group{
	background-color: var(--wp--preset--color--primary-main) !important;
}
/* The category icons are <img> files; brightness(0) invert(1) tints to white
   on hover for both PNG and SVG without needing fill or currentColor. */
.our-categories-padding .our-category-item img{
	transition: filter 0.2s ease;
}
.our-categories-padding .our-category-item:hover img{
	filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: reduce) {
	.our-categories-padding .our-category-item img{
		transition: none;
	}
}
.is-style-outline-hover-primary-main:hover, .is-style-outline-hover-primary-main a:hover{
	border-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--primary-main) !important;
}
/* Active category tab takes the accent. !important overrides core's preset
   colour classes, which are printed with it. */
.autox-product-tabs .autox-tab-active .wp-block-button__link{
	border-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--primary-main) !important;
}
/* Tabs scroll horizontally instead of wrapping (as the BigCommerce
   productCarousel tabs do), so the heading row stays one line of pills at every
   width rather than growing tall when they do not fit. min-width:0 lets the
   container shrink inside the space-between row so the scroll can engage. */
.autox-product-tabs{
	flex-wrap: nowrap !important;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.autox-product-tabs::-webkit-scrollbar{
	display: none;
}
.autox-product-tabs > .wp-block-button{
	flex: 0 0 auto;
}
/* Holds the name of the category that was just loaded, for a screen reader. */
.autox-sr-status{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
/* While a tab is being fetched the section is dimmed rather than emptied, so
   the products already on screen do not disappear and the page does not jump. */
.autox-product-tabs-section[aria-busy="true"]{
	opacity: 0.6;
	transition: opacity 0.2s ease;
}
.wc-block-grid .wc-block-grid__product-onsale, .wc-block-grid__product-image .wc-block-grid__product-onsale{
	background: var(--wp--preset--color--primary-autox) !important;
	border-color: var(--wp--preset--color--primary-autox) !important;
	color: var(--wp--preset--color--base) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: capitalize !important;
}
.wp-block-woocommerce-product-price del{
	font-size: 16px !important;
	font-weight: 400 !important;
	color: var(--wp--preset--color--gray-main) !important;
}
.wc-block-grid__product .wc-block-grid__product-rating .star-rating:before, .wc-block-grid__product .wc-block-grid__product-rating .wc-block-grid__product-rating__stars:before{
	color: var(--wp--preset--color--gray-main) !important;
}
.star-rating, .stars a, .wc-block-components-product-rating__stars span::before, span.rating{
	color: var(--wp--preset--color--yellow) !important;
}
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars{
	font-size: 0.7em !important;
}
.wp-block-group .taxonomy-product_cat.wp-block-post-terms a{
	color: var(--wp--preset--color--gray-main);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}
.wp-block-post.product > .wp-block-group{position: relative;}
.wp-block-post.product .hover-wrapper .wp-block-woocommerce-product-button > span,
.wp-block-woocommerce-product-template li.wc-block-product:hover .hover-wrapper .wp-block-woocommerce-product-button > span{
	display: none !important;
}
header .wp-block-search .wp-block-search__button{
	background: transparent !important;
	border: none !important;
	color: var(--wp--preset--color--contrast) !important;
	max-width: unset !important;
	padding: .5em !important;
}

/*--------------------------------------------------------------
# Header search panel
# Full-width panel driven by Core's Interactivity API (searchfield-hidden,
# aria-expanded, Escape). This CSS restyles the state; main.js adds the close button.
--------------------------------------------------------------*/

/* A fixed square in both states. The wrapper leaves the flow when it becomes
   the panel, so without this the icon's slot would collapse and the row of
   header icons would shift as the panel opens. */
header .wp-block-search.wp-block-search__button-only{
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}

header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) > .wp-block-search__inside-wrapper{
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	/* The right inset leaves room for the close button, which is placed against
	   that edge rather than in the flex flow so the field stays centred. */
	padding: 12px clamp(64px, 8vw, 96px) 12px clamp(16px, 5vw, 72px);
	background-color: var(--wp--preset--color--base);
	box-shadow: 0 6px 20px color-mix(in srgb, var(--wp--preset--color--primary-autox) 12%, transparent);
}

header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__input{
	flex: 0 1 min(760px, 100%);
	width: auto;
	min-width: 0 !important;
	height: 48px;
	margin: 0;
	padding: 0 16px !important;
	border: 1px solid var(--wp--preset--color--gray-08) !important;
	border-right: 0 !important;
	border-radius: 4px 0 0 4px;
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--gray-main);
}
/* The field is focused the moment the panel opens, so the browser's default
   ring would be the first thing seen. Darkening the border keeps focus plainly
   visible against the light field without colouring the panel. */
header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__input:focus{
	outline: none;
	border-color: var(--wp--preset--color--primary-autox) !important;
}

/* The icon button becomes the panel's submit control. Core sets justify-content
   but no align-items, so without this the glyph sits against the top edge of
   the taller button instead of in the middle of it. */
header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__button{
	flex: 0 0 auto;
	align-items: center;
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 4px 4px 0;
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}
header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__button .search-icon{
	color: currentColor !important;
}

/* Dims the page behind the panel. Clicking it takes focus out of the field,
   which is what core listens for to close the panel. */
header:has(.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden))::after{
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1000;
	background-color: color-mix(in srgb, var(--wp--preset--color--primary-autox) 50%, transparent);
}

.autox-search-close{
	display: none;
}
header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .autox-search-close{
	position: absolute;
	right: clamp(8px, 2vw, 28px);
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.autox-search-close:hover{
	background-color: color-mix(in srgb, var(--wp--preset--color--primary-autox) 8%, transparent);
}
.autox-search-close:focus-visible{
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.autox-search-close svg{
	display: block;
	width: 20px;
	height: 20px;
}

@media (prefers-reduced-motion: no-preference) {
	header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) > .wp-block-search__inside-wrapper{
		animation: autox-search-drop 0.18s ease-out;
	}
	header:has(.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden))::after{
		animation: autox-search-dim 0.18s ease-out;
	}
}
@keyframes autox-search-drop{
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}
@keyframes autox-search-dim{
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 767px) {
	header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) > .wp-block-search__inside-wrapper{
		padding: 10px 56px 10px 12px;
	}
	header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__input{
		flex: 1 1 auto;
		height: 44px;
	}
	header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__button{
		width: 44px;
		height: 44px;
		min-height: 44px;
	}
	header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .autox-search-close{
		right: 4px;
	}
}
.marquee-section {
    overflow: hidden;
    position: relative;
}
.marquee-container {
    display: flex;
    width: 100%;
    position: relative;
    /* Track is wider than the viewport; clip it to avoid horizontal scroll. */
    overflow: hidden;
}
.marquee-content {
    display: flex;
    animation: scroll 100s linear infinite;
    gap: 2rem;
    padding: 0 1rem;
}
@media (max-width: 1024px) {
    .marquee-content {
        animation-duration: 90s;
    }
}
.marquee-item, .marquee-item a {
	font-family: Arial;
    /* !important beats the pre-wrap the editor adds inline for rich-text
       editing, which would otherwise wrap the large text onto many lines. */
    white-space: nowrap !important;
    /* The editor does not apply the block's var:preset font size inline, so the
       size lives on the class too; the front end inline value matches it. */
    font-size: var(--wp--preset--font-size--marquee);
    font-weight: 500;
    color: transparent !important;
    margin: 0;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--primary-main);
}
.marquee-content:hover .marquee-item,
.marquee-content:hover .marquee-item a{
	color: var(--wp--preset--color--primary-main) !important;
	-webkit-text-stroke: unset !important;
}
.popular-brands img{
	opacity: .4;
}
.popular-brands .wp-block-image:hover img{
	opacity: 1;
}
.wp-block-post-comments-form.has-background{padding: 28px;}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select{
	border-radius: 4px !important;
	border: 1px solid var(--wp--preset--color--gray-08) !important;
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--gray-main) !important;
}
@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
    }
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
} 
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Single product gallery eases in on load, echoing the BigCommerce build. The
   animation only runs when motion is welcome; the image keeps its natural
   opacity otherwise, so it is never hidden if the animation does not play (this
   also keeps the LCP image painting immediately). */
@media (prefers-reduced-motion: no-preference) {
	.single-product .wp-block-woocommerce-product-image-gallery {
		animation: autox-fade-up 0.4s ease-out both;
	}
}
@keyframes autox-fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--wp--preset--color--primary-autox);
    color: var(--wp--preset--color--base);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--wp--preset--color--primary-main);
    transform: translateY(-3px);
}

.back-to-top:focus {
    outline: 2px solid var(--wp--preset--color--primary-main);
    outline-offset: 2px;
}
.banner-project-description .wp-block-cover{
	align-items: end !important;
}
.banner-project-description .wp-block-cover__inner-container{
	padding-bottom: var(--wp--preset--spacing--50) !important;
}
/* CTA banners (Get in touch / Collaborate): both buttons red by default,
   inverting to white on hover. */
.banner-project-description .wp-block-button__link {
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
	border-color: var(--wp--preset--color--primary-main) !important;
	transition: background-color .3s ease, color .3s ease;
}
.banner-project-description .wp-block-button__link:hover,
.banner-project-description .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--primary-main) !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
	.banner-project-description h4 { font-size: 1.125rem !important; } /* 18px */
	.banner-project-description h3 { font-size: 1.5rem !important; }   /* 24px */
	.banner-project-description p  { font-size: 1rem !important; }     /* 16px */
}
@media (max-width: 767px) {
	.banner-project-description h4 { font-size: .875rem !important; margin-bottom: 0 !important; } /* 14px */
	.banner-project-description h3 { font-size: 1.25rem !important; margin-bottom: .5rem !important; } /* 20px */
	.banner-project-description p  { font-size: .875rem !important; line-height: 1.4 !important; margin-bottom: .875rem !important; } /* 14px */
	.banner-project-description .wp-block-button__link {
		padding: 7px 20px !important;
		font-size: .875rem !important;
		line-height: 1.6 !important;
	}
}
.wp-block-image img, .wp-block-woocommerce-product-image img{
	transition: all 0.3s ease-in-out;
}
.wp-block-image:hover img, .wp-block-woocommerce-product-image:hover img{
	-webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
}
.wp-block-read-more{
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
}
.wp-block-read-more:hover{
	color: var(--wp--preset--color--primary-main) !important;
}
.wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon,
.wc-block-mini-cart__button .wc-block-mini-cart__icon,
.header .wp-block-search__button.has-icon .search-icon,
.sidebar-archive-group .wp-block-search__button.has-icon .search-icon{
	color: var(--wp--preset--color--primary-autox) !important;
	width: 24px !important;
	height: 24px !important;
}
.posts-featured-title{
	height: 100%;
	gap: 24px;
}
.posts-featured-title .wp-block-group.alignfull{
	width: 100%;
}
.wp-site-blocks footer {
    margin-block-start: 0 !important;
}
/* Override default figure styles */
footer figure.wp-block-image {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    display: inline-block !important;
    unicode-bidi: normal !important;
}

footer figure.wp-block-image img {
    margin: 0;
    display: block;
}
footer .wp-block-navigation ul{
	gap: 16px;
}
footer .footer-contact-info p{
	width: 100%;
}
.wc-block-mini-cart__footer-actions{
	flex-direction: column !important;
}
.wc-block-mini-cart__badge{
	font-size: 12px !important;
	border-radius: 1px !important;
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
	min-width: 15px !important;
	font-weight: 500 !important;
}
.wc-block-components-product-name,
.wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total{
	font-size: 18px !important;
	text-decoration: none !important;
	color: var(--wp--preset--color--primary-autox) !important;
}
.wc-block-components-product-name:hover{
	text-decoration: underline !important;
}
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value{
	font-size: 20px !important;
}
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart.outlined{
	border-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--primary-main) !important;
}
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart.outlined:hover{
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
}
.wc-block-mini-cart__footer-checkout.contained, .wc-block-cart__submit-button,
.wc-block-components-totals-coupon__button.contained,
.wc-block-components-checkout-place-order-button.contained,
.wp-block-woocommerce-mini-cart-contents .wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button{
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
}
.wc-block-mini-cart__footer-checkout.contained:hover, .wc-block-cart__submit-button:hover,
.wc-block-components-totals-coupon__button.contained:hover,
.wc-block-components-checkout-place-order-button.contained:hover,
.wp-block-woocommerce-mini-cart-contents .wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:hover{
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
}
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart,
.wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-checkout,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
	font-size: 18px !important;
	border-radius: 24px !important;
}
.wc-block-cart .wc-block-cart-items__header th{
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--base) !important;
	background-color: var(--wp--preset--color--primary-autox) !important;
	padding: 16px 12px !important;
	text-align: left !important;
}
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product{
	visibility: visible !important;
}
.wc-block-cart .wc-block-cart-items__header .wc-block-cart-items__header-total{text-align: right !important;}
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{
	font-size: 18px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	line-height: 27px !important;
	color: var(--wp--preset--color--primary-autox) !important;
}
.wc-block-components-checkout-place-order-button.contained,
.wp-block-woocommerce-mini-cart-contents .wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button{
	border-radius: 200px !important;
}
.woocommerce-breadcrumb{
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	margin-bottom: 0px !important;
}
.wc-block-components-quantity-selector:after{
	border-radius: 200px !important;
}
.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--plus {
    border-radius: 0 200px 200px 0;
}
.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--minus {
    border-radius: 200px 0 0 200px;
}
.is-large.wc-block-cart .wc-block-cart-items td {
    border-left: 1px solid hsla(0, 0%, 7%, .11);
	border-right: 1px solid hsla(0, 0%, 7%, .11);
}
.is-large.wc-block-cart .wc-block-cart-items td.wc-block-cart-item__image,
.is-large.wc-block-cart .wc-block-cart-items td.wc-block-cart-item__product{
	border-right: none !important;
}
.is-large.wc-block-cart .wc-block-cart-items td.wc-block-cart-item__total{
	vertical-align: middle !important;
}
.page .wp-block-post-featured-image,.single .wp-block-post-featured-image {
	text-align: center !important;
}
.page .post-featured-image .wp-block-post-featured-image :where(img),.single .post-featured-image .wp-block-post-featured-image :where(img) {
    width: auto !important;
	border-radius: 16px !important;
}
.wp-block-post-terms__separator{
	display: none !important;
}
.taxonomy-post_tag.wp-block-post-terms{
	display: flex !important;
	gap: 12px !important;
	align-items: center !important;
}
.taxonomy-post_tag.wp-block-post-terms a{
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: capitalize !important;
	color: var(--wp--preset--color--gray-main) !important;
	padding: 3px 13px;
	border-radius: 4px;
	border: 1px solid var(--wp--preset--color--gray-08);
	transition: color 0.3s ease, border-color 0.3s ease;
}
.taxonomy-post_tag.wp-block-post-terms a:hover,
.taxonomy-post_tag.wp-block-post-terms a:focus{
	border-color: var(--wp--preset--color--primary-autox) !important;
	color: var(--wp--preset--color--primary-autox) !important;
}
.page .wp-block-avatar img, .single .wp-block-avatar img{
	border-radius: 50% !important;
}
.sidebar-archive-group .wp-block-search__button.has-icon,
.sidebar-archive-group .wp-block-search__button.has-icon:hover{
	background-color: transparent !important;
	border: none !important;
	color: var(--wp--preset--color--primary-autox) !important;
	padding: 2px !important;
}
.sidebar-archive-group .wp-block-search__button-inside .wp-block-search__inside-wrapper{
	border-radius: 200px !important;
	border-color: var(--wp--preset--color--gray-08) !important;
	padding: 12px 24px !important;
}
.wp-block-categories-list{
	padding: 0 !important;
}
.wp-block-categories-list li{
	list-style: none !important;
}
.wp-block-categories-list li a{
	text-decoration: none !important;
	color: var(--wp--preset--color--gray-main) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
}
.wp-block-categories-list li a:hover{
	color: var(--wp--preset--color--primary-autox) !important;
	text-decoration: underline !important;
}
.wp-block-latest-posts__list li{
	padding-bottom: 12px !important;
	padding-top: 12px !important;
	border-bottom: 1px solid var(--wp--preset--color--gray-08) !important;
}
.wp-block-latest-posts__list li:first-child{
	padding-top: 0 !important;
}
.wp-block-latest-posts__list li:last-child{
	padding-bottom: 0 !important;
	border-bottom: none !important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-title{
	color: var(--wp--preset--color--primary-autox) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	text-decoration: none !important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-title:hover{
	text-decoration: underline !important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-date{
	color: var(--wp--preset--color--gray-main) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
}
.wp-block-query-pagination-numbers{
	display: flex !important;
	gap: 16px !important;
	align-items: center !important;
}
.wp-block-query-pagination-numbers a, .wp-block-query-pagination-numbers span{
	text-decoration: none !important;
	color: var(--wp--preset--color--gray-main) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	text-decoration: none !important;
}
.wp-block-query-pagination-numbers .page-numbers{
	background-color: var(--wp--preset--color--base) !important;
	width: 34px;
	height: 34px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 42px !important;
}
.wp-block-query-pagination-numbers .page-numbers.current{
	color: var(--wp--preset--color--base) !important;
	background-color: var(--wp--preset--color--primary-main) !important;
}
.wp-block-query-pagination-numbers a.page-numbers:hover{
	color: var(--wp--preset--color--base) !important;
	background-color: var(--wp--preset--color--gray-main) !important;
}
.wp-block-query-pagination .wp-block-query-pagination-next-arrow.is-arrow-arrow,
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow.is-arrow-arrow{
	width: 34px;
	height: 34px;
	color: transparent !important;
	margin: 0 !important;
}
.wp-block-query-pagination .wp-block-query-pagination-next-arrow.is-arrow-arrow{
	background-image: url("./assets/images/paginate-right.svg") !important;
	background-position: center;
    background-repeat: no-repeat;
}
.wp-block-query-pagination .wp-block-query-pagination-next-arrow.is-arrow-arrow:hover{
	background-image: url("./assets/images/paginate-right-active.svg") !important;
}
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow.is-arrow-arrow{
	background-image: url("./assets/images/paginate-left.svg") !important;
	background-position: center;
    background-repeat: no-repeat;
}
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow.is-arrow-arrow:hover{
	background-image: url("./assets/images/paginate-left-active.svg") !important;
}
.sidebar-archive-group .wp-block-separator,
.wp-block-woocommerce-filter-wrapper,
.woocommerce .product-info-group .wp-block-separator,
.wp-block-group.alignwide .wp-block-separator{
	width: 100% !important;
}
.wc-block-components-price-slider--is-input-inline .wc-block-components-price-slider__controls .wc-block-components-price-slider__amount{
	border-color: var(--wp--preset--color--gray-08) !important;
}
/* Catalog sorting <select> on the dark toolbar: force readable colours, since
   a form control does not inherit the wrapper's `color`. */
.has-primary-autox-background-color .woocommerce.wc-block-catalog-sorting select.orderby {
    background: none !important;
    border: none !important;
    color: var(--wp--preset--color--gray-09) !important;
}

/* The native option popup needs an explicit readable colour pair. */
.has-primary-autox-background-color .woocommerce.wc-block-catalog-sorting select.orderby option {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--primary-autox);
}
.display-mobile{
	display: none !important;
}
.display-desktop{
	display: block !important;
}
.single-product.woocommerce .wp-block-woocommerce-product-image-gallery span.onsale{
	display: inline-flex;
	padding: 8px 16px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 0px 24px 24px 0px !important;
	background: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 150% !important;
	left: 0 !important;
	top: 0 !important;
}
.single-product.woocommerce .wp-block-woocommerce-product-image-gallery ol.flex-control-thumbs li{
	width: 60px !important;
	height: 60px !important;
	margin-right: 20px !important;
	margin-bottom: 20px !important;
}
.single-product.woocommerce .wp-block-woocommerce-product-image-gallery ol.flex-control-thumbs li img{
	border: 1px solid transparent !important;
}
.single-product.woocommerce .wp-block-woocommerce-product-image-gallery ol.flex-control-thumbs li:hover img{
	border-color: var(--wp--preset--color--gray-08) !important;
}
.single-product.woocommerce .wp-block-woocommerce-product-image-gallery ol.flex-control-thumbs li img.flex-active{
	border-color: var(--wp--preset--color--primary-main) !important;
}
.variations .label{
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	color: var(--wp--preset--color--primary-autox) !important;
}
.woocommerce table.variations tr td, .woocommerce table.variations tr th{
	padding-bottom: 18px !important;
}
.woocommerce table.variations tr td select,
.wp-block-categories-dropdown select,
.wp-block-archives-dropdown select{
	padding: 12px 32px !important;
	padding-left: 16px !important;
	border: 1px solid var(--wp--preset--color--gray-08) !important;
	-webkit-appearance: none;
    -moz-appearance: none;
	background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=") no-repeat;
    background-size: 16px;
    -webkit-background-size: 16px;
    background-position: calc(100% - 12px) 50%;
    -webkit-background-position: calc(100% - 12px) 50%;
	border-radius: 200px !important;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.woocommerce div.product a.reset_variations{
	font-size: 14px !important;
	color: var(--wp--preset--color--primary-main) !important;
}
.woocommerce div.product .single_variation_wrap{
	margin-top: 0px !important;
	display: flex !important;
	gap: 16px !important;
	align-items: center !important;
}
.woocommerce .single_variation_wrap .woocommerce-variation{
	margin-bottom: 0px !important;
}
.woocommerce .quantity{
	position: relative !important;
}
.woocommerce .quantity input{
	padding: 12px 24px !important;
    width: 192px !important;
	height: 24px !important;
	border-radius: 200px !important;
	border: 1px solid var(--wp--preset--color--gray-09) !important;
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
	font-size: 18px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	text-align: center !important;
	color: var(--wp--preset--color--primary-autox) !important;
}
.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce .quantity input[type=number] {
    -moz-appearance: textfield;
}
.woocommerce .quantity .btn-quantity-minus, .woocommerce .quantity .btn-quantity-plus{
	position: absolute !important;
	top: 0 !important;
	bottom: 0 !important;
	background-color: transparent !important;
	border: none !important;
	/* The glyphs are drawn with currentColor, so this is what tints them. */
	color: var(--wp--preset--color--gray-09) !important;
	cursor: pointer !important;
}
.woocommerce .quantity .btn-quantity-minus{
	left: 24px !important;
}
.woocommerce .quantity .btn-quantity-plus{
	right: 24px !important;
}
.woocommerce .quantity .btn-quantity-minus:hover, .woocommerce .quantity .btn-quantity-plus:hover{
	color: var(--wp--preset--color--primary-autox) !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button, .woocommerce div.product form.cart button[name=add-to-cart]{
	display: flex !important;
	padding: 12px 32px;
	justify-content: center;
	align-items: center;
	text-transform: uppercase !important;
	gap: 8px;
	flex: 1 0 0;
	border-radius: 200px;
	border: 1px solid var(--wp--preset--color--primary-main) !important;
	background: var(--wp--preset--color--base) !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 150% !important;
	color: var(--wp--preset--color--primary-main) !important;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* The !important repeats because the base rule pins the same three properties
   the same way. keyboard :focus-visible gets identical treatment. */
.woocommerce div.product form.cart button.single_add_to_cart_button:hover:not([disabled]):not(.disabled):not(.wc-variation-selection-needed),
.woocommerce div.product form.cart button.single_add_to_cart_button:focus-visible:not([disabled]):not(.disabled):not(.wc-variation-selection-needed),
.woocommerce div.product form.cart button[name=add-to-cart]:hover:not([disabled]):not(.disabled):not(.wc-variation-selection-needed),
.woocommerce div.product form.cart button[name=add-to-cart]:focus-visible:not([disabled]):not(.disabled):not(.wc-variation-selection-needed){
	background: var(--wp--preset--color--primary-main) !important;
	border-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce div.product form.cart button.single_add_to_cart_button,
	.woocommerce div.product form.cart button[name=add-to-cart]{
		transition: none;
	}
}
.single-product.woocommerce .wc-block-components-product-rating__container{
	display: flex !important;
	gap: 16px !important;
	align-items: center !important;
}
.single-product.woocommerce .wc-block-components-product-rating__container .woocommerce-review-link{
	color: var(--wp--preset--color--gray-main) !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 150% !important;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
	padding-left: 16px;
	text-transform: capitalize;
}
.wp-block-woocommerce-product-meta .wp-block-post-terms .wp-block-post-terms__prefix{
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
	color: var(--wp--preset--color--primary-autox);
	width: 72px;
	margin-right: 88px;
	display: inline-block;;
}
.wp-block-woocommerce-product-meta .wp-block-post-terms .sku,
.wp-block-woocommerce-product-meta .wp-block-post-terms a{
	color: var(--wp--preset--color--gray-main) !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 30px !important;
	text-transform: uppercase;
}
.wp-block-woocommerce-product-meta .wp-block-post-terms .wp-block-post-terms__separator{
	display: inline-block !important;
}
.single-product.woocommerce .single-product-share .wp-block-social-links .wp-social-link svg{
	width: 20px !important;
	height: 20px !important;
}
.single-product.woocommerce .wp-block-group.single-product-share-info .wp-block-image{
	width: 16px !important;
	height: 16px !important;
	display: contents;
}
.single-product.woocommerce .wc-block-components-product-rating__reviews_count{
	position: relative !important;
}
.single-product.woocommerce .wc-block-components-product-rating__reviews_count:before{
	content: '';
	position: absolute;
	top: 3px;
	left: 0;
	width: 1px;
	height: 23px;
	background-color: var(--wp--preset--color--gray-08);
}
.single-product .woocommerce-product-gallery__trigger img {
    display: none !important;
}
.single-product .woocommerce-product-gallery__trigger::before {
	border: none !important;
    content: "" !important;
    font-size: 14px !important;
    display: block !important;
    background-repeat: no-repeat !important;
    width: 36px !important;
    height: 36px !important;
    background-image: url("./assets/images/gallery-trigger.svg") !important;
}
.single-product .woocommerce-product-gallery__trigger::after{
	content: none !important;
}
.woocommerce-page div.product .woocommerce-tabs{padding-top: 0 !important;}
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs{
	margin-bottom: 12px !important;
	margin-top: 12px !important;
}
.woocommerce-Tabs-panel{margin-left: 0 !important;}
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li{
	border-width: 0 0 4px;
	border-color: var(--wp--preset--color--gray-08) !important;
}
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li a{
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
}
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li:hover,
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li.active{
	border-color: var(--wp--preset--color--primary-main) !important;
}
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li:hover a,
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li.active a{
	color: var(--wp--preset--color--primary-autox) !important;
}
.woocommerce .woocommerce-Reviews ol.commentlist img.avatar{
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
}
.woocommerce-Reviews #review_form_wrapper{
	max-width: var(--wp--style--global--content-size);
}
#commentform .comment-form-comment, #commentform .comment-form-author, #commentform .comment-form-email, #commentform .comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
#commentform input[type=text], #commentform input[type=password], #commentform input[type=email], #commentform input[type=number], #commentform input[type=url], #commentform input[type=search], #commentform input[type=tel], #commentform textarea {
    border-radius: 4px !important;
	padding: 12px;
	border: 1px solid var(--wp--preset--color--gray-08) !important;
}
#commentform #submit, .woocommerce-page .woocommerce-Button.wp-element-button, .woocommerce-page .woocommerce-button,
.wp-block-product-new .wp-block-button__link.wp-element-button.add_to_cart_button{
	font-size: var(--wp--preset--font-size--medium) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    border-radius: 200px !important;
    padding: 12px 24px !important;
    background-color: var(--wp--preset--color--primary-main) !important;
    color: var(--wp--preset--color--base) !important;
}
.woocommerce-form button[type="submit"]{
	text-transform: uppercase !important;
}
.required{
	color: var(--wp--preset--color--primary-main) !important;
}
/* Đảm bảo các sản phẩm trong grid có chiều cao bằng nhau */
.wp-block-post.product > div {
    height: 100%;
	align-items: end;
}
.woocommerce .woocommerce-Reviews .comment-form-rating p.stars a::before {
    color: var(--wp--preset--color--yellow) !important;
}
.woocommerce-account .wp-block-post-content h2{
	text-align: center;
	color: var(--wp--preset--color--primary-autox);
}
.wp-block-separator.is-style-dots{
	color: var(--wp--preset--color--primary-autox);
}
/* Style block product */
.wc-block-grid__products{
	display: grid !important;
	column-gap: 28px;
    row-gap: 28px;
	padding: 0;
    list-style: none;
    align-items: flex-start;
}
.wc-block-grid__products .wc-block-grid__product{
	border-width: 1px;
	border-style: solid;
    border-color: var(--wp--preset--color--gray-08);
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
    padding-top: var(--wp--preset--spacing--16);
    padding-bottom: var(--wp--preset--spacing--16);
	position: relative;
	max-width: 100% !important;
    width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 28px;
	justify-content: end;
	align-items: flex-start;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title{
	font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
	color: var(--wp--preset--color--primary-autox);
	font-size: var(--wp--preset--font-size--medium-x) !important;
}
.wc-block-grid__products .wc-block-grid__product .woocommerce-Price-amount{
    color: var(--wp--preset--color--primary-autox);
    font-size: var(--wp--preset--font-size--medium-xx);
    font-weight: 600;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price del, 
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price del *{
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--wp--preset--color--gray-main) !important;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-add-to-cart, 
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-onsale, 
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price, 
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-rating{
	margin: 0 !important;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-add-to-cart,
.hover-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
	width: 100%;
	padding-left: var(--wp--preset--spacing--16);
	padding-right: var(--wp--preset--spacing--16);
}
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-add-to-cart{
    background-color: var(--wp--preset--color--primary-main);
    border-radius: 24px;
    color: var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--small);
	width: 87%;
}
.wc-block-grid__products .wc-block-grid__product:hover .wc-block-grid__product-add-to-cart,
.wp-block-post.product > .wp-block-group:hover .hover-wrapper,
.wp-block-woocommerce-product-template li.wc-block-product:hover .hover-wrapper {
    opacity: 1;
	animation: fadeIn 0.3s ease-in-out;
}
.wc-block-grid__product-content{
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	width: 100%;
}
.contact-info-office{
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: 4px 8px 40px 0px rgba(18, 27, 44, 0.08);
}
.contact-info-office-item{
	cursor: pointer;
	border-radius: 8px;
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-info-office-item:hover,
/* The card whose map is showing keeps the raised look so it reads as selected,
   the way the BigCommerce build marks the active office. */
.contact-info-office-item.is-active{
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	box-shadow: 4px 8px 40px 0px rgba(18, 27, 44, 0.08);
}
.contact-info-office-item a:hover,
.contact-info-office-item.is-active a{
	color: var(--wp--preset--color--primary-main) !important;
	text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
	.contact-info-office-item{
		transition: none;
	}
}
.brand-list .wp-block-image{
	padding: 16px;
}
.brand-list .wp-block-image:hover{
	padding: 16px;
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	box-shadow: 4px 8px 40px 0px rgba(18, 27, 44, 0.08);
}
.our-story-section .our-story-section-group{
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: flex-start;
	position: relative;
}
.our-story-section .our-story-section-content{
	padding: 40px;
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: 4px 8px 40px 0px rgba(18, 27, 44, 0.08);
	max-width: 476px;
	position: absolute;
	bottom: 5px;
	right: 90px;
}
.wp-block-details summary{
	font-size: var(--wp--preset--font-size--medium-x) !important;
	color: var(--wp--preset--color--primary-autox) !important;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link{
	width: 100%;
}
.page-template-page-full .entry-content.wp-block-post-content{
	width: 100%;
	max-width: 100% !important;
}
.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__trigger{
	background: transparent !important;
}
footer .has-child.wp-block-navigation-submenu ul,
footer .has-child.wp-block-navigation-submenu .wp-block-navigation-submenu__toggle{
	display: none !important;
}
#commentform #submit{max-width: 200px;}
.woocommerce-Tabs-panel--description h1,
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description h4,
.woocommerce-Tabs-panel--description h5,
.woocommerce-Tabs-panel--description h6,
.woocommerce-variation-price *{
	color: var(--wp--preset--color--primary-autox) !important;
}
.products-block-post-template .wp-block-post.product .wp-block-post-terms__separator {
    display: inline-block !important;
    color: var(--wp--preset--color--gray-main) !important;
}
/* Flex gap is a fallback before slick initialises; once slick runs, the gutter
   comes from slide padding with a matching negative margin on the list. */
body:not(.editor-styles-wrapper) .autox-has-slick .columns-4:not(.slick-initialized) {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.25em;
}
/* slick's `overflow: hidden` clips the card hover shadow top/bottom. Vertical
   padding opens room for it, cancelled by a matching negative margin. Horizontal
   padding stays 0 so slick's width maths are untouched. */
.autox-has-slick .slick-list {
	margin: -40px -8px;
	padding: 40px 0;
}
.autox-has-slick .slick-slide {
	height: auto;
	padding: 0 8px;
}
/* Equal height cards across the visible slides. The block layout leaves
   a 28px flex gap on the track, which slick does not account for when it
   sizes the slides, so it is zeroed: the gutter comes from slide padding
   instead. */
.autox-has-slick .slick-track {
	display: flex;
	align-items: stretch;
	gap: 0;
}
.autox-has-slick .slick-list {
	gap: 0;
}
.autox-has-slick .slick-slide > .wp-block-group {
	height: 100%;
}
.wp-block-woocommerce-product-template li.wc-block-product{
	position: relative;
}
.woocommerce-account .woocommerce-form-login{
	max-width: 700px !important;
}
#customer_login .col-1, #customer_login .col-2 {
	width: 39%;
}
#customer_login .col-2 {
	border-left: 1px solid;
	border-color: var(--wp--preset--color--gray-08);
	padding-left: 10%;
}
#customer_login .col-1 {
	padding-right: 10%;
}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container {
    left: 0;
    right: auto;
}
.is-style-outline .has-primary-main-background-color:hover{
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--primary-main) !important;
	border-color: var(--wp--preset--color--base) !important;
}
.is-style-outline .has-base-background-color:hover{
	background-color: var(--wp--preset--color--primary-main) !important;
	color: var(--wp--preset--color--base) !important;
	border-color: var(--wp--preset--color--primary-main) !important;
}
.woocommerce div.product ol.flex-control-thumbs{margin: 0 !important;}
@media (max-width: 767px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
	.display-mobile{
		display: block !important;
	}
	.display-desktop{
		display: none !important;
	}
	.cta-section-group .wp-block-buttons{justify-content: center;}
	
	#customer_login .col-1, #customer_login .col-2 {
		width: 100% !important;
	}
	#customer_login .col-2 {
		border: none !important;
		padding-left: 0 !important;
	}
	#customer_login .col-1 {
		padding-right: 0 !important;
	}
}
@media (min-width: 768px) {
    .wc-block-grid .wc-block-grid__products, ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
	ul.products, .wc-block-grid__products:not(.slick-slider) {
        column-gap: 28px;
        row-gap: 28px;
    }
}
@media (max-width: 781px) {
	/* Mobile styles */
	.banner-hero-responsive-padding {
		padding-left: var(--wp--preset--spacing--13);
		padding-right: var(--wp--preset--spacing--60);
	}
	.not-found-page .wp-block-cover__inner-container > div{
		padding-top: var(--wp--preset--spacing--16) !important;
		padding-bottom: var(--wp--preset--spacing--16) !important;
	}
	.not-found-page .not-found-page-content{
		padding-top: var(--wp--preset--spacing--50) !important;
		padding-bottom: var(--wp--preset--spacing--50) !important;
		padding-left: var(--wp--preset--spacing--13) !important;
		padding-right: var(--wp--preset--spacing--13) !important;
	}
	.not-found-page .not-found-page-content h1{
		font-size: var(--wp--preset--font-size--xx-large) !important;
		text-align: center !important;
	}
	.contact-info-office-item-wrapper{
		flex-direction: column;
	}
	.our-story-section .our-story-section-content{
		position: relative !important;
		right: unset !important;
		bottom: unset !important;
	}
	.our-story-section .our-story-section-stats{
		gap: 23px;
	}
	.testimonial-section-responsive-padding{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.woocommerce .quantity input{
		width: 80px !important;
		padding: 12px 20px !important;
	}
	.woocommerce .quantity .btn-quantity-minus {
		left: 5px !important;
	}
	.woocommerce .quantity .btn-quantity-plus {
		right: 15px !important;
	}
	/* The notice is oversized on phones: the message wraps to two lines and the
	   button wraps inside itself. Scale the type down and keep the button on one
	   line so the bar stays compact, the way the BigCommerce build presents it. */
	#site-notice > div p{
		font-size: var(--wp--preset--font-size--xx-small) !important; /* 12px */
		line-height: 1.35 !important;
		margin: 0 !important;
	}
	#site-notice .wp-block-button__link{
		font-size: var(--wp--preset--font-size--xx-small) !important; /* 12px */
		white-space: nowrap;
		padding: 6px 14px !important;
	}
	#site-notice{
		padding-top: var(--wp--preset--spacing--8) !important;
		padding-bottom: var(--wp--preset--spacing--8) !important;
		padding-left: 10px !important;
		/* Reserve room on the right so the centred message clears the close
		   button instead of running under it. */
		padding-right: 46px !important;
	}
	.autox-notice-dismiss{
		right: 4px;
	}
	/* A little breathing room between the message and the button on one row. */
	#site-notice > div > .wp-block-group{
		gap: 10px !important;
	}
	.wp-block-group.banner-hero-responsive-padding{
		padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center !important;
	}
	.wp-block-group.banner-hero-responsive-padding .wp-block-buttons.is-layout-flex{
		justify-content: center !important;
	}
	/* Keep the logo columns in one row (five across, two logos each) instead of
	   core stacking them. !important beats is-stacked-on-mobile flex-basis:100%. */
	.popular-brands .wp-block-columns .wp-block-columns:not(.is-not-stacked-on-mobile){
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
	}
	.popular-brands .wp-block-columns .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex: 1 1 0 !important;
    }
	main > .wp-block-group > .wp-block-group > h2.wp-block-heading{
		font-size: var(--wp--preset--font-size--medium) !important;
	}
	.popular-brands h3, .popular-brands p{
		text-align: center !important;
	}
	.our-categories-padding .wp-block-buttons{
		justify-content: flex-end !important;
	}
	.posts-featured-title{justify-content: flex-start !important;align-items: flex-start !important;}
	.posts-featured-title h2{
		font-size: var(--wp--preset--font-size--medium) !important;
	}

	.wp-block-post.post.sticky > .wp-block-columns{
		gap: 0px 28px !important;
	}
	.wp-block-post.post.sticky > .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
		flex-basis: 45% !important;
	}
	.wp-block-post.post.sticky > .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column .posts-featured-title{
		gap: 6px !important;
	}
	.wp-block-post.post.sticky > .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column .posts-featured-title .wp-block-group{
		margin-bottom: 0 !important;
	}
	.woocommerce div.product form.cart button.single_add_to_cart_button, .woocommerce div.product form.cart button[name=add-to-cart] {
		padding: 6px 12px !important;
		font-size: 16px !important;
	}
}
@media (min-width: 782px) and (max-width: 1024px) {
	/* Tablet styles */
	.banner-hero-responsive-padding{
		padding-left: var(--wp--preset--spacing--13);
		padding-right: var(--wp--preset--spacing--60);
	}
	.our-story-section .our-story-section-content{
		right: 15px !important;
		bottom: unset !important;
		top: 20px !important;
	}
	.our-story-section .our-story-section-stats{
		gap: 25px;
	}
	#customer_login .col-1, #customer_login .col-2{
		float: left !important;
	}
}
@media (max-width: 1024px) {
    #shop-filter-toggle .sidebar-archive-group {
        left: -100%;
        z-index: 9;
        background-color: var(--wp--preset--color--base);
        top: 0;
        bottom: 90px;
        padding: 30px;
        max-width: 400px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        overflow-y: auto;
        margin-top: 0;
        position: fixed;
    }
	.wp-block-woocommerce-product-results-count{
		display: none !important;
	}
    #shop-filter-toggle #showFilter, #shop-filter-toggle #CloseFilter {
        z-index: 9;
    }
	#shop-filter-toggle.active #CloseFilter{
		position: absolute;
		right: 16px;
		top: 0;
	}
	#shop-filter-toggle.active .sidebar-archive-group {
        opacity: 1;
        visibility: visible;
        left: 0;
        z-index: 999;
    }
	.admin-bar #shop-filter-toggle.active .sidebar-archive-group {
        top: 32px;
    }
	#shop-filter-toggle.active:after{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--wp--preset--color--primary-autox);
		opacity: 0.5;
		z-index: 998;
	}
}
@media (min-width: 1200px) {
    .wp-block-woocommerce-empty-cart-block > .wp-block-product-new {
        margin: auto;
    }
	.wc-block-grid.has-4-columns .wc-block-grid__products, ul.products.columns-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1025px) {
    body:not(.editor-styles-wrapper) #shop-filter-toggle:not(.active) #showFilter {
        display: none !important;
    }
	body:not(.editor-styles-wrapper) #shop-filter-toggle:not(.active) #CloseFilter {
        display: none !important;
    }
}
@media (min-width: 1025px) {
	/* Desktop styles */
	.banner-hero-responsive-padding{
		padding-left: var(--wp--preset--spacing--220);
		padding-right: var(--wp--preset--spacing--60);
	}
	.has-box-shadow-hover:hover, .wc-block-grid__products .wc-block-grid__product:hover {
        box-shadow: rgba(18, 27, 44, 0.08) 4px 8px 40px 0px;
        border-color: var(--wp--preset--color--base) !important;
    }
}

/*--------------------------------------------------------------
# Header Hotline
--------------------------------------------------------------*/
.wp-block-group.autox-hotline {
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.autox-hotline .autox-hotline__icon {
	margin: 0;
	flex: 0 0 auto;
	line-height: 0;
}
.autox-hotline .autox-hotline__icon a {
	display: inline-flex;
}
.autox-hotline .autox-hotline__number a {
	text-decoration: none;
}
.autox-hotline:hover {
	opacity: 0.9;
}
@media (max-width: 1199px) {
	.wp-block-group.autox-hotline {
		padding: 12px 15px 16px;
	}
}
@media (max-width: 550px) {
	.autox-hotline .autox-hotline__number {
		display: none;
	}
	.wp-block-group.autox-hotline {
		padding: 12px;
	}
}

/*--------------------------------------------------------------
# Product grid columns (Shop, Category, Tag, Brand, Attribute, Search)
# WooCommerce's auto-fill/minmax math breaks with a custom gap, so tracks
# are declared explicitly and stepped down at each breakpoint.
--------------------------------------------------------------*/
.products-block-post-template.wc-block-product-template__responsive {
	column-gap: 28px;
	row-gap: 28px;
}

/* Phone and tablet: two products per row, gap tightening on the smallest
   screens so two cards still fit. */
@media (max-width: 1024px) {
	.products-block-post-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 550px) {
	.products-block-post-template.wc-block-product-template__responsive {
		column-gap: 16px;
		row-gap: 16px;
	}
}

/* Desktop and up: honour the Columns setting from the editor. */
@media (min-width: 1025px) {
	.products-block-post-template.wc-block-product-template__responsive.columns-1 {
		grid-template-columns: minmax(0, 1fr);
	}
	.products-block-post-template.wc-block-product-template__responsive.columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.products-block-post-template.wc-block-product-template__responsive.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.products-block-post-template.wc-block-product-template__responsive.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.products-block-post-template.wc-block-product-template__responsive.columns-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.products-block-post-template.wc-block-product-template__responsive.columns-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

/*--------------------------------------------------------------
# Blog card excerpts – clamped to 2 lines for equal-height cards.
--------------------------------------------------------------*/
.autox-post-excerpt .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.5;
}
@media (max-width: 767px) {
	.autox-post-excerpt .wp-block-post-excerpt__excerpt {
		font-size: 0.875rem;
		line-height: 1.2;
	}
}

/*--------------------------------------------------------------
# Section heading scale – redefines xx-large per breakpoint.
--------------------------------------------------------------*/
@media (max-width: 1199px) {
	:root {
		--wp--preset--font-size--xx-large: 2.375rem; /* 38px */
	}
}
@media (max-width: 991px) {
	:root {
		--wp--preset--font-size--xx-large: 1.875rem; /* 30px */
	}
}
@media (max-width: 550px) {
	:root {
		--wp--preset--font-size--xx-large: 1.125rem; /* 18px */
	}
}

/*--------------------------------------------------------------
# Post card titles (home / recent posts blocks)
# Scoped to posts blocks so single post and product card titles stay unaffected.
--------------------------------------------------------------*/
/* Uppercase the small cards only; the large featured headline stays sentence case. */
.posts-featured li:not(.sticky) .wp-block-post-title {
	text-transform: uppercase;
}
/* Featured post button: fixed height (not padding), stepping down per breakpoint. */
.posts-featured .wp-block-read-more {
	box-sizing: border-box;
	display: inline-block;
	text-align: center;
	font-size: 1rem;
	min-width: 152px;
	height: 51px;
	line-height: 49px;
	padding: 0 15px !important;
}
@media (max-width: 991px) {
	.posts-featured .wp-block-read-more {
		min-width: 136px;
		height: 40px;
		line-height: 38px;
	}
}
@media (max-width: 767px) {
	.posts-featured .wp-block-read-more {
		font-size: 0.75rem;
		min-width: 91px;
		height: 24px;
		line-height: 22px;
	}
}
/* Featured headline ramp (56/40/30/18px): add the middle steps the fluid
   clamp misses, which otherwise leaves it ~52px on a tablet. */
@media (min-width: 992px) and (max-width: 1100px) {
	.posts-featured li.sticky .wp-block-post-title {
		font-size: 2.5rem !important; /* 40px */
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.posts-featured li.sticky .wp-block-post-title {
		font-size: 1.875rem !important; /* 30px */
	}
}
/* The featured row's 150px column gap leaves the text too narrow on a tablet;
   ramp it down. */
@media (min-width: 768px) and (max-width: 1400px) {
	.posts-featured .wp-block-post.sticky > .wp-block-columns {
		gap: 0 100px !important;
	}
}
@media (min-width: 768px) and (max-width: 1200px) {
	.posts-featured .wp-block-post.sticky > .wp-block-columns {
		gap: 0 60px !important;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.posts-featured .wp-block-post.sticky > .wp-block-columns {
		gap: 0 30px !important;
	}
}
@media (max-width: 1480px) {
	.posts-featured .wp-block-post-title {
		font-size: 1.375rem; /* 22px */
	}
}
@media (max-width: 991px) {
	.posts-featured .wp-block-post-title {
		font-size: 1.125rem; /* 18px */
	}
}
@media (max-width: 767px) {
	.posts-featured .wp-block-post-title {
		font-size: 0.875rem; /* 14px */
		line-height: 1.142857143; /* 16px */
	}
}
/* Popular Articles recent grid: keep two posts side by side on tablet/mobile
   (3rd hidden) instead of core's single column below 600px. */
@media (max-width: 1024px) {
	.posts-featured .wp-block-post-template.is-layout-grid.columns-3 {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0 15px !important;
	}
	/* Element carries is-flex-container too, whose li width:calc(33.33%..)
	   stops items filling the grid track. Reset so each fills its column. */
	.posts-featured .wp-block-post-template.is-layout-grid.columns-3 > li {
		width: auto !important;
	}
	.posts-featured .wp-block-post-template.columns-3 > li:nth-child(3) {
		display: none !important;
	}
}
@media (max-width: 767px) {
	.posts-featured .wp-block-post-template.columns-3 .wp-block-read-more {
		display: none !important;
	}
}

/*--------------------------------------------------------------
# Stacked columns spacing – resets row-gap when columns stack.
--------------------------------------------------------------*/
@media (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		row-gap: var(--wp--preset--spacing--50);
	}
	.our-story-section-stats.is-layout-flex {
		row-gap: var(--wp--preset--spacing--50);
	}
}

/*--------------------------------------------------------------
# Responsive system
# ≤550 phone | 551-767 large phone | 768-1024 tablet | ≥1025 desktop
# 781/782 = core column-stacking edge.
--------------------------------------------------------------*/

/* Spacing presets are fixed rem values, so redefining the tokens scales
   every template and pattern that uses them at once. */
@media (min-width: 768px) and (max-width: 1024px) {
	:root {
		--wp--preset--spacing--601: 2.75rem; /* 60px -> 44px */
		--wp--preset--spacing--70: 2.5rem;   /* 56px -> 40px */
		--wp--preset--spacing--80: 3.5rem;   /* 84px -> 56px */
		--wp--preset--spacing--120: 4.5rem;  /* 120px -> 72px */
	}
}
@media (max-width: 767px) {
	:root {
		--wp--preset--spacing--601: 2rem;    /* 60px -> 32px */
		--wp--preset--spacing--70: 1.75rem;  /* 56px -> 28px */
		--wp--preset--spacing--80: 2.5rem;   /* 84px -> 40px */
		--wp--preset--spacing--120: 3rem;    /* 120px -> 48px */
	}
}

/* The Post Template block writes a fixed repeat(N), so the steps down
   have to be declared. The :has() guard keeps single result queries,
   such as the featured post, from stretching one card across two. */
@media (max-width: 550px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (min-width: 551px) and (max-width: 1024px) {
	.wp-block-post-template.is-layout-grid:has(> li:nth-child(2)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Section headers keep the title and actions in one non-wrapping row.
   Multiple filter pills wrap below; a single "View all" becomes a text link. */
@media (max-width: 767px) {
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading):has(> .wp-block-buttons > .wp-block-button:nth-child(2)) {
		flex-direction: column;
		align-items: flex-start;
		flex-wrap: wrap;
	}
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading):has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-heading {
		width: 100%;
	}
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading):has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-buttons {
		width: 100%;
		padding-top: 15px;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	/* Drop the desktop-sized filter pills to a compact chip on phones. */
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading):has(> .wp-block-buttons > .wp-block-button:nth-child(2)) > .wp-block-buttons .wp-block-button__link {
		font-size: 14px;
		padding: 7px 16px;
		line-height: 1.2;
	}
}
/* Single-link section header: keep one row, drop the pill to plain text. */
@media (max-width: 991px) {
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading) > .wp-block-buttons:not(:has(> .wp-block-button:nth-child(2))) .wp-block-button__link {
		border: 0 !important;
		border-radius: 0 !important;
		padding: 0 !important;
		background: transparent !important;
		line-height: 1 !important;
		font-size: 1rem !important;
		/* Grow the hit area to the 24px WCAG 2.5.8 floor without moving the text. */
		display: inline-flex;
		align-items: center;
		min-height: 24px;
	}
}
@media (max-width: 767px) {
	main .wp-block-group.is-nowrap.is-content-justification-space-between:has(> .wp-block-heading) > .wp-block-buttons:not(:has(> .wp-block-button:nth-child(2))) .wp-block-button__link {
		font-size: 0.875rem !important;
	}
}

/* Flex-mode product grids (Responsive off) follow the same 2/3/4 ladder as the
   carousels and shop grid; gap maths mirror WooCommerce's so columns stay flush. */
@media (max-width: 767px) {
	.wc-block-product-template.is-flex-container.is-flex-container.columns-4 > li,
	.wc-block-product-template.is-flex-container.is-flex-container.columns-5 > li,
	.wc-block-product-template.is-flex-container.is-flex-container.columns-6 > li {
		width: calc(50% - 0.625em);
	}
}
@media (min-width: 768px) and (max-width: 1399px) {
	.wc-block-product-template.is-flex-container.is-flex-container.columns-4 > li,
	.wc-block-product-template.is-flex-container.is-flex-container.columns-5 > li,
	.wc-block-product-template.is-flex-container.is-flex-container.columns-6 > li {
		width: calc(33.3333% - 0.8333em);
	}
}

/* Cover blocks write their height as an inline style, hence !important.
   The floor keeps short banners from collapsing. */
@media (min-width: 768px) and (max-width: 1024px) {
	.autox-cover.wp-block-cover {
		min-height: max(400px, 50vh) !important;
	}
}
@media (max-width: 767px) {
	.autox-cover.wp-block-cover {
		min-height: max(320px, 55vh) !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.banner-full-responsive-padding {
		padding-left: var(--wp--preset--spacing--16);
		padding-right: var(--wp--preset--spacing--16);
	}
}
@media (max-width: 767px) {
	.banner-full-responsive-padding {
		padding-left: var(--wp--preset--spacing--13);
		padding-right: var(--wp--preset--spacing--13);
		text-align: center;
	}
}

@media (max-width: 767px) {
	.wp-block-breadcrumbs,
	.woocommerce-breadcrumb {
		flex-wrap: wrap;
	}
}

/* The gallery column is a fixed 567px, which leaves the summary too
   narrow between the stacking edge and the desktop breakpoint. */
@media (min-width: 782px) and (max-width: 1024px) {
	.archive-product-page > .wp-block-columns {
		gap: var(--wp--preset--spacing--60);
	}
	.archive-product-page > .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 45% !important;
	}
}

/*--------------------------------------------------------------
# Our categories – horizontal snap-scroll strip below 1400px.
--------------------------------------------------------------*/
@media (max-width: 1399px) {
	/* :has(.our-category-item) so the rule only touches the category
	   strip, not any other columns block that shares this ancestor. */
	.our-categories-padding > .wp-block-columns:has(> .wp-block-column .our-category-item) {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		gap: 16px;
		/* Room for the scrollbar so it does not sit on the last card. */
		padding-bottom: 4px;
	}
	/* !important beats core's is-stacked-on-mobile rule, which pins each
	   column to flex-basis: 100% below 782px. */
	.our-categories-padding > .wp-block-columns > .wp-block-column:has(.our-category-item) {
		flex: 0 0 30% !important;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}
@media (min-width: 768px) and (max-width: 1399px) {
	.our-categories-padding > .wp-block-columns > .wp-block-column:has(.our-category-item) {
		flex: 0 0 22% !important;
	}
}
@media (max-width: 767px) {
	/* Tighter gutter so a card at 30% width still reads well. */
	.our-categories-padding > .wp-block-columns {
		gap: 10px;
	}
}

/* Fix the icon size and ramp the frame's min-height per breakpoint, rather
   than letting padding decide the leftover icon space. */
.our-category-item > .wp-block-group {
	min-height: 210px;
	padding: 0 !important;
	/* The item is a centred flex column, so without this the frame would
	   shrink to the icon's width once its padding is gone. */
	align-self: stretch;
	width: 100%;
}
.our-category-item img {
	width: 64px !important;
	height: 64px !important;
}
@media (max-width: 1024px) {
	.our-category-item > .wp-block-group { min-height: 170px; }
	.our-category-item img { width: 54px !important; height: 54px !important; }
}
@media (max-width: 991px) {
	.our-category-item > .wp-block-group { min-height: 160px; }
	.our-category-item img { width: 46px !important; height: 46px !important; }
}
@media (max-width: 551px) {
	.our-category-item > .wp-block-group { min-height: 100px; }
	.our-category-item img { width: 30px !important; height: 30px !important; }
}
/* 22px above the title and 6px before the count; the block applies one flat
   16px gap, so the title carries the difference. */
.our-category-item {
	row-gap: 6px !important;
}
.our-category-item h3 {
	margin-top: 16px !important;
	font-weight: 600 !important;
}
@media (max-width: 551px) {
	.our-category-item {
		row-gap: 0 !important;
	}
	.our-category-item h3 {
		margin-top: 10px !important;
		font-size: 1rem !important; /* 16px */
	}
	.our-category-item p {
		font-size: 0.75rem !important; /* 12px */
		line-height: 1.5 !important;
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

/* Push core's nav-to-overlay swap from 600px out to 1024px, so below desktop
   the row carries only the logo and icons. Covers shop and checkout headers. */
/* Centre the hamburger glyph in its button. WordPress leaves align-items at
   its initial value, so the 24px icon pins to the top of the 40px toggle and
   reads about 8px higher than the search, wishlist, account and cart icons
   sitting next to it. */
.wp-block-navigation__responsive-container-open{
	align-items: center;
	justify-content: center;
}

@media (min-width: 600px) and (max-width: 1024px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
		position: fixed;
		width: auto;
		z-index: auto;
	}
}

@media (max-width: 1024px) {
	header .wp-block-group.is-nowrap.is-content-justification-space-between {
		flex-wrap: nowrap;
		gap: var(--wp--preset--spacing--16);
	}
	header .wp-block-site-logo img {
		max-width: 132px;
		height: auto;
	}
	header .autox-hotline {
		display: none;
	}
}
/* Tighten the icon row to 12px between items on small screens; the inherited
   28px + 16px gaps overflowed a 320px viewport. */
@media (max-width: 550px) {
	header .wp-block-site-logo img {
		max-width: 110px;
	}
	header .wp-block-group.is-content-justification-space-between .wp-block-group.is-nowrap {
		gap: 12px;
	}
}

/* At 320px the logo is the only flexible item left in the row once the icons
   are at their small-screen sizes. */
@media (max-width: 374px) {
	header .wp-block-site-logo img {
		max-width: 96px;
	}
}

/* The hotline moves into the drawer rather than crowding the row. A
   second copy inside the navigation block would be dropped as soon as a
   real menu is assigned to it, so the one pill is brought forward while
   the overlay is open and the number stays editable in one place. */
@media (max-width: 1024px) {
	header:has(.wp-block-navigation__responsive-container.is-menu-open) .autox-hotline {
		display: inline-flex;
		position: fixed;
		left: var(--wp--preset--spacing--50);
		right: auto;
		width: calc(min(85vw, 360px) - (2 * var(--wp--preset--spacing--50)));
		bottom: var(--wp--preset--spacing--50);
		z-index: 100001;
		justify-content: center;
	}
	header:has(.wp-block-navigation__responsive-container.is-menu-open) .autox-hotline .autox-hotline__number {
		display: inline-block;
	}
}

/* Clear the admin bar. Core changes its height at 782px; the theme's
   781/782 pair is reused to keep the breakpoint set closed. */
@media (min-width: 782px) and (max-width: 1024px) {
	.admin-bar header:has(.wp-block-navigation__responsive-container.is-menu-open) .autox-hotline {
		bottom: calc(var(--wp--preset--spacing--50) + 32px);
	}
}
@media (max-width: 781px) {
	.admin-bar header:has(.wp-block-navigation__responsive-container.is-menu-open) .autox-hotline {
		bottom: calc(var(--wp--preset--spacing--50) + 46px);
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

/* Core either shows all five columns side by side or stacks them into
   one long list. The brand column takes its own row instead, and the
   rest share the next one. Column widths are inline, hence !important. */
@media (max-width: 1024px) {
	footer .wp-block-columns.alignwide {
		flex-wrap: wrap !important;
	}
	footer .wp-block-columns.alignwide > .wp-block-column:first-child {
		flex-basis: 100% !important;
	}
	footer .wp-block-columns.alignwide > .wp-block-column:not(:first-child) {
		flex-basis: calc(50% - var(--wp--preset--spacing--50)) !important;
	}
}
@media (min-width: 782px) and (max-width: 1024px) {
	footer .wp-block-columns.alignwide > .wp-block-column:not(:first-child) {
		flex-basis: calc(25% - var(--wp--preset--spacing--50)) !important;
	}
}

/* On phones the footer link columns collapse behind their headings. main.js
   rebuilds the markup into details/summary so the browser owns open/close. */
@media (max-width: 767px) {
	footer .wp-block-columns.alignwide > .wp-block-column:nth-child(n) {
		flex-basis: 100% !important;
	}
	/* Collapsed sections stack into one list divided by the rule under each
	   heading, so drop the footer column row gap (it adds a 28px band here). */
	footer .wp-block-columns.alignwide {
		row-gap: 0;
	}
	.autox-footer-summary {
		position: relative;
		padding: 15px 32px 15px 0;
		border-bottom: 1px solid var(--wp--preset--color--gray-main);
	}
	.autox-footer-summary > :is(h1, h2, h3, h4, h5, h6) {
		margin: 0;
	}
	.autox-footer-summary::after {
		content: "";
		position: absolute;
		right: 4px;
		top: 50%;
		width: 0;
		height: 0;
		margin-top: -4px;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 8px solid currentColor;
		transition: transform 0.3s ease;
	}
	.autox-footer-details[open] > .autox-footer-summary::after {
		transform: rotate(180deg);
	}
	.autox-footer-details > .wp-block-navigation {
		padding-top: 12px;
		padding-bottom: 30px;
	}
	/* Shrink the footer mark to 110px on phones so the first accordion sits
	   right beneath the contact block. */
	footer .wp-block-columns > .wp-block-column:first-child > .wp-block-image img {
		width: 110px;
		height: auto;
		object-fit: contain;
	}
	/* The pattern sets this margin inline, which no stylesheet rule can beat
	   without !important. The theme already relies on the same escape hatch
	   for the inline column widths above. */
	footer .footer-contact-info {
		margin-bottom: 5px !important;
	}
	/* A 30px lead-in separates the last column from the accordion rule above. */
	footer .wp-block-columns.alignwide > .wp-block-column:last-child {
		margin-top: 30px;
	}
}

/* Contact-line icons are drawn as a CSS mask, not inline SVG: they are
   decorative (out of the editable content) and a currentColor mask follows the
   footer text colour through palette changes. */
.autox-contact {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.autox-contact::before {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	/* Nudge down so the icon lines up with the first line of a wrapped
	   address rather than centring against the whole block. */
	margin-top: 3px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.autox-contact--address::before {
	-webkit-mask-image: url("assets/images/icon-address.svg");
	mask-image: url("assets/images/icon-address.svg");
}
.autox-contact--email::before {
	-webkit-mask-image: url("assets/images/icon-mail.svg");
	mask-image: url("assets/images/icon-mail.svg");
}
.autox-contact--phone::before {
	-webkit-mask-image: url("assets/images/icon-phone.svg");
	mask-image: url("assets/images/icon-phone.svg");
}
.autox-contact a {
	text-decoration: none;
}
.autox-contact a:hover {
	text-decoration: underline;
}

/* Pad each footer link 8px on the block axis, taking the row to 44px: these
   accordion links are the densest set of targets on the page. */
footer .autox-footer-details .wp-block-navigation-item__content {
	display: inline-block;
	padding-top: 8px;
	padding-bottom: 8px;
}

/* The pattern's zero block gap only reaches `nav`; core keeps 16px on the inner
   container. Zero it so the footer list rhythm comes from padding alone. */
footer .autox-footer-details .wp-block-navigation__container {
	gap: 0;
}

/* main.js wraps these columns in details/summary at every width. Inside a
   `summary` the heading keeps its theme.json top margin, which collapses through
   `details` and pushes the column down; zero it and keep 16px under the heading. */
@media (min-width: 768px) {
	footer .autox-footer-summary > :is(h1, h2, h3, h4, h5, h6) {
		margin-top: 0;
		margin-bottom: 16px;
	}
	/* Keep a consistent 16px under footer headings still held directly (not
	   moved into a `summary` by main.js, which the rule above covers). */
	footer .wp-block-columns.alignwide > .wp-block-column > :is(h1, h2, h3, h4, h5, h6) + * {
		margin-top: 16px;
	}
}

/* The summary keeps the heading inside it, so only the marker and the
   pointer behaviour need resetting. Above the breakpoint the section is
   held open and the summary is inert. */
.autox-footer-summary {
	list-style: none;
	cursor: pointer;
}
.autox-footer-summary::-webkit-details-marker {
	display: none;
}
@media (min-width: 768px) {
	.autox-footer-summary {
		pointer-events: none;
		cursor: default;
	}
}
@media (prefers-reduced-motion: reduce) {
	.autox-footer-summary::after {
		transition: none;
	}
}

@media (max-width: 781px) {
	footer .footer-contact-info {
		flex-direction: column;
		align-items: flex-start;
	}
	footer .wp-block-group.alignwide.is-content-justification-space-between {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: var(--wp--preset--spacing--16);
	}
	footer .wp-block-group.alignwide.is-content-justification-space-between > .wp-block-group {
		flex-wrap: wrap;
		justify-content: center;
	}
	footer .wp-block-social-links {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

/*--------------------------------------------------------------
# Display type
--------------------------------------------------------------*/

/* Banner and marquee sizes are desktop figures whose fluid lower bound still
   filled a phone screen, so ramp them down explicitly (marquee 160/140/100/80/48px). */
@media (max-width: 1600px) {
	:root {
		--wp--preset--font-size--marquee: 8.75rem;     /* 160px -> 140px */
	}
}
@media (min-width: 1025px) and (max-width: 1199px) {
	:root {
		--wp--preset--font-size--xxxx-large: 5.625rem; /* 120px -> 90px */
	}
}
@media (max-width: 1300px) {
	:root {
		--wp--preset--font-size--marquee: 6.25rem;     /* 160px -> 100px */
	}
}
@media (max-width: 1200px) {
	:root {
		--wp--preset--font-size--marquee: 5rem;        /* 160px -> 80px */
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	:root {
		--wp--preset--font-size--xxxx-large: 3.75rem;  /* 120px -> 60px */
		--wp--preset--font-size--large-large: 3.5rem;  /* 80px  -> 56px */
	}
}
@media (max-width: 767px) {
	:root {
		--wp--preset--font-size--xxxx-large: 2.25rem;  /* 120px -> 36px */
		--wp--preset--font-size--large-large: 2rem;    /* 80px  -> 32px */
		--wp--preset--font-size--marquee: 3rem;        /* 160px -> 48px */
	}
}

/*--------------------------------------------------------------
# Image boxes – clips hover zoom; ratio declared in patterns.
--------------------------------------------------------------*/
.wp-block-post-featured-image,
.wp-block-woocommerce-product-image,
.wc-block-components-product-image {
	overflow: hidden;
}
.wp-block-post-featured-image img,
.wp-block-woocommerce-product-image img,
.wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: auto;
}
.wp-block-post-featured-image img[style*="aspect-ratio"],
.wp-block-woocommerce-product-image img[style*="aspect-ratio"] {
	height: 100%;
}

/*--------------------------------------------------------------
# Policy notice – 4 cols → 2 at 991px, smaller at 551px.
--------------------------------------------------------------*/
@media (max-width: 991px) {
	.policy-notice.wp-block-columns {
		flex-wrap: wrap !important;
	}
	.policy-notice.wp-block-columns > .wp-block-column {
		/* Two up, allowing for the 1.25em column gap. */
		flex-basis: calc(50% - 0.625em) !important;
	}
}
/* Hold the heading at 24px down to 551px (the preset is otherwise fluid). */
@media (max-width: 991px) {
	.policy-notice .has-medium-large-font-size {
		font-size: 1.5rem !important; /* 24px */
	}
}
.policy-notice .wp-block-group {
	row-gap: 20px;
}
@media (max-width: 551px) {
	.policy-notice .wp-block-image img {
		width: 40px;
		height: 40px;
	}
	.policy-notice .wp-block-group {
		row-gap: 8px;
	}
	.policy-notice .has-medium-large-font-size {
		font-size: 1rem !important; /* 16px */
		line-height: 1.5 !important;
	}
	.policy-notice .has-secondary-color {
		font-size: 0.875rem !important; /* 14px */
		line-height: 1.428571429 !important; /* 20px */
	}
}

/*--------------------------------------------------------------
# Product card image inset – 40px padding (30px below 768px).
--------------------------------------------------------------*/
.wc-block-product-template .wc-block-components-product-image img {
	box-sizing: border-box;
	padding: 40px;
}
@media (max-width: 767px) {
	.wc-block-product-template .wc-block-components-product-image img {
		padding: 30px;
	}
}



/*--------------------------------------------------------------
# Mobile menu
# Mobile menu – side drawer with dimmed backdrop; autox-submenu-open state from main.js.
--------------------------------------------------------------*/
@media (max-width: 1024px) {

	.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
		background-color: color-mix(in srgb, var(--wp--preset--color--primary-autox) 50%, transparent);
	}
	.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
		padding: 0;
		align-items: stretch;
	}

	/* flex: 1 because the overlay is a column flex container, so the
	   panel would otherwise only be as tall as the menu. */
	.wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-close {
		width: 85%;
		max-width: 360px;
		margin: 0;
		flex: 1;
		background-color: var(--wp--preset--color--base);
		overflow-y: auto;
		padding: 0;
	}

	/* Fixed paddings, not spacing tokens: the tokens scale down on
	   phones, which would let the close button overlap the first item.
	   The lower one leaves room for the pinned hotline. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: stretch;
		padding-top: 48px;
		padding-bottom: 96px;
	}
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: stretch;
		gap: 0;
		width: 100%;
		border-bottom: 1px solid var(--wp--preset--color--gray-08);
	}
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		border-bottom: 0;
	}

	/* Override core's flex column (which puts the chevron under the label)
	   with a block + right-pinned chevron so rows stay equal height. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		display: block;
		border-top: 1px solid var(--wp--preset--color--gray-08);
	}
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		display: block;
		padding: 14px 64px 14px var(--wp--preset--spacing--50);
		text-transform: uppercase;
	}

	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		right: 0;
		width: 56px;
		height: auto;
		margin: 0;
		padding: 0;
		outline-offset: -3px;
	}
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child > .wp-block-navigation__submenu-icon {
		height: 56px;
	}
	/* Core sizes this svg with width/height inherit, so the box above
	   would stretch it. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon svg {
		width: 14px;
		height: 14px;
		margin-top: 0;
	}

	/* Core gives the submenu a padding-top of one block gap here, which
	   still reserves space once it is hidden, so the box is zeroed. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
		display: none;
		height: 0;
		padding: 0;
		margin: 0;
		border: 0;
	}
	/* Core's base rule also keeps a closed submenu at height 0, width 0
	   and hidden, so the open state restores all of it. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child.autox-submenu-open > .wp-block-navigation__submenu-container {
		display: block;
		position: static;
		width: 100%;
		min-width: 0;
		height: auto;
		padding-left: 0;
		padding-right: 0;
		opacity: 1;
		overflow: visible;
		visibility: visible;
		border: 0;
	}
	/* Fixed indent: a spacing token would scale down to the same inset
	   as the parent row on phones, losing the hierarchy. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding-left: 48px;
		text-transform: none;
	}

	/* Core points the chevron up whenever the overlay is open, which
	   would leave every row looking expanded. */
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-submenu__toggle[aria-expanded="true"] > svg {
		transform: none;
	}
	.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child.autox-submenu-open > .wp-block-navigation-submenu__toggle > svg {
		transform: rotate(180deg);
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		right: var(--wp--preset--spacing--16);
		top: 12px;
	}
}

/*--------------------------------------------------------------
# Product card – padding/title size use !important (outweigh preset class).
--------------------------------------------------------------*/

/* Clamp the title to two lines. The clamp must sit on the text element
   itself (the -webkit-box), so it is set on both the title and its link. */
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template .wp-block-post-title > a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wc-block-product-template .wp-block-post-title {
	text-transform: capitalize;
}

/* WooCommerce ships a white, rounded, bordered badge. The design uses a
   small square black one tucked into the corner. */
.wc-block-product-template .wc-block-components-product-image {
	position: relative;
}
.wc-block-product-template .wp-block-woocommerce-product-sale-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
}
.wc-block-product-template .wc-block-components-product-sale-badge {
	min-width: 40px;
	padding: 1px 8px;
	border: 1px solid var(--wp--preset--color--primary-autox);
	border-radius: 0;
	background: var(--wp--preset--color--primary-autox);
	color: var(--wp--preset--color--base);
	font-size: 14px;
	font-weight: 400;
	line-height: 18px;
	text-transform: capitalize;
	/* The badge sits in a narrow flex column, so the label has to be told
	   not to break. */
	white-space: nowrap;
}

.wc-block-product-template .taxonomy-product_cat.wp-block-post-terms {
	font-size: 14px;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--wp--preset--color--gray-main);
}

.wc-block-product-template .wc-block-components-product-price del {
	font-size: 16px;
	color: var(--wp--preset--color--gray-main);
}

@media (min-width: 768px) {
	/* The block writes line-height:normal inline, so this needs !important. */
	.wc-block-product-template .wp-block-post-title {
		line-height: 26px !important;
	}
	.wc-block-product-template .wc-block-components-product-price {
		font-size: 24px;
		line-height: 28px;
	}
}

/* Card carries no padding so the image runs edge to edge; the text block
   below gets the inset. Padding is written inline by the block, hence !important. */
.wc-block-product-template .wc-block-product > .wp-block-group {
	padding: 0 !important;
	gap: 0;
}
.wc-block-product-template .wc-block-components-product-image {
	width: 100%;
	margin: 0;
}
.wc-block-product-template .wc-block-product > .wp-block-group > .wp-block-group:not(.hover-wrapper) {
	width: 100%;
	padding: 15px;
	gap: 8px;
}

@media (max-width: 767px) {
	.wc-block-product-template .wc-block-product > .wp-block-group > .wp-block-group:not(.hover-wrapper) {
		padding: 8px;
	}
	.wc-block-product-template .wp-block-post-title {
		font-size: 16px !important;
		line-height: 22px !important;
	}
	.wc-block-product-template .wc-block-components-product-price {
		font-size: 16px;
		line-height: 20px;
	}
	.wc-block-product-template .wc-block-components-product-price del {
		font-size: 14px;
	}
	.wc-block-product-template .taxonomy-product_cat.wp-block-post-terms {
		font-size: 14px;
		line-height: 20px;
	}
	.wc-block-product-template .wc-block-components-product-rating .star-rating,
	.wc-block-product-template .wc-block-components-product-rating__stars {
		font-size: 12px;
	}
}

/*--------------------------------------------------------------
# Touch targets – held at the WCAG 2.5.8 minimum.
--------------------------------------------------------------*/

/* WooCommerce renders the catalogue sort as a bare 22px-tall select; give it
   48px, dropping to 40px on phones. */
.woocommerce-ordering select,
select.orderby {
	min-height: 48px;
	padding: 8px 32px 9px 15px;
}
@media (max-width: 767px) {
	.woocommerce-ordering select,
	select.orderby {
		min-height: 40px;
	}
}

/* WooCommerce password-reveal toggle is 22px; stretched vertically (not
   horizontally) so the input keeps its width at 320px. Removes the translate
   that core uses to centre the icon once it is stretched. */
.woocommerce form .password-input .show-password-input,
.woocommerce-page form .password-input .show-password-input {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	top: 0;
	bottom: 0;
	height: auto;
	padding: 0 8px;
	transform: none;
}

/* Core reserves 2.5rem on the right of the field, which the wider tap target
   overruns by a few pixels. */
.woocommerce form .password-input input[type="password"],
.woocommerce-page form .password-input input[type="password"] {
	padding-right: 46px;
}

/* Core sets the navigation toggle to a 24px icon with no padding. The width
   is left alone because the header row has no spare pixels at 320px, and the
   height is taken to 40px, which costs nothing horizontally. */
@media (max-width: 1024px) {
	header .wp-block-navigation__responsive-container-open {
		min-height: 40px;
	}
}

/*--------------------------------------------------------------
# Wishlist – state driven by aria-pressed (set by wishlist.js).
--------------------------------------------------------------*/
.autox-wishlist-toggle{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: transparent;
	color: var(--wp--preset--color--primary-autox);
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.autox-wishlist-toggle__icon{
	display: block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}
.autox-wishlist-toggle:hover{
	color: var(--wp--preset--color--primary-main);
}
.autox-wishlist-toggle:focus-visible{
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
/* Saved: the heart fills in and takes the accent. */
.autox-wishlist-toggle[aria-pressed="true"]{
	color: var(--wp--preset--color--primary-main);
}
.autox-wishlist-toggle[aria-pressed="true"] .autox-wishlist-toggle__icon path{
	fill: currentColor;
}
.autox-wishlist-toggle.is-style-button{
	padding: 8px 20px;
	border: 1px solid var(--wp--preset--color--gray-08);
}
.autox-wishlist-toggle.is-style-button:hover,
.autox-wishlist-toggle.is-style-button[aria-pressed="true"]{
	border-color: var(--wp--preset--color--primary-main);
}
.autox-wishlist-toggle.is-style-text{
	min-width: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.autox-wishlist-toggle{
		transition: none;
	}
}

/* Wishlist row on single product. align-items:flex-end keeps the heart
   level with Add to cart for both simple and variable products (variable
   forms are taller: Color/Size rows sit above the qty+button row). */
.autox-add-to-cart-row{
	gap: 12px;
}
/* Two classes to outweigh the group-block's layout rule. display:block + width:100%
   so the row fills the column (parent is flex-start, so children shrink-to-fit). */
.autox-add-to-cart-row.wp-block-group{
	position: relative;
	display: block;
	width: 100%;
}
.autox-add-to-cart-row > .wp-block-woocommerce-add-to-cart-form{
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
	width: 100%;
}
/* Heart is absolute so it does not steal width from the form. */
.autox-add-to-cart-row .autox-wishlist-toggle-wrap{
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0;
}
/* Extra specificity beats WooCommerce's same-specificity block CSS (loads after
   theme). Reserves 68px for the heart + gap; lets the button stretch. */
.woocommerce div.product .autox-add-to-cart-row .woocommerce-variation-add-to-cart,
.woocommerce div.product .autox-add-to-cart-row form.cart:not(.variations_form){
	grid-template-columns: min-content 1fr;
	padding-right: 68px;
	/* .single_variation_wrap is a flex row holding the price and this grid; the
	   grid has to grow into the leftover space or its 1fr track stays at the
	   button's intrinsic width and the heart is left stranded. */
	flex-grow: 1;
}
.woocommerce div.product .autox-add-to-cart-row .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.woocommerce div.product .autox-add-to-cart-row form.cart:not(.variations_form) > .single_add_to_cart_button{
	justify-self: stretch;
}
/* The label must stay on one line: when it wrapped, the button grew taller than
   the heart beside it and the two stopped being level. */
.woocommerce div.product .autox-add-to-cart-row .single_add_to_cart_button{
	white-space: nowrap;
}
/* While the layout is still two columns the summary column is narrow enough
   that the quantity, button and heart leave the label only just enough room, so
   trim the button's side padding to keep it on that single line. */
@media (min-width: 992px) and (max-width: 1279px) {
	.woocommerce div.product .autox-add-to-cart-row .single_add_to_cart_button{
		padding-left: 16px;
		padding-right: 16px;
	}
}
.autox-add-to-cart-row .autox-wishlist-toggle{
	width: 52px;
	height: 52px;
	border: 1px solid var(--wp--preset--color--gray-08);
}
.autox-add-to-cart-row .autox-wishlist-toggle:hover,
.autox-add-to-cart-row .autox-wishlist-toggle[aria-pressed="true"]{
	border-color: var(--wp--preset--color--primary-main);
}
@media (max-width: 550px) {
	.autox-add-to-cart-row .autox-wishlist-toggle{
		width: 46px;
		height: 46px;
	}
}

/* Over the card image, on the opposite corner to the sale badge. */
.wc-block-product > .wp-block-group{
	position: relative;
}
.wc-block-product .autox-wishlist-toggle-wrap{
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	margin: 0;
}
/* The heart keeps out of the way until the card is hovered. Fading with opacity
   rather than display/visibility leaves the button in the tab order, so a
   keyboard user can still reach it and :focus-within brings it into view when
   they do. */
.wc-block-product .autox-wishlist-toggle{
	background-color: rgba(255, 255, 255, 0.9);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.wc-block-product:hover .autox-wishlist-toggle,
.wc-block-product:focus-within .autox-wishlist-toggle,
/* A product already on the list keeps its heart showing, otherwise the only way
   to spot a saved item would be to hunt across the grid with the mouse. */
.wc-block-product .autox-wishlist-toggle[aria-pressed="true"]{
	opacity: 1;
}
/* A touch screen never hovers, so hiding the control would put it out of reach. */
@media (hover: none) {
	.wc-block-product .autox-wishlist-toggle{
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.wc-block-product .autox-wishlist-toggle{
		transition: none;
	}
}

/*--------------------------------------------------------------
# Wishlist link in the header
--------------------------------------------------------------*/
.autox-wishlist-link__anchor{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	color: var(--wp--preset--color--primary-autox);
	text-decoration: none;
}
.autox-wishlist-link__anchor svg{
	display: block;
	width: 24px;
	height: 24px;
}
.autox-wishlist-link__anchor:hover{
	color: var(--wp--preset--color--primary-main);
}
.autox-wishlist-link__anchor:focus-visible{
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.autox-wishlist-link__count{
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background-color: var(--wp--preset--color--primary-main);
	color: var(--wp--preset--color--base);
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}

/*--------------------------------------------------------------
# Wishlist page
--------------------------------------------------------------*/
.autox-wishlist__loading{
	margin: 0;
	color: var(--wp--preset--color--gray-main);
}
/* The grid is fetched from the REST route, so the layout styles WooCommerce
   generates while rendering a collection inside a page request are absent here.
   The columns are declared outright instead, stepping down the same 2 / 3 /
   chosen ladder the shop grid uses. */
.autox-wishlist .autox-wishlist__items{
	display: grid;
	grid-template-columns: repeat(var(--autox-wishlist-columns, 4), minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.autox-wishlist .autox-wishlist__items > li{
	width: auto;
	max-width: none;
	margin: 0;
}
@media (max-width: 1399px) {
	.autox-wishlist .autox-wishlist__items{
		grid-template-columns: repeat(min(var(--autox-wishlist-columns, 4), 3), minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.autox-wishlist .autox-wishlist__items{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}
}
.autox-wishlist__empty{
	padding: var(--wp--preset--spacing--50) 0;
	text-align: center;
}
.autox-wishlist__empty-title{
	margin: 0 0 8px;
	font-size: var(--wp--preset--font-size--medium-large);
	font-weight: 600;
}
.autox-wishlist__empty-body{
	margin: 0 0 24px;
	color: var(--wp--preset--color--gray-main);
}
/* Scoped through the empty state so the rule outweighs the button styling
   theme.json contributes, which the editor loads at a raised specificity and
   would otherwise win there, leaving the editor and the page different colours. */
.autox-wishlist__empty .autox-wishlist__empty-action{
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	background-color: var(--wp--preset--color--primary-main);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}
.autox-wishlist__empty .autox-wishlist__empty-action:hover{
	background-color: var(--wp--preset--color--primary-autox);
	color: var(--wp--preset--color--base);
}

/*--------------------------------------------------------------
# Variation swatches – single-product.js, modelled on BigCommerce's
# set-rectangle component. Colours use theme.json presets (gray-08 = #D8DCE3).
--------------------------------------------------------------*/
.woocommerce .variations select.autox-swatch-select{
	display: none !important;
}

/* Table cells drop to block so the label stacks above the options (BC layout). */
.woocommerce .variations,
.woocommerce .variations tbody,
.woocommerce .variations tr,
.woocommerce .variations th,
.woocommerce .variations td{
	display: block;
	width: 100%;
}
.woocommerce table.variations{
	margin: 0;
	border: 0;
}
/* tr stays table-row (WC overrides display:block); margin on the label works. */
.woocommerce table.variations tr + tr th.label{
	margin-top: 18px; /* design: 18px rhythm between blocks */
}
.woocommerce table.variations tr th,
.woocommerce table.variations tr td{
	padding: 0 !important;
	border: 0;
}
.woocommerce table.variations tr th.label{
	margin-bottom: 12px; /* design */
}
.woocommerce table.variations tr th.label label{
	display: block;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	/* BigCommerce sets these labels at normal weight; the theme's generic
	   .variations .label rule uses 500, which reads heavier than the reference. */
	font-weight: 400;
	line-height: 1.4;
	color: var(--wp--preset--color--primary-autox);
}

/* The row of options. */
.autox-swatches{
	display: flex;
	flex-wrap: wrap;
	gap: 12px; /* design */
	align-items: center;
	margin: 0;
}
/* Geometry is taken straight off the design: a 115.5px border-box with 6px/12px
   padding around an 18px line, which is what the reference inspector reports.
   `min-width` rather than a fixed width so a long attribute value (a tyre size,
   say) grows the box instead of spilling out of it. */
.autox-swatches .autox-swatch{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 115.5px;
	padding: 6px 12px;
	margin: 0;
	font-size: var(--wp--preset--font-size--xx-small); /* 0.75rem = the design's 12px */
	line-height: 1.5; /* 12px * 1.5 = the 18px content line */
	font-weight: 400;
	text-align: center;
	color: var(--wp--preset--color--primary-autox);
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--gray-08);
	border-radius: 0;
	cursor: pointer;
	transition: border-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
/* The design's box is 32px tall, which is under the 44px comfortable tap
   target, so lift it only where the pointer is actually coarse. That keeps the
   reference proportions on a mouse and stays usable on a phone. */
@media (pointer: coarse) {
	.autox-swatches .autox-swatch{
		min-height: 44px;
	}
}
.autox-swatches .autox-swatch:hover{
	border-color: var(--wp--preset--color--secondary);
}
/* Chosen option: the darkest border, as BigCommerce marks a checked radio. */
.autox-swatches .autox-swatch.is-selected,
.autox-swatches .autox-swatch[aria-checked="true"]{
	border-color: var(--wp--preset--color--primary-autox);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary-autox);
}
.autox-swatches .autox-swatch:focus-visible{
	outline: 2px solid var(--wp--preset--color--primary-autox);
	outline-offset: 2px;
}
/* Not available with the current selection: flat grey, faded label. */
.autox-swatches .autox-swatch:disabled,
.autox-swatches .autox-swatch[aria-disabled="true"]{
	background-color: var(--wp--preset--color--gray-07);
	border-color: var(--wp--preset--color--gray-07);
	color: var(--wp--preset--color--gray-main);
	box-shadow: none;
	cursor: not-allowed;
}
@media (max-width: 551px) {
	.autox-swatches .autox-swatch{
		min-width: 70px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.autox-swatches .autox-swatch{
		transition: none;
	}
}

/* BigCommerce closes the options block with a rule before the quantity and
   Add to cart row (.has-productOptions [data-product-option-change]), with the
   design's 18px of clearance on both sides of it. */
.woocommerce div.product form.variations_form .variations{
	padding-bottom: 18px;
	border-bottom: 1px solid var(--wp--preset--color--gray-08);
}
/* !important only because the theme's own .single_variation_wrap rule above
   pins margin-top to 0 with !important, which no amount of specificity beats. */
.woocommerce div.product form.variations_form .single_variation_wrap{
	margin-top: 18px !important;
}
