/* 
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 4.2
*/

:root {
  --fs-color-primary:   #4E657B !important;
}
.button, input, .has-border, div.paypal-button.paypal-button-shape-pill{
  border-radius: 5px !important;
}
.button-continue-shopping:hover{
  color: #070707 !important;
  border-color: #070707 !important;
}
header#header {
    background: #000000;
}
@media screen and (max-width: 767px) {
body.translatepress-es_MX .product-main .row.content-row {
  flex-direction: column-reverse !important;
}
}
/* Header Fonts */
.nav-uppercase > li > a {
  font-weight: 500 !important;
  font-size: 0.9em !important;
}

@media only screen and (max-width: 480px) {
  .woocommerce-product-gallery__wrapper  {
  width: 290px;
  height: 290px;
  margin: 0 auto;
}
  
  .nav-uppercase > li > a {
    font-size: 1em !important;
  }
}

/* Search Bar Width */
.header-nav li.html {
  width: 70%;
}

/* Search Results */
.shag-asp-term-link {
  font-weight: 700;
  color: #0067A2;
}

.asp_group_header {
  border-bottom: 2px solid #D5D5D5 !important;
  margin-bottom: 2px !important;
}

/* Responsive YT Player */
.youtube-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 1080px;
  min-height: 140px;
  min-width: 140px;
}

/* Fix for FAQ header */
.has-child > button.toggle {
  margin-left: -10px;
}

/* Small cap font */
.small-caps {
  font-variant: small-caps;
  color: white;
}

/* Sticky header border */
.header-shadow .header-wrapper,
.header-wrapper.stuck,
.layout-shadow #wrapper {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.20);
}

/* Top Bar */
#top-div2 {
width:100%;
padding:12px;
text-align: center;
margin:0 auto;;
  background: RGB(0, 58, 211);
background: linear-gradient(170deg,rgba(0, 58, 211, 1) 0%, rgba(98, 137, 245, 1) 49%, rgba(0, 58, 211, 1) 100%);

}


#top-bar {
  /*color: #333;*/
background: RGB(0, 58, 211);
background: linear-gradient(170deg,rgba(0, 58, 211, 1) 0%, rgba(98, 137, 245, 1) 49%, rgba(0, 58, 211, 1) 100%);
}

/* Social icons */
#top-bar .header-social-icons a {
  color: rgba(85, 85, 85, 0.6);
}

h6.trademark-disclaimer {
  margin-bottom: 3em;
}

/* Hide page element at breakpoint */
.shipping-warning {
  font-size: 1.1em;
  background-color: #ffeedd;
  padding: 10px;
  border-radius: 5px;
  margin: 0 auto;
  margin-bottom: 15px;
  max-width: 70%;
}

.shipping-warning ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-top: 1em;
}

table.variations label {
  white-space: normal !important;
  max-width: 210px;
  min-width: 120px;
}

span.sku_wrapper {
  font-size: 140%;
}

span.sku {
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 2px;
}

@media (max-width: 1400px) {
  .hide-at-breakpoint {
    display: none;
  }
}

.mfp-content {
  min-width: 275px;
}

/* Brands page */
.page-id-139844 {
  .header {
    display: none !important;
  }
  button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
}

.brand-url {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.brand-container {
  border: 1px solid grey;
  padding: 1em !important;
  margin: 2em 0em !important;
}


.one_page_checkout_page label[for="payment_method_stripe"] img {
  width: 30px;
}

.one_page_checkout_page label[for="stripe-cvc-element"] {
  line-height: 1;
  margin-bottom: 0;
}

@media only screen and (max-width: 480px) {
  #beacon-container {
    display: none !important;
  }
  .probox {
    margin: 1em;
  }
}

.woocommerce-loop-category__title mark.count {
  background: none;
  font-size: 0.8em;
  color: #000;
  opacity: 0.4;
  letter-spacing: 1px;
}

.accordion-title.active {
  color: black !important;
}

/* Hide Ajax Search Pro results on page load */
div.ajax_searchpro .probox {
    display: none !important;
}

.algolia-autocomplete .aa-dropdown-menu {
  position: fixed !important;
  z-index: 99999 !important;
}

div#product-sidebar, .nf-form-hp {
  display: none;
}

.woocommerce-breadcrumb {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}

.product-info.summary.col-fit.col.entry-summary.product-summary > .breadcrumbs {
  display: none;
}

h1.product-title.product_title.entry-title {
  margin-top: 0rem;
}

nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
  font-family: 'Oswald', Arial, sans-serif;
}

/*Import the Google Fonts (Oswald & Source Sans 3) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;800&Source+Sans+3:wght@400;500;600;700&display=swap&display=swap');



/*Headings & Titles: use Oswald */
h1, h2, h3, h4, h5, h6,
.product-title, 
.page-title,
.entry-title,
.ux-box-title,
.section-title,
div.title-wrapper h2,
div.title-wrapper h3,
.product-category .header-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600; 
  text-transform: uppercase;   
}

h1,
div.title-wrapper h1 {
  font-weight: 700;
  font-size: 1.5rem;
}
h1.header-title{
		font-size: 2em;
}
.product-title{
		font-size: 1.2em;
}
.product-title, li.mini_cart_item a {
		font-weight: 500;
		text-transform: none;
}
body {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Category box styling in Flatsome */
.product-category .box-text.text-center  {
	background-color: #f5f5f5;
	transition: color 0.2s ease;
}

/* Adjust header titles for main product categories */
.product-category .header-title {
  font-weight: 500; 
	color: #000;
  transition: color 0.2s ease;
}
.product-category:hover .header-title{
		color: #0067a2;	
}
.category-header{
		background-color: #070707;
		padding: 0 .5em;
		border-bottom: 4px solid #0067a2;
		height: 42px;
		display: flex;
		align-items: center;
}
.category-header h2 {
    margin-top: .5em;
}
.category-header h2 a{
		color: white;	
}
.box-text.text-center h5 span{
		background-color: white;
		font-size: 1.2em !important
}
.subcategory-row h5 span{
		font-weight: 500;
		
}
.subcategory-row .box-text{
		display: table;
}
.box-text.text-center{
		background-color: white !important;
}
.row.product-categories{
		margin-bottom: 2em;
}
h1.hero-header{
	font-size: 3.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
		color: #fff !important;
}
p.hero-text{
	font-size: 1.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
a.hero-button {
	 
	padding: .5em 1em;
  text-transform: uppercase;
	
  background-color: white !important;
  color: #070707 !important;
  border-radius: 5px !important;  
  /* border: 1px solid #070707 !important; */
} 
a.hero-button:hover{
	background-color: var(--fs-color-secondary) !important;
	color: white !important;
 /*  border: 1px solid white !important; */
}
.mega-menu {
	display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.mega-menu h4 {
	margin-bottom: .15em;
}
.mega-menu ul {
	list-style: none;
}
.mega-menu ul li a {
	color: dimgray;
}
.mega-menu .col.mega-menu-col {
		padding-bottom: 0px;
}

.mega-category-link {
  font-family: 'Source Sans 3', sans-serif;
  color: dimgray;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.mega-category-link:hover, .mega-menu ul li a:hover, p a  {
  color: #0067a2 /*brand blue*/
}
a.woocommerce-loop-product__link {
		color: var(--fs-experimental-link-color) !important;
}

.mega-menu-footer{
		background-color: yellow;
		height: 2em;
}

/*fix filter checkbox check*/
.divi_checkbox_class_item input[type=checkbox]:checked:before{
  top: 4px !important;
}

/*mini-cart*/
.woocommerce-mini-cart-item {
		font-family: 'Oswald';
}

.post-author, .entry-author, .author, .byline, div#order_review > b {
    display: none;
}

.widget_shopping_cart_content a{
		font-weight: 600;
		font-size: .9em;
}
.about_paypal, .wc-amazon-payments-advanced-populated{
		display: none;
}
.woocommerce-shipping-fields h3{
			font-family: 'Source Sans 3' !important;
		font-weight: 700;
}
.wc-stripe_cc-container .wc-stripe-save-source .save-source-label{
    margin: 0 0 0 15px;
}

.wc-stripe-card-icons-container, .wc-stripe-paymentRequest-icons-container, .payment_method_yith-paypal-ec img{
		filter: saturate(0);
}
#ship-to-different-address label{
		font-weight: 500;
}

ul.nav-left>li>a.nav-top-link {
		font-weight: bold;
		color: white !important;
                font-size: 1.05em !important;
}
.absolute-footer.dark.medium-text-center.text-center {
    display: none;
}
.more-link.button.primary{
		color: #070707 !important;
		background-color: #FFFFFF !important;
		border: 1px solid #070707 !important;
		border-radius: 5px;
		line-height: 3em;
}

/* Footer */
.footer-column ul.menu.vertical li {
  margin-bottom: 2px;
  line-height: 1.2;
}

input#woocommerce-product-search-field-0 {
    border-radius: 5px;
}
button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    display: none;
}
.aa-dropdown-menu {
  width: 600px !important; /* Change to your desired width */
  max-width: 90vw;
  z-index: 9999;
}
.algolia-autocomplete {
  width: 600px !important;
}
.nf-form-fields-required {
    display: none;
}
input#nf-field-120 {
    color: black;
    border-radius: 5px;
    background: white;
    font-size: 13px;
}
input#nf-field-119 {
    border-radius: 5px;
    background: none;
    border-color: white;
		border: 2px solid white;
    width: 90%;
}

a.button.homepage-cta-btn{
		color: var(--fs-color-primary) !important;
    border: 2px solid var(--fs-color-primary) !important;
    background-color: white !important; 
}
a.button.homepage-cta-btn:hover{
		color: #070707 !important;
    border-color: #070707 !important;
    background-color: white !important;
    box-shadow: none !important;
}
.button, input  {
		border-radius: 5px;
}
form.customize-unpreviewable, form.customize-unpreviewable input, form.customize-unpreviewable select, form.customize-unpreviewable button, a.customize-unpreviewable, area.customize-unpreviewable {
		cursor: default !important;
}
table.variations select {
		cursor: pointer !important;
}
.stuck .header-main .nav > li > a {
    line-height: 21px !important;
}
.header-wrapper:not(.stuck) .header-main .header-nav {
    margin-top: 0px !important;
}
.stuck .header-main .nav > li#menu-item-146839 > a {
    line-height: 20px !important;
}
.box-text.box-text-products.flex-row.align-top.grid-style-3.flex-wrap {
    display: flex;
}

.grid-style-3 .title-wrapper {
    min-width: 100%;
}

span.price {
    font-size: 1rem;
}
div#paypal-button {
    margin-top: 10px;
}
p.category.uppercase.is-smaller.no-text-overflow.product-cat.op-7 {
    display: none;
}
.stuck .header-main .nav > li#menu-item-166861 > a {
    line-height: 20px !important;
}
.woocommerce-mini-cart__buttons.buttons > a:first-child {
    color: var(--fs-color-primary) !important;
    border-color: var(--fs-color-primary) !important;
    background-color: white !important;
    box-shadow: none !important;
    border: 1px solid var(--fs-color-primary) !important;
}
.woocommerce-mini-cart__buttons.buttons > a:first-child:hover {
  color: #070707 !important;
  border-color: #070707 !important;
  background-color: white !important;
}
/*mega menu fix*/
.nav>li>a.nav-top-link {
     padding: 30px 0 !important; 
}

@media screen and (max-width: 992px) {
aside#woocommerce_product_categories-2 {
    display: none !important;
}
}
body.archive.search.search-results .product-title {
    font-size: 1.1em;
}
body.archive.search.search-results .box-image {
    padding: 1rem;
}
ul.product_list_widget li .quantity {
		opacity: 1;
		
}
p.woocommerce-mini-cart__total {
		color: #111 !important;
}
a.button-continue-shopping 
{
		background-color: white !important;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  font-family: 'Source Sans 3', Arial, sans-serif;
}
#ship-to-different-address label {
  font-weight: 400;
  text-transform: none;
  font-size: 14.4px !important;
}
.category-filtering.category-filter-row.show-for-medium {
  display: none;
}

/*GForm footer */
/* Styling for button 4 */
#gform_submit_button_4 {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

#gform_submit_button_4:hover {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  cursor: pointer;
}

/* Gravity Forms inputs */
#input_4_1,
#gform_fields_4 textarea {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

#gform_fields_4 input::placeholder,
#gform_fields_4 textarea::placeholder {
  color: #ccc !important;
}

#gform_fields_4 input:focus,
#gform_fields_4 textarea:focus {
  outline: 1px solid #fff !important;
  outline-offset: 2px;
}
#gform_4 .gform-footer.gform_footer.top_label {
  margin-top: 0px !important;
}
/*Admin User Profile */
    
      tr.user-admin-color-wrap,
      tr.user-comment-shortcuts-wrap,
      tr.show-admin-bar.user-admin-bar-front-wrap,
      tr.user-language-wrap,
      tr.user-rich-editing-wrap,     
      tr.yoast-settings{ 
        display: none !important; }

      /* Optional: tame leftover spacing from hidden sections */
      .wrap > h2 + form .form-table { margin-top: 0; }

/* //////////////////////////////////////////////////
 Product titles */     
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');

body,
button,
input,
select,
textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
}

/* Product titles with Source Sans Pro font and truncation */
.product-small .product-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45; /* Slightly increased for Source Sans Pro */
  color: #1a1a1a;
  position: relative;
  
  /* Truncation */
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 65px;
}

/* Product title links */
.product-small .product-title a {
  font-family: 'Source Sans 3', sans-serif;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-small .product-title a:hover {
  color: #0066cc;
}

/* Category label with Source Sans Pro */
.product-small .category {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px; 
  text-transform: uppercase;
  color: #666;
  opacity: 1;
}

.product-small .price .amount {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 19px; 
  font-weight: 600;
  color: #1a1a1a;
}

.product-small .price .woocommerce-Price-currencySymbol {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.product-small .box-text {
  font-family: 'Source Sans 3', sans-serif;
  padding: 12px;
}

.product-small .title-wrapper {
  margin-bottom: auto;
}

.product-small .price-wrapper {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

/* Hover effect for product cards */
.product-small.has-hover:hover .box {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* CSS-only tooltip for full title on hover */
.product-small .product-title:hover::before {
  content: attr(data-full-title);
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  z-index: 9999;
  margin-bottom: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  max-width: 320px;
  word-wrap: break-word;
}

/* Arrow for tooltip */
.product-small .product-title:hover::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 20px;
  margin-bottom: 0;
  border: 6px solid transparent;
  border-top-color: #2c3e50;
  z-index: 9999;
}

/* Responsive adjustments for Source Sans Pro */
@media (max-width: 768px) {
  .product-small .product-title {
    font-size: 14px;
    min-height: 60px;
  }
  
  .product-small .price .amount {
    font-size: 17px;
  }
  
  .product-small .category {
    font-size: 10px;
    letter-spacing: 0.4px;
  }
}

/* Optional: Add subtle text shadow for better readability */
.product-small .product-title a {
  text-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.05);
}

/* Custom tooltip styling */
.product-small .product-title {
  position: relative;
}

/* Custom tooltip that appears on hover */
.product-small .product-title:hover::before {
  content: attr(data-full-title);
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #333;
  color: white;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  z-index: 9999;
  margin-bottom: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  word-wrap: break-word;
  pointer-events: none;
}

/* Arrow pointing down from tooltip */
.product-small .product-title:hover::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 20px;
  margin-bottom: 0;
  border: 6px solid transparent;
  border-top-color: #333;
  z-index: 9999;
  pointer-events: none;
}

/*Body text: use Source Sans 3 */
body,
button,
input,
select,
textarea,
.term-description p {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-weight: 400;
}
/* //////////////////////////////////////////////////
 END Product titles 
  //////////////////////////////////////////////////*/  