/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

.et_overlay{
  background: transparent !important;
  border: 1px solid transparent !important;
}


.container {
    width: 90% !important;
  }
.et_pb_section{
  background-color: transparent;
}
h1{
  font-size: 40px;
  font-weight: 700 !important;
  letter-spacing: -2px !important;
}

.woocommerce ul.products li.product .woocommerce-placeholder{
  border:none;
}

#footer-bottom{
  margin-top: 30px;
}

h3{
	color: #003cd3;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active{
	background: #c59435 !important;
	color: #00307a !important;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a{
	border: none !important;
	background: #01256d !important;
}
.item-header > span{
	display:none;	
}
#paypal-form-fields-container-C2EURRJCBQKRS .input-label, #paypal-form-fields-container-C2EURRJCBQKRS textarea{
	position: absolute !important;
  left: -9999px !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
  height: 1px;
  width: 1px;	
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a, body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li.active a {
    color: #003cd3 !important;
}
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a, body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #003cd3 !important;
}
body.woocommerce div.product .woocommerce-tabs ul.tabs li a, body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li a{
	padding: 3px 13px !important;
	color: #000000 !important;
}

.stitchedfc-accordion-tabs {
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  background: none;
  color: #111;
  font-weight: bold;
  font-size: 1rem;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header[aria-expanded="true"] {
  background-color: #e2e4e8;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
}

.accordion-content.open {
  padding: 15px;
}

/* Hide the first  inside accordion content if it matches the title */
.accordion-content h2:first-of-type {
  display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color: #f22d1c;
    font-size: 16px !important;
    font-style: italic;
    display: block;
    font-weight: bold;
}

.stitchedfc-image-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 6px; /* adjust this if you want more or less spacing */
}

.stitchedfc-image-row > div {
  flex: 1 1 calc(33.333% - 4px); /* adjust based on gap */
  margin: 10px 0px;
  padding: 0;
}

.stitchedfc-image-row img {
  width: 100%;
  height: auto;
  display: block;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px; /* Small gap between thumbs */
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 19% !important; /* Allows 5 per row with spacing */
  margin: 0 !important; /* Remove default margin */
}

.woocommerce span.onsale, .woocommerce-page span.onsale{
	background: #f22d1c !important;
}

.product_meta > span {
  display: inline-block;
  margin-right: 5px;
  position: relative;
}

.product_meta > span:not(:last-child)::after {
  content: " |";
  margin-left: 5px;
  color: #999;
}




/* Grid item container */
.custom-product-grid ul.products li.product {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover animation */
.custom-product-grid ul.products li.product:hover {
  transform: none;
  box-shadow: none;
}


/* Overlay base */
.custom-product-grid ul.products li.product .hover-info {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 1em;
  background: #0f3189cf;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
  opacity: 0;
}

/* On hover: show overlay */
.custom-product-grid ul.products li.product:hover .hover-info {
  transform: translateY(0%);
  opacity: 1;
}

/* Hide default elements */
.custom-product-grid ul.products li.product .woocommerce-loop-product__title,
.custom-product-grid ul.products li.product .price,
.custom-product-grid ul.products li.product .button {
  display: none !important;
}

/* Force display of price/title/buttons in overlay */
.custom-product-grid ul.products li.product .hover-info .woocommerce-loop-product__title,
.custom-product-grid ul.products li.product .hover-info .price {
    display: block !important;
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
}

/* Buttons */
.custom-product-grid ul.products li.product .hover-info .button {
  display: inline-block !important;
  margin: 0.25em;
  padding: 0.4em 1.2em;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background-color: #000;
  color: white;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.custom-product-grid ul.products li.product .hover-info .button:hover {
  background-color: #ff4500;
}


.hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px 20px 10px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

ul.products li.product {
  position: relative;
}

ul.products li.product:hover .hover-info {
  opacity: 1;
}

.hover-info .button {
  margin: 0.25rem;
}

.et_pb_tabs{
  border: none;
}
.et_pb_tab_active a {
    color: #c09333 !important;
    background: #000000;
}
.et_pb_tab {
    padding: 15px 0 0 0;
}
.woocommerce ul.products li.product{
  margin: 0 1% 1% 0;
}
ul.et_pb_tabs_controls {
    background-color: transparent;
}
.et_pb_tabs_controls li a{
  color: #000000;
  border-right: 1px solid transparent !important;
}
.et_pb_tabs_controls li{
  border-right: none !important;
}
.et_pb_all_tabs {
    background-color: transparent;
}
ul.et_pb_tabs_controls:after{
  border-top: 0px solid #000000;
}
.et_pb_tabs_controls li:hover {
    background: #1a41d3;
    border: none;
} 
.woocommerce ul.products li.product .price{
  color: #c09333 !important;
}

.hidden-cart-item {
    display: none !important;
}
.woocommerce a.button:hover:after{
  display: none;
}

.price{
  padding-bottom: 0px !important;
}
.paypal-installment-message {
    display: flex;
    margin: 5px 0 10px 0;
    align-items: center;
    gap: 5px;
}

.wc-block-components-product-name{
  font-size: 20px !important;
    letter-spacing: 0px;
    color: #c59435 !important;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#top-header{
  display: none;
}

/* Make language switcher inline */
.lang-item {
  display: inline-block !important;
  margin-right: 10px; /* space between flags */
}

/* Optional: remove bullets if using <ul> */
.widget_polylang ul,
.polylang-lang-switcher ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-img-wrap {
  position: relative;
}

.product-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.product-img-wrap .hover-img {
  pointer-events: none;
}


.custom-vertical-footer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px;
  z-index: 1000;
  width: calc(100% - 40px);
}
.custom-vertical-footer a{
  font-size: 12px;
  color: #000;
}
.custom-vertical-footer a:hover{
  color: #c59435;
}
.menu-item-392, .menu-item-409, .menu-item-413{
  margin-bottom: 10px;
}

.vertical-footer-widget p{
  font-size: 15px;
  color: #012877;
  margin-top: 10px;
}

@media (max-width: 980px) {
  .custom-vertical-footer {
    display: none !important;
  }
}


/* Force Divi tabs to stay horizontal on mobile */
.et_pb_tabs_controls {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.et_pb_tabs_controls li {
  flex: 0 0 auto;
  white-space: nowrap;
  border: none !important;
}

/*Payment icons */

#footer-info{
  padding-bottom: 15px;
}
/* Align fully to the left */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-top: 8px;
  color: inherit;
  padding: 0;
}

/* Icon base styles */
.payment-icons .icon {
  display: inline-block;
  width: 45px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  border: 3px solid transparent;
}

/* Hover effect + tooltips are handled by `title` attribute */
.payment-icons .icon:hover {
  filter: brightness(1.1);
}


/* Individual backgrounds + colored borders */
.icon.paypal {
  background-image: url('https://stitched.es/wp-content/uploads/00_paypal.svg');
  border-color: #ffffff; /* PayPal blue */
  background-color: #ffffff;
}
.icon.bizum {
  background-image: url('https://stitched.es/wp-content/uploads/00_bizum.svg');
  border-color: #45c1c8; /* Teal-ish Bizum color */
  background-color: #45c1c8;
}
.icon.cash {
  background-image: url('https://stitched.es/wp-content/uploads/00_cash.svg');
  border-color: #193389; /* Soft green */
  background-color: #193389;
}
.icon.visa {
  background-image: url('https://stitched.es/wp-content/uploads/00_visa.svg');
  border-color: #193389; /* Visa navy */
  background-color: #193389;
}
.icon.mastercard {
  background-image: url('https://stitched.es/wp-content/uploads/00_mastercard.svg');
  border-color: #193389; /* Mastercard red */
  background-color: #193389;
}
.icon.amex {
  background-image: url('https://stitched.es/wp-content/uploads/00_amex.svg');
  border-color: #193389; /* AMEX blue */
  background-color: #193389;
}

/* Optional spacing from icons to text */
.payment-icons .footer-text {
  margin-left: 24px;
  font-size: 14px;
}


/* Menu on Mobile */

.mobile_menu_bar:before {
    content: "a";
    font-size: 50px;
    position: relative;
    left: 0;
    top: 16px;
    color: #000 !important;
    cursor: pointer;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
/*@media (max-width: 767px) {
  #logo {
    content: url("http://yourwebsite.com/mobile_logo.png");
  }
}*/
@media (max-width: 980px) {
    #logo {
        max-height: 75% !important;
    }
    #main-header{
      background-color: #003cd3;
    background-image: url(http://stitched.es/wp-content/uploads/2025/07/00-StitchedFC-Logo-02.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    }
}






