/*
Theme Name: Website Theme
Text Domain: website-theme
*/


/* New woocommerce */
.product-button {
  background-color: #243352;
  border-radius: 999px;
  font-style: normal;
  font-weight: 700;
  padding-top: 7px;
  padding-right: 17px;
  padding-bottom: 7px;
  padding-left: 17px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9em;
}




/* Modify Cart */
.woocommerce td.product-name dl.variation dt {
  float: left;
  clear: left;
  margin-right: 5px;
  font-weight: bold;
}
.woocommerce td.product-name dl.variation dd {
  float: left;
  clear: right;
  margin-right: 0;
}
.woocommerce td.product-name dl.variation dt p,
.woocommerce td.product-name dl.variation dd p {
	padding: 0;
	margin: 0;
}
#ordertips_cart_tip {
	background: #f3f3f3;
	border: 1px solid #dfdddd;
	border-radius: 0;
	padding: 10px;
	min-width: 130px;
	margin-left: 10px;
	text-align: left;
}


.woocommerce form.woocommerce-form-register input.input-text,
.woocommerce form.woocommerce-form-login input.input-text,
.woocommerce form.woocommerce-ResetPassword input.input-text {
	background: #f3f3f3;
	border: 1px solid #dfdddd;
	border-radius: 0;
	padding: 10px;
	text-align: left;
}

.woocommerce form.woocommerce-form-register label,
.woocommerce form.woocommerce-form-login label,
.woocommerce form.woocommerce-ResetPassword label {
	font-weight: bold;
}


.logo-row,
.editor-styles-wrapper .logo-row {
	position: relative;
}
.logo-container,
.editor-styles-wrapper .logo-container {
	position: absolute;
	z-index: 10;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	left: 15px;
}


/*--- Desktop (before nav breakpoint ---*/

/* Increase gap between strip items */
@media (min-width: 1100px) {
	.top-strip-row {gap: 100px !important}
}
@media (min-width: 900px) and (max-width: 1100px) {
	.top-strip-row {gap: 60px !important}
}

/* Adjust Logo */
@media (min-width: 900px) {
	.logo-container, .editor-styles-wrapper .logo-container {top: calc(50% + 10px);	transform: translateY(-50%);}
	.logo-container {padding: 10px !important;}
	.logo-container img {width: 170px !important;}
}
@media (max-width: 899.99px) {
	.logo-container, .editor-styles-wrapper .logo-container {top: -20px;}
}

/* Top Strip & Nav */
@media (min-width: 1000px) {
	.top-strip-row .top-strip-item {gap: 10px !important;}
	.top-strip-row .top-strip-item .top-strip-label {font-size: 1em !important;}
	.top-strip-row .top-strip-item.item-map .top-strip-label {font-size: 1em !important;}
	.top-strip-row .top-strip-item.item-phone .top-strip-label {font-size: 1.1em !important;}
	.top-strip-row .top-strip-item .top-strip-icon i {font-size: 18px !important;}
}
@media (min-width: 900px) {
	.top-strip-row {
		justify-content: right !important;
		padding: 15px !important;
	}
}
@media (min-width: 600px) and (max-width: 750px) {
	.primary-nav {font-size: 0.95em !important; gap: 30px !important; font-weight: normal !important;}
	.top-strip-buttons {font-size: 0.8em !important;}
	.top-strip-buttons .wp-block-button a {padding: 5px 10px !important;}
}

/*--- Mobile (after nav breakpoint) ---*/
@media (max-width: 599.99px) {
	.top-strip-buttons {display: none !important;}
}
@media (max-width: 399px) {
	.top-strip-row {flex-direction: row-reverse;}
	.top-strip-row .top-strip-item.item-map mark {display: block  !important; clear: both !important; font-size: 0.9em !important;}
}




/*--- Mobile nav popup ---*/

.wp-block-navigation__responsive-container-open {color: #f4802b !important;}
.wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {width: 100% !important; align-items: center !important;}
.wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container li a {color: #ffffff !important;}






/*--- Home Banner ---*/
.home-banner .banner-cover-inner,
.editor-styles-wrapper .home-banner .banner-cover-inner {
	background: linear-gradient(to right, 
	rgba(36, 51, 82, 1) 0%, 
	rgba(36, 51, 82, 0.5) 20%, 
	rgba(36, 51, 82, 0) 50%, 
	rgba(36, 51, 82, 0.5) 80%, 
	rgba(36, 51, 82, 1) 100%);
}
@media (max-width: 800px) {
	.home-banner .banner-slogan {max-width: 90%; display: block; margin: 0 auto;}
	.home-banner .banner-slogan-icon {display: none !important;}
	.home-banner .banner-slogan-text {flex-basis: 500px !important; flex-grow: 0 !important; flex-shrink: 1 !important;}
}
@media (min-width: 600px) {
	.frontend-only .home-banner .banner-buttons {display: none !important;}
}
@media (max-width: 399.99px) {
	.home-banner .banner-slogan {margin-top: 0 !important; margin-bottom: 0 !important;}
	.home-banner .banner-desc {font-size: 0.7em !important; margin-top: 10px !important; margin-bottom: 30px !important;}
	.home-banner .banner-buttons {margin-top: 0 !important; margin-bottom: 0 !important;}
}




/* Shop Menu */


.shop-nav .wp-block-navigation__container > .wp-block-navigation-item > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .wp-block-navigation-item > a::before {
	content: "\f105"; 
	font-family: "Font Awesome 6 Free"; 
	font-weight: 900;

}

.shop-nav ul.wp-block-navigation__container > li.shop-nav-menu > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .shop-nav-menu > a::before {
	content: "\f818";
}
.shop-nav ul.wp-block-navigation__container > li.shop-nav-order > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .shop-nav-order > a::before {
	content: "\f07a";
}
.shop-nav ul.wp-block-navigation__container > li.shop-nav-account > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .shop-nav-account > a::before {
	content: "\f007";
}
.shop-nav ul.wp-block-navigation__container > li.shop-nav-logreg > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .shop-nav-logreg > a::before {
	content: "\f007";
}


.shop-nav ul.wp-block-navigation__container,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container {
	gap: 5px;
}
.shop-nav ul.wp-block-navigation__container > li.wp-block-navigation-item,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .wp-block-navigation-item {
	text-align: center;
	background: #f2f5f9;
	border: 1px solid #e6eef7;
	padding: 5px 10px;
	border-radius: 5px;
}
.shop-nav ul.wp-block-navigation__container > li.wp-block-navigation-item > a::before,
.editor-styles-wrapper .shop-nav .wp-block-navigation__container > .wp-block-navigation-item > a::before {
	display: block;
	clear: both;
}






/* Woocommerce Block Fixes */
.add-to-cart-options .input-text.qty {
	width: 80px;
	padding: 5px;
}
.woocommerce-product-gallery {
	position: relative;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 50;
}


/*------- Product Category Showcase --------*/

.product-category-showcase {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center items in the last row */
    flex-wrap: wrap; /* Allows items to wrap properly */
    gap: 20px; /* Ensures a consistent gap */
    max-width: 100%;
    width: 100%;
}

.product-category-showcase li {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Ensure the entire category block is clickable */
.product-category-showcase li a.category-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* Style for the category title */
.product-category-showcase li .category-info h2 {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
	margin: 0;
}

/* Ensure the image is properly displayed */
.product-category-showcase li .category-image {
    position: relative;
    z-index: 20;
    overflow: hidden; /* Prevents overflow issues */
}

.product-category-showcase li .category-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 25;
}

/* Layout for Top-Level Categories (3 per row) */
.product-category-showcase.top-level-categories li {
    flex: 0 1 calc(33.33% - 13.34px); /* 3 items per row with gap */
    max-width: calc(33.33% - 13.34px);
}

/* Layout for Sub-Categories (4 per row) */
.product-category-showcase.sub-category-display li {
    flex: 0 1 calc(25% - 15px); /* 4 items per row with gap */
    max-width: calc(25% - 15px);
}

/* Styling for different category levels */
.product-category-showcase.top-level-categories li .category-info {
    position: absolute;
    z-index: 30;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(36, 51, 82, 0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.product-category-showcase.top-level-categories li .category-info h2 {
	padding: 5px 20px;
	background: #f4802b;
	border-radius: 9999px;
}
.product-category-showcase.sub-category-display li .category-info {
    background: rgba(36, 51, 82, 0.3);
	position: absolute;
	top: 0;
    left: 0;
	z-index: 30;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	text-align: center;
}
.product-category-showcase.sub-category-display li .category-info h2 {
	color: #ffffff;
    text-align: center;
	width: 100%;
	background: #243352;
	padding: 10px 20px;
	margin: 0;
}




.tip-section .nyp {text-align: center !important; padding: 0 !important; margin: 0 !important;}
.tip-section .cart {display: block !important;}
.tip-section .input-text {background: #f0f0f0 !important; border: 1px solid #dedcdc !important;}
.tip-section .single_add_to_cart_button {display: block !important; margin: 0 auto !important;}
.tip-section .product .nyp-disabled, .tip-section .wcopc .product-item .nyp-disabled {opacity: 1 !important;}


/* Fix product template height issue */
.wc-block-product-template .wp-block-template-part {height: 100% !important;}



/* Hide video by default */
.video-cover video {
    display: none;
}

/* If the browser supports WebM, show the video */
@supports (-webkit-appearance: none) or (transform: translateX(0)) {
    .video-cover video {
        display: block;
    }
}



#review_form_wrapper {max-width: 700px;}
#review_form_wrapper .wp-element-button {max-width: 200px;}



@media (max-width: 782px) {
    .home-block-reverse {
		flex-direction: column-reverse !important;
	}
}