/*
 Theme Name:   Secure Textile Destruction
 Theme URI:    https://securetextiledestruction.co.uk/
 Description:  Secure Textile Destruction child theme
 Author:       James Evans
 Author URI:   https://websright.com
 Template:     generatepress
 Version:      0.1
*/


/* home hero */
.home-hero .wp-block-cover {
	padding: 0;
}

.intro-video video, .brand-popup video {
	border-radius: 10px;
}

/* mob nav */
#mobile-header .site-logo.mobile-header-logo img {
	height: 70px;
}
#mobile-menu ul li a {
	text-align: center;
}

/* mega menu */
.circular-solns .gb-navigation .sub-menu {
    display: block !important;
	position: relative;
}
.circular-solns ul.sub-menu li .gb-menu-link {
    padding: 10px;
	display: block;
}

.circular-solns ul.sub-menu li .gb-menu-link:before {
	content: "-";
	display: inline-block;
	padding-right: 3px;
}
@media (max-width: 1024px) {
	li.mm-services {
		display: none;
	}
}
@media (min-width: 1025px) {
	li.mob-services {
		display: none;
	}
}
@media (min-width: 1025px) and (max-width: 1249px) {
	ul .menu-item .gb-menu-link {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 14px;
	}
	.gb-submenu-toggle {
		margin-left: -10px;
	}
}

/* carousels */
.services-carousel .gb-carousel-item {
	height: auto;
}
@media (max-width: 479px) { 
	.gb-carousel.services-carousel {
		--gb-carousel-slides-per-view:1;
	}
}

/* services grid */
@media (max-width: 479px) { 
	.services-grid div {
		grid-template-columns: 1fr;
	}
}

/* page tweaks */


/* whatsapp btn */
.btm-btns {
	position: fixed;
	z-index: 300;
	bottom: 2px;
	text-align: right;
	right: 2px;
}
@media (max-width: 767px) {
	.btm-btns {
		left: calc((100% - 210px)/2);
		right: auto;
	}
	.site-info {
		padding-bottom: 30px;
	}
}


/* accordion tweak */
#faqs button.gb-button.gb-accordion__toggle {
    background: transparent;
}

/* process cols */
@media (max-width: 419px) {
	.process-icons.gb-container .gb-grid-column {
		width: 100%;
	}	
}

/* case studies */
.case-study-list ul {
	list-style: none;
	margin-left: 0;
}
.case-study-list li {
	background-color: var(--global-color-8);
	font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-right: 5px;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 6px 16px;
}

/* forms */
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"], #contact-form textarea {
	-webkit-appearance: none;
}
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"], #contact-form textarea, #contact-form input[type="number"] {
	border-radius: 10px;
	-webkit-appearance: none;
	border-width: 1px;
}
#contact-form .nf-field-container {
	margin-bottom: 15px;
}
#contact-form .list-checkbox-wrap .nf-field-element li label {
	text-align: left;
}
#contact-form input[type=submit] {
	padding: 15px 30px;
}
#contact-form .nf-field-container .nf-element::placeholder {
    color: #fff;
}


/* insights / blog */
.single-post { 
	h2, h3, h4 {
		color: var(--global-color-11);
	}
}
.single-post img {
	margin-bottom: 20px;
	border-radius: 10px; 
}


/* shop */
.wc-block-components-button:not(.is-link), .woocommerce div.product form.cart .button {
	border-radius: 30px;
}
.single-product .variations .label {
	text-align: left;
}
.woocommerce div.product form.cart .variations {
    background: var(--contrast-2);
    padding: 10px;
	border-radius: 8px;
}
.woocommerce div.product form.cart .variations select {
	border-color: #999;
}
/* Dark Protectex background on WooCommerce pages */
body.woocommerce-page {
    background-color: var(--contrast);
    color: #fff;
}

/* Remove any light GeneratePress content backgrounds */
body.woocommerce-page #page,
body.woocommerce-page .site-content,
body.woocommerce-page .content-area,
body.woocommerce-page .site-main,
body.woocommerce-page .inside-article {
    background-color: transparent;
}

/* Main WooCommerce headings and text */
body.woocommerce-page .site-content,
body.woocommerce-page .site-content h1,
body.woocommerce-page .site-content h2,
body.woocommerce-page .site-content h3,
body.woocommerce-page .site-content h4,
body.woocommerce-page .site-content h5,
body.woocommerce-page .site-content h6,
body.woocommerce-page .site-content label,
body.woocommerce-page .site-content p {
    color: #fff;
}
body.woocommerce-page .site-content a {
	color: var(--global-color-11);
}


/* account */
.page-id-360 .inside-article h1  {
	display: none;
}
.woocommerce-MyAccount-content {
	font-size: 16px;
}
.order-status-message .status-icon, .order-status-message {
	border-radius: 10px;
	background-color: #fff;
}
.order-status-message {
	display: flex;
    align-items: center;
	padding: 10px
}
.page-id-360 .entry-content h2 {
	font-size: 28px;
}
@media (min-width: 1000px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 15%;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		width: 80%;
	}
}
@media (max-width: 999px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content {
		float: none:
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 30px;
	}
}
@media (max-width: 767px) {
	img.status-icon {
		width: 120px !important;
	}
}
.page-id-360 .woocommerce .woocommerce-customer-details address {
	border: none;
}
.page-id-360 .intro-text .gb-element-f15e2378 {
	grid-template-columns: 1fr;
}
.page-id-360 .intro-text h1 {
	text-align: center;
}
.woocommerce-orders-table__cell-order-actions a.button {
	margin-right: 5px; margin-bottom: 5px;
	display: inline-block;
	min-width: 90px;
	text-align: center;
}

/* wc forms */
.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url],.wc-blocks-components-select .wc-blocks-components-select__select {
	border-color: #d8d8d8;
}
.woocommerce-form.woocommerce-form-login.login {
	max-width: 680px; 
	background-color: var(--contrast-2);
	padding: 30px;
	border-radius: 10px;
	margin: 10px auto;
}
body:not(.logged-in).page-id-360 h2 {
	text-align: center;
	font-size: 35px;
}
body.woocommerce-edit-account .latest-order-query {
    display: none !important;
}
/* Box and pallet service: readable mobile variation controls. */
@media (max-width:767px) {
 body.postid-363.woocommerce div.product form.cart table.variations,
 body.postid-363.woocommerce div.product form.cart table.variations tbody,
 body.postid-363.woocommerce div.product form.cart table.variations tr,
 body.postid-363.woocommerce div.product form.cart table.variations th,
 body.postid-363.woocommerce div.product form.cart table.variations td { display:block; width:100%; box-sizing:border-box; }
 body.postid-363.woocommerce div.product form.cart table.variations tr { margin-bottom:16px; }
 body.postid-363.woocommerce div.product form.cart table.variations th { padding-bottom:6px; }
 body.postid-363.woocommerce div.product form.cart table.variations select { width:100%; max-width:100%; box-sizing:border-box; }
}

/* Preserve the intrinsic size of WooCommerce screen-reader messages. */
.woocommerce div.product form.cart > .screen-reader-text { width:1px !important; max-width:1px !important; min-width:0 !important; }

/* Rounded box and pallet product images, including zoom and variation images. */
body.postid-363 .woocommerce-product-gallery__image { border-radius:10px; overflow:hidden; }
body.postid-363 .woocommerce-product-gallery img { border-radius:10px; }


/* Innovative Pathways: native Cover video with a still-image fallback. */
.protectex-pathways-video.wp-block-cover {
  padding: 0;
  background: #002b28 url("https://dev.securetextiledestruction.co.uk/wp-content/uploads/2026/11/protectex-mdf-board-poster.jpg") center / cover no-repeat;
}
.protectex-pathways-video > .wp-block-cover__inner-container {
  width: 100%;
  max-width: none;
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .protectex-pathways-video > .wp-block-cover__video-background {
    display: none;
  }
}
