/**
Theme Name: Astra child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.grecaptcha-badge,
.wpcf7-spinner,
.wpcf7 form.sent .wpcf7-response-output {
    display: none
}
.grantex-text {margin-left:20px; line-height:20px;}
.pagination-bar {
    display: none !important;
}
.grantex-metrics-wrap {
    display: flex;
    align-items: center;
    gap: 16px; /* adjust to match your previous separator spacing */
}

.grantex-metrics-wrap .metric-item + .metric-item {
    border-left: 1px solid #ccc;
    padding-left: 16px;
}
a,
a:focus,
.ast-menu-toggle:focus {
    outline: none
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus {
    outline: none;
    border-style: none
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close:focus {
    outline: none;
    border: none;
}

/* 
 * Astra cutom styles
 * -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.ast-header-button-1 .ast-custom-button, .ast-header-sticked .ast-header-button-1 .ast-builder-button-wrap .ast-custom-button  {
	font-family: 'barlow';
    position: relative !important;
    background-color: #f7931e !important;
    color: #111 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%) !important;
    transition: background-color 0.3s ease !important;
	padding-left:20px !important;
	padding-right:26px !important;
	padding-top: 12px !important;
	padding-bottom: 14px !important;
	font-size:18px !important;
	border-radius: 5px 0 0 5px !important;
	min-height: 50px !important;
	display:flex;
	justify-content: center;
	align-items: center;
}

.ast-header-button-1 .ast-custom-button:hover {
    background-color: #e6861b;
}

.main-header-menu .menu-item>a {
    padding: 10px 20px !important;
}

.main-header-menu {
    li {
        span {
            color: var(--Grantex-Black, #222);
            font-size: 18px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            text-transform: uppercase;
			font-family: 'Barlow';
        }
    }
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    top: 70px;
}

.ast-builder-grid-row {
    display: flex;
    grid-template-columns: auto auto;
    align-items: center;
    grid-column-gap: 20px;
    overflow-wrap: anywhere;
    justify-content: space-between;
}

.main-header-menu .current-menu-item>a::before,
.main-header-menu .current-menu-item>a::after {
    opacity: 1;
    transform: translate(0, 0);
}


/* Products Mega Menu Container - Horizontal Layout */
#mega-menu-item-products .mega-sub-menu {
    display: flex !important;
    flex-direction: row !important;
    /* Changed from column to row */
    flex-wrap: nowrap !important;
    padding: 0 !important;
    width: 100% !important;
    justify-content: flex-start;
    gap: 0 !important;
    align-items: stretch;
}

/* Category Tab Items */
#mega-menu-item-products>.mega-sub-menu>li.mega-menu-item {
    display: flex !important;
    /* Changed from inline-block */
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
}

/* Category Tab Buttons Styling */
#mega-menu-item-products>.mega-sub-menu>li.mega-menu-item>a {
    padding: 15px 25px !important;
    margin: 0 !important;
    font-weight: 600;
    color: #fff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: block !important;
    text-transform: uppercase;
    font-size: 13px;
    white-space: nowrap;
    width: 100%;
}

/* Tab Colors */
.tab-orange>a {
    background-color: #FF6B35 !important;
}

.tab-red>a {
    background-color: #C1272D !important;
}

.tab-tan>a {
    background-color: #D4A574 !important;
    color: #333 !important;
}

.tab-blue>a {
    background-color: #0099CC !important;
}

.tab-gray>a {
    background-color: #5A5A5A !important;
}

.tab-orange-alt>a {
    background-color: #FF8C42 !important;
}

.category-tab>a {
    border-radius: 10px !important;
}

.text-dark>a {
    color: #222 !important;
}

.text-white>a {
    color: #fff !important;
}

/* Hover Effects on Tabs */
#mega-menu-item-products>.mega-sub-menu>li.mega-menu-item>a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Sub-items Container (shown below tabs) */
#mega-menu-item-products .mega-sub-menu .mega-sub-menu {
    display: block !important;
    padding: 20px 30px !important;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Individual Sub-items */
#mega-menu-item-products .mega-sub-menu .mega-sub-menu li a {
    padding: 10px 0 !important;
    color: #333 !important;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Arrow Icon Before Sub-items */
#mega-menu-item-products .mega-sub-menu .mega-sub-menu li a::before {
    content: '›';
    margin-right: 8px;
    color: #FF6B35;
    font-weight: bold;
    font-size: 18px;
}

/* Sub-item Hover */
#mega-menu-item-products .mega-sub-menu .mega-sub-menu li a:hover {
    padding-left: 10px !important;
    color: #FF6B35 !important;
}

/* Active Tab State */
.mega-menu-item:hover>a,
.mega-menu-item.mega-current-menu-item>a {
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.5);
}


.product-category-menus>ul>li>ul {
    display: flex !important;
}

.product-category-menus>ul>li>ul>li {
    width: auto !important;
}




/* Mega menu resources */

.resources-subitem a {
    display: flex !important;
    width: 200px !important;
    height: 66px !important;
    padding: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 10px !important;
    background: var(--Grantex-Orange, #F7941D) !important;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05) !important;
    color: #222 !important;
    font-family: Barlow;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.resources-subitem.align-left {
    display: flex !important;
    justify-content: flex-start !important;
}

.resources-subitem.align-right {
    display: flex !important;
    justify-content: flex-end !important;
}


/* Footer copyright text */
.footer-menu a {
    font-family: Barlow;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.ast-footer-copyright p {
    text-align: right;
    font-family: Barlow;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.secondary.menu-item a {
    color: var(--Grantex-Black, #222);
    /* Paragraph-small */
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.footer-menus-wrap {
    align-items: flex-start;
}

.footer-nav-menu {
    width: 100%;
}
.site-primary-footer-wrap {
	padding-left:20px !important;
	padding-right:20px !important;
}
:where(.wp-block-columns) {
    margin-bottom: 0 !important;
}
.footer-menus-wrap > *:nth-child(1) { 
    width:10.28%;
}

.footer-menus-wrap > *:nth-child(2) { 
    width:15.07%;
}

.footer-menus-wrap > *:nth-child(3) { 
    width:12.85%;
}

.footer-menus-wrap > *:nth-child(4) { 
    width:13.57%;
}

.footer-menus-wrap > *:nth-child(5) { 
    width:12.85%;
}

.footer-menus-wrap > *:nth-child(6) { 
    width:18%;
}
.wp-block-column.footer-nav-menu.is-layout-flow.wp-block-column-is-layout-flow {
    flex-basis: unset !important;
}
.site-footer-primary-section-1.site-footer-section.site-footer-section-1 {
    width: 100%;
}
.wp-block-column.footer-nav-menu.is-layout-flow.wp-block-column-is-layout-flow p{
    margin-block-start: 0;
}
.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex a{
    color: #222;
    align-self: stretch;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.37;
}
.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex  .underline.text{
    font-family: Barlow;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}
.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    gap:18px !important;
    margin-block-start: 30px;
}
.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex div{
    max-width:40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.wp-block-columns.back-to-top.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    gap: 10px !important;
}
.wp-block-column.bt-svg.is-layout-flow.wp-block-column-is-layout-flow {
	max-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.wp-block-column.bt-text.is-layout-flow.wp-block-column-is-layout-flow {
    display: flex;
    align-items: center;
}
.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row{
	max-width:1400px;
}
.wp-block-columns.footer-menus-wrap.is-layout-flex.wp-block-columns-is-layout-flex{
	gap:50px;
}
.wp-block-column.footer-nav-menu.back-to.is-layout-flow.wp-block-column-is-layout-flow{
	justify-content: space-between;
    display: flex;
    flex-direction: column;
	min-height:304px;
	min-width: 144px;
}
/* Footer menu titles */

.footer-nav-menu h2 {
    color: #DFAB6E;
    font-family: Barlow;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;

}

.contact-title {
    color: #DFAB6E;
    font-family: Barlow;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.footer-nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

}

footer .site-above-footer-wrap #block-37 h3 {
	font-size:30px !important;
}

.footer-nav-menu ul li a {
    color: #222;
    align-self: stretch;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.37;
}

/* Go to top button */

.to-top-svg-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.to-top-svg-round {
    position: absolute;
    width: 40px;
    height: 40px;
}

.to-top-svg-vector {
    top: 50%;
    right: 50%;
    position: absolute;
    transform: translate(50%, 20%)
}

/* News section*/
.news-section a {
    text-decoration: none !important;
}

/* ===============header styles =================== */
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center .ast-builder-menu-1 #mega-menu-wrap-primary #mega-menu-primary li a.mega-menu-link{
    font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: normal;
	font-family: 'Barlow';
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left .site-branding .site-logo-img{
    padding: 0;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row{
    gap: 0;
    justify-content: space-between;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left .ast-builder-layout-element{
    padding: 0px;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left{
    width: 100%;
	max-width:229px;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center .ast-header-button-1{
    padding: 0px !important;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-right-center .header-widget-area-inner{
    padding: 0;
}


header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{
	padding:60px;
	display:flex;
	justify-content:center;
	gap:30px;
	flex-wrap:wrap;
	min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
} 
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{
	padding:15px 0;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu{
	justify-content:center;
	gap:25px;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-columns-1-of-6{
	width:unset;
	padding:15px 0;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row#mega-menu-25-0 .mega-sub-menu li{
	padding:0 7.5px;
}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */


/* Grantex Hub styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow';
  background-color: #fafafa;
  color: var(--text);
  line-height: 1.5;
}

#shortcode-body.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0px;
}

h6.container-title {
    color: var(--Grantex-Black, #222);
text-align: center;

/* H6 - Barlow */
font-family: Barlow;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 30px; /* 150% */
border-bottom: 30px;
}

/* Header */
header {
  background: white;
}

.search-bar {
  display: flex;
  align-items: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.search-wrap p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--Grantex-Black, #222);
	font-family: Barlow;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.search-bar input {
  width: 100%;
  padding: 20px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

#resource-search {
    background: #F0F0F0;
    max-width: 800px;
    width: 100%;
    height: 60px;
    border-radius: 8px 0px 0px 8px;
}

.search-bar button {
  display: flex;
width: 60px;
justify-content: center;
align-items: center;
gap: 10px;
align-self: stretch;
border-radius: 0 8px 8px 0;
background: var(--Grantex-Black, #222);
padding: 0;
}

.search-bar button svg {
  width: 20px;
  height: 20px;
}

/* Filters */
.filters {
    margin: 40px 0;
  color: var(--Grantex-Black, #222);
text-align: center;
leading-trim: both;
text-edge: cap;

/* H5 */
font-family: Barlow;
font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 32px; /* 145.455% */
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap:30px;
}

.tabs > .tab {
    flex: 1;
	min-height: 60px;
	font-size: 18px;
	padding: 0;
	font-family: 'barlow';
}

.tab {
  padding: 15px 20px;
  color: #ADADAD;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: unset;
  text-transform: uppercase;
}

.tab:hover {
	background: #F0F0F0;
	color: #ADADAD;
}

.tab.active {
  background: #F0F0F0;
  color: #222;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-light);
}

/* Resource List */
.resource-list {
  background: white;
  border-radius: 8px 0;
  overflow: hidden;
      gap: 30px;
    display: flex
;
    flex-direction: column;
}

/* === UPDATED RESOURCE ITEM STYLES === */
.resource-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
  border-radius: 8px 0;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);
}

.resource-item:hover {
  background: #fafafa;
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.resource-icon svg {
  width: 40px;
  height: 40px;
  fill: #999;
}

.resource-title {
  color: var(--Grantex-Black, #222);
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

.download-btn {
  background: #F89521;
  color: white;
  border: none;
  padding: 0;
  width: 70px;
  height: 70px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.download-btn svg {
  width: 20px;
  height: 20px;
  fill: #222 !important;
  transition: transform 0.3s ease;
}

/* Default state - show only icon */
.download-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn span {
  display: none;
  color: var(--Grantex-Black, #222);
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

/* Hover state - expand and show text */
.resource-item:hover .download-btn {
  width: 170px;
  gap: 10px;
}

.resource-item:hover .download-btn svg {
  transform: translateY(2px);
}

.resource-item:hover .download-btn span {
  display: inline;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* === END UPDATED STYLES === */
/* Pagination Styles */
#pagination-wrapper {
    padding: 50px 0;
    background: #F0F0F0;
}

.pagination {
    max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
	padding: 0px 20px;
}

.pagination-btn {
    background: white;
  border: 1px solid #222;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #666;
  padding: 0;
}

.pagination-btn.next-btn {
    border-radius: 0px 10px;
}

.pagination-btn.prev-btn {
    border-radius: 10px 0px;
}

.pagination-btn svg {
  width: 20px;
  height: 20px;
}

.pagination-btn:hover {
    background: white;
    border-radius: 1px solid #222;
}

.page-numbers {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-number {
  color: var(--Grantex-Grey, #ADADAD);
text-align: center;
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

.page-number:hover:not(.active) {
  background: #fafafa;
  border-color: #E0E0E0;
}

.page-number.active {
  color: var(--Grantex-Black, #222);
text-align: center;
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

.page-numbers .dots {
  padding: 0 5px;
  color: #999;
  cursor: default;
}

.result-count {
	color: var(--Grantex-Grey, #ADADAD);
text-align: right;

/* Paragraph */
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 26px; /* 144.444% */
}

/* Resin aggregates cant find button */
.cant-find .elementor-widget-button a {
    background: #F7941D;
}

.cant-find:hover .elementor-widget-button a {
    background: #222!important;
}

.cant-find:hover .elementor-widget-button a:after {
    border-color: transparent transparent transparent #222!important;
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 1200px) {
	.tab {
        padding: 10px 15px;
    }
	.woocommerce-js  div.product  div.images .slick-track .wpgs_image img {
    
    height: 600px;
    object-fit: cover;
}
}

@media only screen and (min-width: 1450px) {

    /* .ast-builder-grid-row-5-equal .ast-builder-grid-row {
    grid-template-columns: 24% 15% 16% 17% 26%;
    grid-column-gap: 0px;
}*/
    .ast-container {
        max-width: 1440px;
    }

/*     .site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row, */
    .site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row,
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
        max-width: 1400px !important;
    }
	
	.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
		padding: 0;
	}
}

/* This is a special breakpoint for footer menus */
@media only screen and (max-width: 1450px) {
	header .custom-logo-link img{
		max-width:200px !important;
		width:100% !important;
	}
	header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center .ast-builder-menu-1 #mega-menu-wrap-primary #mega-menu-primary li a.mega-menu-link {
    font-size: 16px;
    padding: 10px 10px;
}
	.ast-header-button-1 .ast-custom-button {
    padding-left: 14px !important;
    padding-right: 20px !important;
    font-size: 16px;
}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-right-center .header-widget-area-inner #block-8 img{
	width:100% !important;
	max-width:120px;
	}
header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left {
    width: 100%;
    max-width: 200px;
}
}
@media only screen and (max-width: 1190px) {
	.ast-header-button-1 .ast-custom-button{
		margin-right:5px;
	}
	    header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-center .ast-builder-menu-1 #mega-menu-wrap-primary #mega-menu-primary li a.mega-menu-link {
        font-size: 14px;
        padding: 10px 5px;
    }
	.ast-header-button-1 .ast-custom-button {
        padding-left: 10px !important;
        padding-right: 15px !important;
        font-size: 14px;
    }
}
@media only screen and (max-width: 1200px) {

/*     .site-above-footer-wrap, */
    .site-primary-footer-wrap,
    .site-below-footer-wrap {
        padding-left: 20px;
        padding-right: 20px
    }
	.wp-block-columns.footer-menus-wrap.is-layout-flex.wp-block-columns-is-layout-flex{
	gap:40px 20px;
		display:flex !important;
}
}
@media only screen and (max-width: 1050px) {
	    header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-left {
			width: 100%;
			max-width: 170px;
		}
		header #ast-desktop-header .ast-main-header-wrap .ast-primary-header-bar .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-right-center .header-widget-area-inner #block-8 img {
				width: 100% !important;
				max-width: 100px;
			}
}
@media only screen and (max-width: 1024px) {
	
/* 	STICKY HEADER BUG FIX */
	header {
		top: 0 !important;
    	position: sticky !important;
	}
	div[data-stick-gutter="0"][data-stick-maxwidth="414"] {
		height: 0px !important;
	  	display: none !important;
	}
/* ============================ */

	.footer-nav-wrap ul{
		gap:14px !important;
	}
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu .menu-item {
        align-items: start;
    }
	#astra-footer-menu .menu-item > a {
        padding-left: 0px;
        padding-right: 0px;
    }
	.wp-block-column.bt-text.is-layout-flow.wp-block-column-is-layout-flow{
		flex-basis:50% !important;
	}
	.wp-block-column.footer-nav-menu.back-to.is-layout-flow.wp-block-column-is-layout-flow{
		min-height:250px;
	}
	.footer-menus-wrap > *:nth-child(1) { 
    	width:30%;
	}

.footer-menus-wrap > *:nth-child(2) { 
		width:30%;
	}

.footer-menus-wrap > *:nth-child(3) { 
		width:30%;
	}

.footer-menus-wrap > *:nth-child(4) { 	
		width:30%;
	}

.footer-menus-wrap > *:nth-child(5) {
		width:30%;
	}

.footer-menus-wrap > *:nth-child(6) { 
    	width:30%;
	}
	.wp-block-columns.footer-menus-wrap.is-layout-flex.wp-block-columns-is-layout-flex{
		flex-wrap:wrap !important;
	}
	header .custom-logo-link img {
		max-width:140px !important;
	}
	.wp-block-image img{
		width:100% !important;
		max-width:130px !important;
	}
	.main-header-menu .menu-item>a{
		padding:20px !important;
	}
	.main-header-menu {
    li {
        span {
            font-size: 26px;
        }
    }
}
/*     .nav-up {
        top: -120px !important;
    } */

/*     .site-above-footer-wrap, */
    .site-primary-footer-wrap,
    .site-below-footer-wrap {
        padding-left: 20px;
        padding-right: 20px
    }

    /* Off canvas menu */
    .level-1 a>span {
        color: white;
        text-transform: none;
    }

    .level-1 svg {
        fill: white !important;
    }

    .level-1 a {
        display: inline-flex !important;
        padding-right: unset !important;
        padding-left: unset !important;
        padding-top: unset !important;
        padding-bottom: unset !important;
    }

    #ast-mobile-header .ast-mobile-header-content {
        min-height: calc(100vh - 80px);
        height: 100%;
    }

    body.ast-main-header-nav-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* The + icon setup in mobile menu */
    .level-1 .ast-menu-toggle .ast-icon svg {
        display: none;
    }

    .level-1.mega-menu .ast-menu-toggle .ast-icon::after {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-left: 6px;
        background: center / contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M9.99609 0V20" stroke="%23F7941D"/><path d="M0 10.0059L20 10.0059" stroke="%23F7941D"/></svg>');
        vertical-align: middle;
    }
	
	.level-1.ast-submenu-expanded > button .ast-icon::after {
		background: center / contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M0 10.0059L20 10.0059" stroke="%23F7941D"/></svg>') !important;
	}

	.level-2.ast-submenu-expanded > button .ast-icon::after {
		background: center / contain no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M0 10.0059L20 10.0059" stroke="%23F7941D"/></svg>') !important;
	}

	.level-3 {
		margin-left: 20px !important;
	}

    .category-tab {
        background: transparent !important;
    }

    #mega-menu-item-products .tab-orange>a,
    .category-tab.tab-orange>a {
        background-color: transparent !important;
    }

    #mega-menu-item-products .tab-red>a,
    .category-tab.tab-red>a {
        background-color: transparent !important;
    }

    #mega-menu-item-products .tab-tan>a,
    .category-tab.tab-tan>a {
        background-color: transparent !important;
    }

    #mega-menu-item-products .tab-blue>a,
    .category-tab.tab-blue>a {
        background-color: transparent !important;
    }

    #mega-menu-item-products .tab-gray>a,
    .category-tab.tab-gray>a {
        background-color: transparent !important;
    }

    #mega-menu-item-products .tab-orange-alt>a,
    .category-tab.tab-orange-alt>a {
        background-color: transparent !important;
    }
	
	.category-tab a{
		border-bottom: unset !important;
	}

	.level-1 .ast-menu-toggle {
		height: 25px;
	}
	
	.resources-subitem a {
		width: unset !important;
		height: unset !important;
		justify-content: flex-start !important;
		border-radius: unset !important;
		background: transparent !important;
		box-shadow: unset
		 !important;
		 font-family: unset;
	}
	
	.newsletter-wrapper .subscribe-container{
		flex-direction: column;
		gap: 20px !important;
	}
	
	.newsletter-title-message p {
		display: none;
	}
}


@media(max-width: 991px) {
    .tabs {
        margin-bottom: 30px;
        gap: 10px;
    }
    .tab{
        padding: 10px;
    }
    
    .filters {
        margin: 30px 0;
    }
}

@media only screen and (max-width: 767px) {
	.footer-nav-wrap ul li a{
		font-size:14px !important;
	}
	.ast-builder-layout-element.ast-flex.site-footer-focus-item.ast-footer-copyright p{
		text-align:left;
		font-size:14px;
	}
	.ast-builder-footer-grid-columns.site-below-footer-inner-wrap.ast-builder-grid-row{
		flex-direction:column;
		align-items:start;
	}
	.wp-block-columns.footer-menus-wrap.is-layout-flex.wp-block-columns-is-layout-flex {
		gap: 40px 20px;
		justify-content:space-between;
	}	
	.wp-block-column.footer-nav-menu.back-to.is-layout-flow.wp-block-column-is-layout-flow {
        min-height: 368px;
    }
	.wp-block-columns .wp-block-column:not(:last-child) {
        margin-bottom: 0px;
    }
	.footer-menus-wrap > *:nth-child(1) { 
    	width:45%;
	}

.footer-menus-wrap > *:nth-child(2) { 
		width:45%;
	}

.footer-menus-wrap > *:nth-child(3) { 
		width:45%;
	}

.footer-menus-wrap > *:nth-child(4) { 	
		width:45%;
	}

.footer-menus-wrap > *:nth-child(5) {
		width:45%;
	}

.footer-menus-wrap > *:nth-child(6) { 
    	width:45%;
	}
    .footer-menus-wrap {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }
	 .pagination {
    gap: 10px;
  }
  
  .pagination-btn,
  .page-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .page-numbers {
    gap: 5px;
  }
	
	 .tabs {
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(3, 1fr);
    }
    
     .tab{
        padding: 10px 15px;
    }

	footer .site-above-footer-wrap #block-37 h3 {
		font-size:26px !important;
	}
}
@media only screen and (max-width: 575px) {
	.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    gap: 10px !important;
    margin-block-start: 30px;
	}
	.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
/*     position: absolute;
    width: 300px;
    left: 0; */
}
	.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex div {
    max-width: 60px;
    height: 60px;
}
	.social-icons.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex div svg{
    width: 54px;
    height: 54px;
}
	.wp-block-column.footer-nav-menu.back-to.first.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:39.13%;
	}
	.wp-block-column.footer-nav-menu.second.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:52.71%;
	}
	.wp-block-column.footer-nav-menu.third.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:48.26%;
	}
	.wp-block-column.footer-nav-menu.fourth.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:43.47%;
	}
	.wp-block-column.footer-nav-menu.fifth.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:41.84%;
	}
	.wp-block-column.footer-nav-menu.sixth.is-layout-flow.wp-block-column-is-layout-flow{
		max-width:50%;
	}
		header .custom-logo-link img {
		max-width:123px !important;
	}
	.wp-block-image img{
		width:100% !important;
		max-width:177px !important;
	}
	.ast-logo-title-inline .site-logo-img {
		padding-right:0px !important;
	}
}
@media(max-width: 576px) {
    .tab {
        padding: 10px;
    }
	footer .site-above-footer-wrap .ast-builder-grid-row-container-inner .ast-builder-footer-grid-columns .site-footer-above-section-1{
		margin-bottom:0px !important;
	} 
}
@media only screen and (max-width: 480px) {
    .footer-menus-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Category Badges */
.grx-cat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.grx-badge {
  display: inline-block;
  padding:   10px 20px 10px 20px;
  border-radius: 8px;
  background: var(--badge-bg, #f1f1f1);
  color: var(--badge-text, #111);
	font-family: "Barlow", Sans-serif;
  font-size: 14px;
  line-height: 18px;
	font-weight: 700;
  text-decoration: none;
	text-transform:uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}
.grx-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
	color: var(--badge-text, #111);
}
