/*
Theme Name: Lilett Candies
Version: 6.1
Description: Customizable responsive accessible Wordpress child theme created by CyberOptik
Author: CyberOptik
Author URI: https://www.cyberoptik.net/
Template: optik-theme-6
*/





/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
******************************************************************************/

@import url("../optik-theme-6/style.css");



/* Add font imports here */

/** Cormorant Garamond **/
/* Normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: normal;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-Regular.ttf');
}

/* Italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: normal;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-Italic.ttf');
}

/* Semi Bold */
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 600;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-SemiBold.ttf');
}

/* Bold */
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: bold;
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-Bold.ttf');
}

/***  Lato  ***/

/* Normal */
@font-face {
  font-family: 'Lato';
  font-weight: normal;
  src: url('fonts/Lato/Lato-Regular.ttf');
}

/* Italic */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: normal;
  src: url('fonts/Lato/Lato-Italic.ttf');
}

/* Semi Bold */
@font-face {
  font-family: 'Lato';
  font-weight: 600;
  src: url('fonts/Lato/Lato-SemiBold.ttf');
}

/* Bold */
@font-face {
  font-family: 'Lato';
  font-weight: bold;
  src: url('fonts/Lato/Lato-Bold.ttf');
}
/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
}

body {
	line-height: 1.6em;
	font-family: var(--wp--custom--font--1);
	color: var(--wp--custom--dark--1);
}



/***  BACK TO TOP BUTTON  ***/

.btt-button [class*="fa"] {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: black;
}

.btt-button:hover [class*="fa"] {
	background-color: var(--wp--custom--primary--light);
	color: black;
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--primary--light);
}



/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6  {
	font-weight: 500;
	color: black;
	font-family: var(--wp--custom--font--2);
	line-height: 1.2em;
}

h1,
.h1 {
	font-size: 5.7em;
}

h2,
.h2 {
	font-size: 4em;
}

h3,
.h3 {
	font-size: 2.5em;
}

h4,
.h4 {
	font-size: 2em;
}

h5,
.h5 {
	font-size: 1.5em;
}

h6,
.h6 {
	font-size: 1em;
}


/** Tablet**/
@media screen and (min-width: 601px) and (max-width: 1024px) {
	h1,
  .h1 { font-size: 4.5em; }
	h2,
  .h2 { font-size: 3.2em; }
	h3,
  .h3 { font-size: 2.1em; }
	h4,
  .h4 { font-size: 1.8em; }
	h5,
  .h5 { font-size: 1.3em; }
	h6,
  .h6 { font-size: 0.95em; }
}

/** Mobile **/
@media screen and (max-width: 600px) {
	h1,
  .h1 { font-size: 3em; }
	h2,
  .h2 { font-size: 2.4em; }
	h3,
  .h3 { font-size: 1.9em; }
	h4,
  .h4 { font-size: 1.6em; }
	h5,
  .h5 { font-size: 1.2em; }
	h6,
  .h6 { font-size: 0.9em; }
}


/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0.75em 1.8em;
	border-color: var(--wp--custom--primary--light);
	border-radius: 0;
	background-color: var(--wp--custom--primary--light);
	color: black;
	font-weight:600;
}

.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	color: black;
	transform: translateY(-3px);
}

.button [class*="fa"], 
.wp-block-button__link [class*="fa"], 
.button:hover [class*="fa"], 
.wp-block-button__link:hover [class*="fa"] {
	color: inherit !important;
}

/* Outlined Button */

.button-outline, 
.is-style-outline .wp-block-button__link {
	background: none;
	color: white;
	border-color: white;
}

.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: white;
	background: white;
	color: black!important;
}



/***  ICONS  ***/

.fa {
	font-weight: 300;
}

/* Icon Colors */

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--primary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: var(--wp--custom--primary--main);
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: var(--wp--custom--secondary--main);
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--primary--main);
}

a .fa-br {
	border-color: var(--wp--custom--primary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--main);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before, 
.arrow-list li [class*="fa"], 
.check-list li [class*="fa"], 
.check-circle-list li [class*="fa"], 
.icon-list li [class*="fa"], 
.contact-list li [class*="fa"] {
	color: var(--wp--custom--primary--main);
}



/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	border-radius: var(--wp--custom--radius--xs);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

/* Buttons */

input[type="submit"], 
input[type="reset"], 
input[type="button"], 
form button {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

input[type="Submit"]:hover, 
input[type="reset"]:hover, 
input[type="button"]:hover, 
form button:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

input[type="Submit"]:active, 
input[type="reset"]:active, 
input[type="button"]:active, 
form button:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/

/***  HEADER  ***/
.header-wrap {
  position: absolute;
  left: 0;
  z-index: 99;
}

.scroll-masthead {
    width: 250px;
}

@media (max-width: 1024px) {
  .masthead-link {
    justify-content: start!important;
  }
}


/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--primary--dark);
}

.scroll-logo {
	max-height: 90px;
}

@media (max-width: 1245px) {
	.scroll-menu {
		font-size: 14px;
	}
}

/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--light--2);
}



/***  HEADER  ***/

.header-logo {
	max-height: 100px;
}


body.home .header-logo {
    max-height: 130px; 
}

body:not(.home) .header-logo {
    max-height: 100px; 
}

/* Menu Button */

.header .menu-button [class*="fa"], 
.header .menu-button:hover [class*="fa"] {
	color: var(--wp--custom--light--1);
}

.header .menu-button.active [class*="fa"] {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
	background: transparent;
}



/***  NAV MENUS  ***/

.nav-menu > li > a, 
.nav-menu > li > span, 
.nav-menu > li > button {
	color: white;
	font-weight:600;
}

.single-post .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > a, 
.single-service .nav-menu > li.services-link > a, 
.single-career .nav-menu > li.careers-link > a, 
.single-resource .nav-menu > li.resources-link > a, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-menu-ancestor > button, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li.current-menu-item > span, 
.nav-menu > li.current-menu-item > button, 
.nav-menu > li:hover > a, 
.nav-menu > li:hover > span, 
.nav-menu > li:hover > button {
	color: var(--wp--custom--secondary--main);
}

/* Nav Button */

.nav-menu > li.nav-button {
	background-color: transparent !important;
}

.nav-menu > li.nav-button > a {
	margin-left: 10px;
	margin-right: 10px;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button > a:hover {
	background-color: var(--wp--custom--primary--light);
}


@media screen and (min-width:1025px) and (max-width: 1080px) {
	.nav-menu > li > a, 
	.nav-menu > li > span, 
	.nav-menu > li > button {
		padding-left:3px;
		padding-right:3px;
		font-size:0.85em;
	}
	
	.nav-menu > li {
		padding:0 5px;
	}
}

@media screen and (min-width:1081px) and (max-width: 1185px) {
	.nav-menu > li > a, 
	.nav-menu > li > span, 
	.nav-menu > li > button {
		font-size: 0.9em;
		padding-left:3px;
		padding-right:3px;
	}
	
	.nav-menu > li {
		padding:0 5px;
	}
}

/* Dropdowns */

.nav-menu li ul li:first-child {
	padding-top: 8px;
}
.nav-menu li ul li:last-child {
	padding-bottom: 8px;
}

.nav-menu li ul > li > a, 
.nav-menu li ul > li > span, 
.nav-menu li ul > li > button {
	color: var(--wp--custom--dark--1);
}

.single-careers .nav-menu li ul li.careers-link > a, 
.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li.current-menu-item > span, 
.nav-menu li ul li.current-menu-item > button, 
.nav-menu li ul li:hover > a, 
.nav-menu li ul li:hover > span, 
.nav-menu li ul li:hover > button {
	color: var(--wp--custom--secondary--dark);
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -8px;
}



/***  HIDDEN NAV  ***/

.hidden-menu li a {
	color: var(--wp--custom--dark--1);
}

.hidden-menu li.current-menu-item > a {
	color: var(--wp--custom--secondary--dark);
}





/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  BANNER  ***/

.banner {
	background-color: var(--wp--custom--primary--dark);
}

.banner:before {
	opacity:0.2!important;
}

.banner-inner {
	padding-top: 250px;
	padding-bottom: var(--wp--custom--spacer--lg);
}

@media (max-width: 1024px) {
	.banner-inner {
		padding-top: 150px;
	}
}

.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner a {
	color: var(--wp--custom--primary--light);
}

.banner a:hover {
	color: white;
}



/***  HEADLINE BAR  ***/

.headline-bar {
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main {
	padding-top:  var(--wp--custom--spacer--xxl);
	padding-bottom:  var(--wp--custom--spacer--xxl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--custom--light--2);
	overflow: hidden;
	color: var(--wp--custom--dark--2);
}

.entry-cols .entry-link:hover {
	transform: translateY(-3px);
}

.entry-cols .entry-icon-wrap:first-child {
	padding: 30px 30px 0;
}

.entry-cols .entry-icon svg {
	width: 60px;
	fill: var(--wp--custom--primary--main);
}

.entry-cols .entry-text-wrap {
	padding: 30px;
}

.includes-link-text .entry:not(.col-full) .entry-text-wrap {
	padding-bottom: 80px;
}

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {
	color: var(--wp--custom--primary--main);
}

.entry-cols .entry-link:hover .entry-link-text {
	color: var(--wp--custom--primary--light);
}

/* Archive Pagination */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--light--1);
	color: var(--wp--custom--primary--main);
}

.archive-pagination a:hover {
	border-color: var(--wp--custom--primary--light);
	color: var(--wp--custom--primary--light);
}

.archive-pagination a [class*="fa"], 
.archive-pagination a:hover [class*="fa"] {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}



/***  SINGLE  ***/





/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/



/***  CTA BAR  ***/

.cta-bar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {
	color: white;
} 




/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
	background-color: var(--wp--custom--tertiary--dark);
	font-size: 0.9em;
	color: white;
}

.footer a {
	color: white;
}

.footer a:hover {
	color: var(--wp--custom--light--1);
}

.footer .wp-block-heading {
	color: white;
	font-family: var(--wp--custom--font--2);
}

.footer .wp-block-buttons .wp-block-button__link {
	color:black;
}

.footer .contact-1 li {
	font-family: var(--wp--custom--font--2)!important;
}

.footer .headings-line {
	position: relative;
}

.footer .headings-line:after {
	background-color: white;
	height: 1px;
	position: relative;
	left: -33px;
}

.footer .contact-list li:before {
	color: white;
	top:unset;
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	padding: 30px;
	background-color: white;
	font-size: 0.9em;
	color: var(--wp--custom--dark--1);
}

/* Menus */

.bottom-bar .menu a {
	color: var(--wp--custom--dark--1);
}

.bottom-bar .menu a:hover {
	color: var(--wp--custom--primary--main);
}

.bottom-bar-container {
	padding-left:0;
	padding-right:0;
}

/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
******************************************************************************/

/* Add custom theme styles here */

.btn-icon.is-style-outline .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px; 
}

.btn-icon.is-style-outline .wp-block-button__link::before{
	content: "\f3fe";
  font-family: "Font Awesome 6 Brands"; 
  font-weight: 400;
  font-size: 18px;
}

.icon-list li.clock:before, .contact-list li.clock:before {
  content: "\f017";
  top:3px;
}

p.price {
	font-family: var(--wp--custom--font--2);
}

.hero-title {
	display:flex;
	align-items:center;
	gap:10px;
	color:white;
	letter-spacing:2px;
	text-transform: uppercase;
	font-family: var(--wp--custom--font--2);
}

.hero-title::before {
	content:"";
	height:1px;
	background:white;
	flex:1;
	max-width:40px;
}

.wp-block-separator {
	border-top: none;
}


.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.img-style {
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.photo-frame {
  background: white;
  border: 6px solid var(--wp--custom--secondary--light);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.image-container {
  display: block;
  box-shadow: -25px -25px 0 var(--wp--custom--secondary--light);
  background: var(--wp--custom--secondary--light);
}


/***  ICON CARDS  ***/

.icon-cards {
	text-align: center;
}

.icon-cards .wp-block-column {
	background-color: var(--wp--custom--light--2);
	padding: var(--wp--custom--spacer--md) var(--wp--custom--spacer--sm);
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover {
	background-color: var(--wp--custom--accent--1);
	color: white;
}

.icon-cards .wp-block-column .wp-block-heading, 
.icon-cards .wp-block-column .wp-block-heading a {
	color: var(--wp--custom--primary--main);
	border-bottom: none;
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover .wp-block-heading, 
.icon-cards .wp-block-column:hover .wp-block-heading a, 
.icon-cards .wp-block-column:hover .wp-block-heading a:hover {
	color: white;
}

.icon-cards .wp-block-outermost-icon-block {
	justify-content: center;
}

.icon-cards .wp-block-heading:not(:first-child) {
	margin-top: 0.25em;
	font-size: 1.45em;
}



/******** Heading line  ********/

.headings-top:before {
  display: block;
	width: 50px;
	height: 1px;
	margin-bottom: 15px;
	margin-left: 0;
	margin-right: auto;
	background-color: white;
  content: '';
}

.headings-line:after {
  display: block;
	width: 50px;
	height: 2px;
	margin-top: 15px;
	margin-left: 0;
	margin-right: auto;
	background-color: var(--wp--custom--primary--main);
  content: '';
}

.headings-center:after {
  display: block;
  width: 60px;
  height: 2px;
  margin: 15px auto 0 auto;
  background-color: var(--wp--custom--primary--main);
  content: '';
}


/** Calendar **/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 0px!important;
    padding-top: 0px!important;
}

body.post-type-archive-tribe_events .banner:before {
  content: "";
  background-image: url('/wp-content/uploads/2018/08/CANDY-TRAY-KARAND-3.jpg') !important;
  background-size: cover;
  background-position: center;
}



/****** RESPONSIVE  ******/


@media (max-width: 1000px) {

  #footer .wp-block-columns {
    flex-direction: column;
  }

  #footer .wp-block-column {
    flex-basis: 100% !important;
  }

}

/** Reverse Section **/
@media screen and (max-width: 900px){
	.reverse-section {
    flex-direction: column-reverse;
	}
}

@media screen and (max-width: 900px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
} 

/**  Image Size **/
 @media screen and (max-width: 900px) {
  .wp-block-image { 
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
   }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .wp-block-image.reduced-width { max-width: 50%; }
}


@media screen and (max-width: 900px) {
  .tablet-w-600 { 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tablet-w-600-center {
    text-align: center;
  }

  .tablet-w-600-center .wp-block-outermost-icon-block { justify-content: center; }
} 

/** Large Screen  **/
@media screen and (max-width: 1024px) {
  .stack-section-lg { flex-direction: column; }

  .stack-section-lg.reverse-section { flex-direction: column-reverse; }
}

@media screen and (min-width: 901px) and (max-width: 1024px) {
  .stack-section-lg .wp-block-image {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
  }
} 



/* Header button */
.header-button-class {
  justify-content: flex-end;
}

/*  Header button center */
@media (max-width: 1025px) {
  .header-button-class {
    justify-content: center !important;
	display:none!important;
  }
}


/* Header social links */
@media (max-width: 1025px) {
  .social-header, .social-header-p {
    justify-content: center !important;
	display:none!important;
  }
}

.header-widget ul.wp-block-social-links {
	gap:0!important;
}

/******** Gravity Forms ********/

.gform_wrapper .gform_button,
.gform_wrapper button {
  background-color:var(--wp--custom--primary--light)!important;
  color: black!important;
  padding: 14px 28px!important;
  font-weight:600!important;
  border-radius: var(--wp--custom--radius--xl)!important;
  border: none;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper button:hover {
  background-color:var(--wp--custom--primary--main)!important;
  color: black;
  border: none;
} 


.gform-theme--orbital {
	padding:40px;
	background-color:var(--wp--custom--secondary--light);
}

/** Homepage Slider **/
#sp-woo-product-slider-11163 .wpsf-product-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.wc-block-checkout__login-prompt {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/****** WOOCOMMERCE & CART ******/

.product_meta {
	display: grid;
}

.sku_wrapper,
.posted_in,
.tagged_as {          
  font-weight: bold;     
}

.sku_wrapper .sku,
.posted_in a,
.tagged_as a {         
  font-weight: normal;    
}


/* WooCommerce Product Collection responsive */
/* Tablet */
@media (max-width: 1024px) {
  ul.wc-block-product-template__responsive.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  ul.wc-block-product-template__responsive.columns-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/** Products **/
.wc-block-product h2, .woocommerce-loop-product__title {
	font-family:var(--wp--custom--font--1);
	font-size:20px!important;
	text-align: left;
}

.wc-block-product h2 a, .woocommerce-loop-product__title {
	color: var(--wp--custom--tertiary--dark);
	font-weight:600;
}


.woocommerce-cart table.cart img {
    width: 70px;
}

.wp-block-woocommerce-product-price {
    text-align: left;
}

.woocommerce-Price-amount {
	font-size:1.5em;
	color: var(--wp--custom--dark--1)!important;
	font-family: var(--wp--custom--font--2);
	font-weight:600;
	margin-right: 0;
  margin-left: 0;
}

.wc-block-product, .products .product, ul.products li.product {
  border-radius:var(--wp--custom--radius--sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding:20px;
  transition: all 350ms ease-in-out;
}

.wc-block-product .wc-block-components-product-image {
  margin: -1rem -1rem 1rem -1rem;
}


.woocommerce ul.products li.product .price {
  color:var(--wp--custom--dark--1);
  font-family: var(--wp--custom--font--2);
  text-align: left;
}

ul .out_of_stock_color, ul.products .out_of_stock_color {
	font-family: var(--wp--custom--font--1);
	font-size: 14px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
	color: var(--wp--custom--dark--1)!important;
	text-align: left;
}

/* Cart */
.cart-icon {
  position: relative;
  display: inline-flex;
  padding: 0 10px;
	font-size:1.3em;
	color:var(--wp--custom--secondary--light)!important;
	transition: all 0ms ease-in-out;
}

.cart-icon:hover {
	color:var(--wp--custom--secondary--main)!important;
}

.cart-count {
    position: relative;
    display: inline-flex;
    align-items: center;
    top: -6px;
    right: -5px;
    background: transparent;
    color:white;
    font-size: 11px;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
}

.cart-icon:hover .cart-count  {
	/* background: #c60909; */
	background: transparent;
}

.cart-count::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  transform: translate(-50%, -50%);
  background-color: red;
  border-radius: 100%;
  aspect-ratio: 1 / 1;
  z-index: -1;
 }

.cart-icon > .fa-cart-shopping { z-index: 1; }

.cart-icon > .cart-count { z-index: 2; }


/* Desktop cart */
@media (min-width: 1025px) {
  .custom-header-cart {
    position: fixed;
    /* bottom: 90px; */
    top: 200px;
    right: 20px;

    background: var(--wp--custom--primary--main);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);

    color: white;
    text-decoration: none;
    z-index: 9999;
  }

  .custom-header-cart:hover {
    background: var(--wp--custom--primary--dark);
  }

  .custom-header-cart {
    display: none; 
  }
}

/* Sticky cart for mobile & tablet */
@media (max-width: 1024px) {

  .custom-header-cart {
    position: fixed;
    /* bottom: 90px; */
    top: 200px;
    right: 20px;
    left: auto !important;
    z-index: 9999;

    background: var(--wp--custom--primary--main);
    padding: 10px 16px;
    border-radius: 12px; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  }

  .custom-header-cart:hover {
  	background: var(--wp--custom--primary--dark);
  }

  .custom-header-cart {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
  }



  .cart-icon {
    display: none; 
  }

}



#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
	background:var(--wp--custom--primary--light);
	color:black;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover, .woocommerce #payment #place_order:hover, .woocommerce-page #payment #place_order:hover {
	background:var(--wp--custom--primary--main);
	color:black;
}


/* Force image height */
.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Make product card a vertical flex container */
.wc-block-product {
    display: flex;
    flex-direction: column;
    margin-left: 0;
}

/* Push the button section to the bottom */
.wc-block-product .wp-block-woocommerce-product-button, .unavailable {
    margin-top: auto;
}

.wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link, .unavailable {
    margin-left: 0;
    margin-right: auto;
}

/* Disable hover on unavailable buttons */
.woocommerce div.product form.cart .disabled:hover {
    box-shadow: none!important;
    transform: none!important;
    cursor: not-allowed!important;
}


.unavailable {
  /* opacity: 0.5;
   filter: grayscale(100%);*/
   cursor: not-allowed;
   pointer-events: none;
   margin-left: 0;
   margin-left: auto;
   font-size: 0.9em;
}

/* Prevent text from expanding button */
.wc-block-components-product-button__button span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* View cart styling */
.wc-block-components-product-button .added_to_cart {
    text-align: center;
    font-size: 14px;
}

/* Prevent WooCommerce Block Product Button height jump */

.wp-block-woocommerce-product-button > span {
	display: inline-block;
	padding-left: 5px;
}

/* Remove Woo default magnifying glass */

.woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce-product-gallery {
    position: relative;
}

.custom-gallery-trigger {
    position: absolute;
    top: 15px;
    right: 15px;
 
    padding: 10px;
    text-decoration: none;
    font-size: 18px;
    z-index: 99;
  
}
/** Cart number of Orders**/

/* Fix cart quantity input width */
.woocommerce-cart .quantity .qty {
    width: 100px !important;   /* wider so 2 digits fit */
    min-width: 100px;
    padding: 8px 10px;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}
/** Shipping Fee force to one line**/
/* Make shipping method inline */
.woocommerce-shipping-methods label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Prevent price from breaking line */
.woocommerce-shipping-methods .woocommerce-Price-amount {
    display: inline-block;
}

/* Fix radio alignment */
.woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Fix coupon row layout */
.woocommerce-cart .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Fix coupon input */
.woocommerce-cart .coupon input.input-text {
    flex: 1 1 150px;
    min-width: 150px;
    width: auto !important;
    box-sizing: border-box;
}

/* Fix apply button */
.woocommerce-cart .coupon button {
    flex: 0 0 auto;
}
/* Fix spacing under stock notice */
.single-product p.stock {
    margin-bottom: 15px !important;
}


/* Fix WooCommerce quantity input readability */
.woocommerce div.product .quantity input.qty {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    padding: 8px !important;
    font-size: 16px !important;
    width: 70px !important;
}

/* Align + / – buttons if present */
.woocommerce div.product .quantity .qty {
    font-size: 16px !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .woocommerce div.product .quantity input.qty {
        width: 60px !important;
        font-size: 14px !important;
    }
}


/* Product button container */
.wc-block-components-product-button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}


/* ------------------------------
Bottom Suggestions
------------------------------ */

.bottom-suggestions .suggestions-title {
	font-size: 1.8em;
}

.single-product .bottom-suggestions {
    width: 100% !important;
    max-width: 100% !important;
}

.single-product .bottom-suggestions .container {
    max-width: 1200px !important; 
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.single-product .bottom-suggestions .products .product {
  display: flex;
  flex-direction: column;
  border-radius: var(--wp--custom--radius--sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 10px;
  padding: 0; 
}


.single-product .bottom-suggestions .products .product img {
  width: 100%;
  display: block;
  object-fit: cover;
  margin: 0 0 1rem 0;
  border-top-left-radius: var(--wp--custom--radius--sm);
  border-top-right-radius: var(--wp--custom--radius--sm);
}
.single-product .bottom-suggestions .products .product .woocommerce-loop-product__title,
.single-product .bottom-suggestions .products .product .price,
.single-product .bottom-suggestions .products .product .button,
.single-product .bottom-suggestions .products .product .star-rating {
	padding-right: 1rem;
	padding-left: 1rem;
}

.single-product .bottom-suggestions p.stock {
	padding-left: 1rem;
}

.woocommerce div.product .woo-custom-stock-status.in_stock_color {
  padding-right: 1rem;
}

.single-product .bottom-suggestions .products .product .button {
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .single-product .bottom-suggestions ul.products li.product {
    width: 47% !important;
    float: left !important;
    clear: none !important;
  }
  .single-product .bottom-suggestions ul.products li.product:nth-child(2n) {
    margin-right: 0 !important;
  }
}


@media (max-width: 600px) {
  .single-product .bottom-suggestions ul.products li.product {
    width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
  }
}


.single-product .bottom-suggestions ul.products {
  display: flex;
  flex-wrap: wrap;
}


.single-product .bottom-suggestions ul.products li.product {
  display: flex;
  flex-direction: column;
}


.single-product .bottom-suggestions ul.products li.product a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.single-product .bottom-suggestions ul.products li.product .button {
  margin-top: auto;
}


/* ------------------------------
Archive Products
------------------------------ */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding-left: 20px;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
	padding-left: 20px;
}

.woocommerce ul.products li.product .button {
  align-self: center;
	padding: 1.2em 1.8em;
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: black;
	font-weight:600;
	font-size: 0.9em;
	margin-bottom:20px;
	border-radius: 0;
	margin-left: 0;
	margin-right: 0;
}


.woocommerce ul.products li.product .button:hover {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	color: black;
}

ul .in_stock_color, ul.products .in_stock_color {
	font-size: 1em;
	font-family: var(--wp--custom--font--1);
}

/*.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  float: left;
  margin: 0 3.4% 2.99em 0;
  padding: 0;
  position: relative;
  margin-left: 0!important;
  align-content: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding-left: 20px;
	padding-right: 20px;
}

.woocommerce ul.products li.product .price {
	padding-left: 20px;
	padding-right: 20px;
}


.woocommerce ul.products li.product .button {
	margin-left: 0;
}*/



.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px!important; 
}

.woocommerce ul.products li.product {
  width: 23%;
  margin: 10px 10px 30px; 
  box-sizing: border-box;
  float: none !important;
  min-width: 0;

}

.woocommerce-page .site-content,
.woocommerce .site-content {
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product .button {
  margin-top: auto!important;
}


@media (max-width: 1199px) {
  .woocommerce ul.products li.product {
    width: 47%;
  }
}

@media (max-width: 599px) {
  .woocommerce ul.products li.product {
    width: 100%;
  }
}

.woocommerce ul.products li.product {
  min-width: 0;
}






/* Fix WooCommerce Cart / Checkout blocks on small device */
@media (max-width: 1196px) {

.wc-block-components-sidebar-layout {
  display: block !important;
  width: 100% !important;
	margin-bottom: 40px!important;
}

.wc-block-components-main {
    width: 100% !important;
}

.wc-block-components-sidebar {
    width: 100% !important;
    position: relative !important;
}
.woocommerce-page .alignwide {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
}

/* Prevent container overflow */
.wc-block-components-sidebar-layout,
.wc-block-components-main,
.wc-block-components-sidebar {
    max-width: 100%;
}

/* Empty cart wrapper */
.wc-block-checkout-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 520px;
    margin: 80px auto;
    padding: 40px 20px;
    gap: 18px;
}

/* Cart icon */
.wc-block-checkout-empty__image {
    width: 80px;
    height: 80px;
    opacity: .5;
}

/* Title */
.wc-block-checkout-empty__title {
    font-size: 28px;
    font-weight: 600;
}

/* Description */
.wc-block-checkout-empty__description {
    font-size: 16px;
    color: #666;
    max-width: 420px;
}

/* Button wrapper */
.wc-block-checkout-empty .wp-block-button {
    margin-top: 10px;
}

/* Browse store button */
.wc-block-checkout-empty .wp-block-button__link {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.wc-block-checkout-empty .wp-block-button__link:hover {
    background: #333;
}

/* Remove "View Cart" cta from product carts */
.wp-block-woocommerce-product-template .add_to_cart_button + span { display: none; }