/*
* Author: Simon
* Date: 02/03/2020
* Added styling to pagination
* Removed AJAX from filter to fix pagination issue
*/

.woocommerce-pagination {
  text-align: center;
  margin-top: 20px;
}
.woocommerce-pagination .page-numbers {
  margin: 0;
}
.woocommerce-pagination .page-numbers li {
  list-style: none;
  display: inline-block;
}
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  display: block;
  border: 2px solid #ddd;
  width: 35px;
  height: 35px;
  transition: background 0.3s ease;
  padding: 3px 0 0 0;
}
.woocommerce-pagination .page-numbers li span {
  border: 2px solid #ff8300;
}
.woocommerce-pagination .page-numbers li a:hover {
  background: #eee;
}

.footer .logo {
  width: 130px;
}
.is-dropdown-submenu-parent.opens-left > .is-dropdown-submenu {
  right: 0px;
  left: 198px;
}

@media screen and (max-width: 89.9375em) {
    .site-main, .standard-page {
        padding-top:82px;
    }
}

@media screen and (min-width: 90em){
    .header .top-bar .top-bar-right .menu li a {
        font-size: .800rem !important;
    }
}
@media screen and (min-width: 100em){
    .header .top-bar .top-bar-right .menu li a {
        font-size: .875rem !important;
    }
}



/*
* Author: Owen
* Date: 09/06/2021
* Amended Alignment of content in category boxes
* Amend content eligibility
* Product Variables
* Poplet images overflow content below
*/

/* Change 01 - Alignment of boxes content */
.shopCats .cattitle {
    min-height: 76px;
}

.shopCats .catBox {
  position: relative;
  padding-bottom: 62px;
}

.shopCats .catBox .button {
  position: absolute!important;
  bottom: 0;
}
@media only screen and (max-width: 1280px){
   .shopCats h4 {
     min-height: auto;
   }
   .shopCats p.intro{
     min-height: auto;
   }
}


/* Change 03 - Product gallery & poplet imagery overflowing */

.woocommerce-product-gallery {
   display: flex;
   flex-wrap: wrap;
}
.woocommerce-product-gallery .flex-control-nav {
   width: 100%;
   order: 3;
}
.woocommerce-product-gallery .flex-direction-nav {
  float: none;
  display: flex;
  width: 100%;
  position: relative;
  order: 2;
margin-left: calc(100% - 210px);
      margin-top: -105px;
}
.woocommerce-product-gallery .flex-direction-nav .flex-nav-next, .woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
  transform: none;
}
.woocommerce-product-gallery .flex-control-nav {
   text-align: center!important;
   position: relative!important;
}
.woocommerce-product-gallery .flex-control-nav li {
    display: inline-block!important;
    padding: 0px 10px!important;
}
.woocommerce-product-gallery .flex-control-nav li img {
    max-width: 100%;
}
.ts_product_single .ts_product_single_image {
  padding-right: 0px!important;
}
.woocommerce-product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-product-tabs .tabs-content .ts2 {
  max-width: 100%;
  width: 100%;
}

@media screen and (max-width: 1490px) {
  .woocommerce-product-gallery .flex-direction-nav {
    height: auto;
  }
}
@media only screen and (max-width: 1280px) {
   .woocommerce-product-gallery .flex-control-nav {
   text-align: center;
}
}
@media screen and (max-width: 79.9375em) {
  .woocommerce-product-gallery .flex-direction-nav {
    display: none!important;
  }
}

/* Change 05 - Universal colour changes */
p {
  color: #3e3e3e;
}
footer p {
  color: #9f9f9f;
}


/* Change 06 - Variable dropdown changes */
.value label {
    text-align: left;
    color: #ff8400;
    font-weight: 600;
}

#breadcrumbs {
  margin: 20px 0px;
}
 


/*   Bottom CTA   */

.contact-number-intro-newsletter {
  margin: 0px;
  color: #fff;
}
.contact-number-newsletter {
  font-size: 36px;
  line-height: 40px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}
.large-6:nth-child(2) .newsletter_block_text {
  padding-left: 70px;
}
.newsletter_block a {
  color: #fff;
}

@media only screen and (max-width: 1280px) {
.large-6:nth-child(2) .newsletter_block_text {
  padding-left: 0px;
}
}


.single-product #breadcrumbs span span span a:first-child {
    display: none;
}
.single-product #breadcrumbs .break {
    display: none;
}

.single-product #breadcrumbs span span span .break {
    display: inline-block;
}

.hero_slider {
    min-height: calc(100vh - 96px);
}
.hero_slide p {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}



/*   NEW NAVIGATION   */
header .sub-nav {
  background: #ff8300;
  padding: 10px 30px;
}

.header .sub-nav .sub-nav-container {
  display: flex;
  justify-content: end;
}

header .sub-nav ul li a {
  color: #fff;
  font-size: 18px;
}

header .sub-nav .search-form {
  position: relative;
}

header .sub-nav .search-form input {
  border-radius: 30px;
  border: none;
  padding: .5rem 20px;
}

header .sub-nav .search-form .search-close {
  display: none;
}

header .sub-nav .search-form .button {
  position: absolute;
  right: 10px;
  top: 9px;
  background: none;
}

header .sub-nav .search-form .button img {
  width: 14px;
}

header .sub-nav ul {
  display: flex;
  justify-content: end;
}

header #top-bar-menu.top-bar {
  padding: 20px 30px;
  height: auto !important;
}

header #top-bar-menu.top-bar {
  display: flex;
  justify-content: space-between;
}

header #top-bar-menu.top-bar .logo img {
  width: 200px;
}

header #top-bar-menu.top-bar ul li a {
  color: #fff;
	font-size: 16px;
}

.submenu li {
  border-bottom: 1px solid #929292;
  padding: 10px 0px;
  font-size: 18px;
}

header .is-dropdown-submenu {
  min-width: 280px;
}

header .is-dropdown-submenu li:hover {
  background-color: #ff8300;
}

.menu .active>a {
  background-color: initial;
}

@media only screen and (max-width: 1439px) {
   #main-nav {
    display: none;
  } 
  header .sub-nav ul li a {
    font-size: 16px;
    padding: .5rem !important;
  }
}

@media only screen and (max-width: 768px) {
  .search-form {
    display: none;
  }
	footer .footer_social {
		justify-content: center;
	}
}

@media only screen and (max-width: 500px) {
  header #top-bar-menu.top-bar .logo img {
    width: 120px;
  }
}


/*   Header Alignment   */
/* .off-canvas-wrapper {
  padding-top: 175px;
} */


.off-canvas .search-form .search-close, .off-canvas .search-form button {
  display: none;
}
.off-canvas .search-form {
  padding: .7rem 1rem;
}

.footer .footer_top .footTitle {
  margin-bottom: 5px;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

/*   Products   */
.ts_product_single {
  align-items: center;
  margin-top: 30px;
}
.woocommerce-product-gallery {
  margin-top: 0px;
}
.custom-product-tabs {
  margin-top: 60px;
}
.ts_product_single .ts_product_single_info .ts_product_single_info_content {
  text-align: center;
  max-width: 100%;
  margin: 0;
  padding: 0 60px;
}
.ts_product_single .related.products {
  max-width: unset;
  background: #e5e5e5;
  padding: 50px 0px;
}

section.related.products {
  background: #e5e5e5;
  padding: 70px 0px;
  margin-top: 70px;
  text-align: center;
}
section.related.products h2 {
  margin-bottom: 70px;
}

.product-template-default .site-main {
  padding-top: 0px;
}


/*   Woocommerce Account   */
.ts_woo_login {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 0px;
}

.woocommerce-notices-wrapper {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 10;
  max-width: 360px;
  background: #eaeaea;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  font-size: 18px;
  text-align: center;
}

.woocommerce-notices-wrapper a {
  width: 100%;
  order: 2;
  margin-top: 20px;
  margin-bottom: 0px;
}

.woocommerce-message {
  display: flex;
  flex-wrap: wrap;
}

body .off-canvas-wrapper {
    padding-top: 176px!important;
}

.dropdown .is-dropdown-submenu a {
    padding: .6rem 1rem;
}
.submenu li {
	padding: 0px!important;
}

@media only screen and (max-width: 768px) {
	body .off-canvas-wrapper {
    	padding-top: 167px!important;
	}
}

.off-canvas-content.is-open-right.has-transition-push {
	transform: translate(-1);
}

.ts_product_single_info_content h1{
	text-align:left;
}

.ts_product_single .ts_product_single_info .ts_product_single_info_content .price .woocommerce-Price-amount {
    font-size: 2rem;
}

.ts_product_single .ts_product_single_info .ts_product_single_info_content .price {
    justify-content: left;
}

/* Container for both variations and the image */
.variations-container {
  display: flex;
  gap: 20px; /* Space between the rows and the image column */
}

.availability {
  display: none;
}

.variations {
	display: flex;
	flex-direction: column;
	gap: 30px; /* Spacing between rows */
	flex: 3; /* To allow space for the image column */
}

.value {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 74%;
}

.value label {
	flex: 1;
	text-align: left;
	font-size: 1rem;
	color: #000;
	width: 170px;
}

.value select {
	flex: 2;
	max-width: 250px; /* Adjust as needed */
}

/* Styles for the new image column */
.image-column {
  flex: 1; /* Take up space for the image */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.image-column img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tf-clear-selection-bottom {
    text-align: center;
    padding-bottom: 25px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-next a {
    color: #fff;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
    background-color: #ff8300;
}

.woocommerce-product-gallery .flex-direction-nav {
    margin-left: 0px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
    margin-left: 0px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
    margin-left: calc(100% - 210px);
}

.tf-add-to-cart-buttons-wrapper {
    display: flex;
    flex-direction: column; /* Stack containers vertically */
    width: 100%;
	margin-top: 30px;
}

.tf-add-to-cart-buttons-container {
    display: flex;
}

.tf-add-to-cart-buttons-container p {
    text-align: left;
    font-size: 1rem;
	font-weight: 600;
	color: #000;
	min-width: 170px;
}

/* .tf-add-to-cart-buttons-box1 {
     width: 27%;
} */

.tf-add-to-cart-buttons-box2 {
     min-width: 200px;
	 max-width: 200px;
}

.tf-add-to-cart-buttons-box3 {
     min-width: 250px;
	 max-width: 250px;
}

.ts_product_single_info_content .cart .single_add_to_cart_button {
    padding: 0px 40px !important;
}

.ts_product_single_info_content .cart .woocommerce-variation-add-to-cart {
    grid-template-columns: 100%
}

/* Stack boxes on mobile devices */
@media (max-width: 768px) {

	.tf-add-to-cart-buttons-box1 {
     display: none;
  }
	
	.tf-add-to-cart-buttons-box2 {
		 min-width: 150px;
		 max-width: 150px;
	}

	.tf-add-to-cart-buttons-box3 {
		 min-width: 150px;
		 max-width: 150px;
	}

	.ts_product_single_info_content .cart .single_add_to_cart_button {
    padding: 0px 10px !important;
   }
	
}

/* Stack boxes on mobile devices */
@media (max-width: 768px) {

	.variations-container {
		flex-direction: column;
	}	
	
	.variations-container > div {
        width: 100%;
        margin-bottom: 10px;
    }
	
	.image-column img {
	  display:none;
	}
	
}

