/**
* Theme Name: Ignavo Child
* Description: This is a child theme of Ignavo, generated by Merlin WP.
* Author: Piratas
* Template: ignavo
* Version: 1.0.3
*/

/*
 * 2. Independent AMG Wide Logo Badge
 * ----------------------------------------------------------------
 */
.amg-badge {
  /* Badge styling */
  display: inline-block;
  width: 100px; /* Set the width of the logo */
  height: 15px; /* Set the height of the logo */
  
  /* SVG Icon */
  background-image: url("data:image/svg+xml,%3Csvg aria-label='AMG' viewBox='-0.107 0 159.65 15.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M.433 15.409c-.376 0-.54-.36-.36-.69L10.965.614c.26-.335.633-.612 1.01-.612h12.778c.507 0 .69.413.3.917L14.567 14.497c-.387.506-.937.912-1.444.912H.433m16.357 0c-.377 0-.537-.36-.36-.69L27.32.614c.26-.335.635-.612 1.01-.612h5.833c.505 0 .689.413.299.917L23.976 14.497c-.393.506-.938.912-1.443.912zm9.956 0c-.38 0-.541-.36-.36-.69L37.276.614c.256-.335.632-.612 1.01-.612h4.349c.506 0 .69.413.3.917L32.448 14.497c-.387.506-.937.912-1.437.912zm11.954 0c.506 0 1.052-.406 1.437-.912L50.627.919c.389-.504.205-.917-.3-.917h-2.98c-.374 0-.75.277-1.005.612L35.446 14.719c-.176.33-.01.69.365.69zm7.318 0c.5 0 1.05-.406 1.438-.912L57.945.919c.387-.504.203-.917-.303-.917h-2.094c-.376 0-.75.277-1.005.612L43.647 14.719c-.176.33-.01.69.36.69zm10.283 0h-5.04c-.376 0-.54-.36-.363-.69L61.792.614c.255-.335.629-.612 1.008-.612h23.42c.63 0 1.02.523 1.02 1.153v13.339a.918.918 0 0 1-.914.915h-3.9a.92.92 0 0 1-.915-.915v-1.936c0-.543-.05-.758-.595-.758H60.412c-.38 0-.646.272-.915.598l-.06.08-1.561 2.022c-.394.507-.938.913-1.443.913H56.3zM66.413 3.893c-.25 0-.483.186-.658.41L63.35 7.415c-.173.225-.06.409.197.409h17.369c.549 0 .592-.212.595-.755v-2.16c0-.739.02-1.016-.595-1.016zm43.964 6.847c-.428.268-.731.537-1.231.537h-3.875c-.5 0-.805-.269-1.231-.537l-7.462-4.722c-.425-.268-.777-.08-.777.425v8.051a.915.915 0 0 1-.915.915h-3.903a.917.917 0 0 1-.915-.915V.918c0-.503.413-.915.915-.915h4.18c.5 0 .8.219 1.227.49l10.179 6.592c.422.27.843.27 1.266 0L118.014.497c.426-.272.728-.49 1.231-.49h4.177c.5 0 .91.412.91.915v13.576c0 .505-.41.915-.91.915h-3.9a.92.92 0 0 1-.92-.915V6.447c0-.505-.346-.693-.772-.425l-7.428 4.705-.02.01m49.16-3.754a.918.918 0 0 0-.915-.913H143.59a.92.92 0 0 0-.915.913V8.27c0 .504.415.938.915.938h9.454c.633 0 .602.277.602 1.015v.157c0 .733.03.894-.594.894h-19.248a.911.911 0 0 1-.909-.915V4.793c0-.501.404-.914.909-.914h24.823c.503 0 .915-.41.915-.912V.915a.92.92 0 0 0-.915-.915H128.08a.918.918 0 0 0-.913.915v13.577c0 .505.41.915.913.915h30.547c.503 0 .915-.41.915-.915V6.827'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain; /* This will fit the logo perfectly */
  background-position: center;
  
  /* You can change the color of the logo here */
  color: #000000;
}

.color-code-badge {
	font-family: monospace;
	font-size: 0.9em;
	background-color: #d6e3bf;
	color: #121212;
	padding: 3px 6px;
	border: 1px solid #000;
	border-radius: 3px;
}

.quality-code-badge {
	font-family: monospace;
	font-size: 0.9em;
	background-color: #68892a; 
	color: #ffffff; 
	padding: 2px 6px; 
	border: 1px solid #000;
	border-radius: 3px;
}

.klb-flexslider-thumbnail.horizontal .flex-control-nav {
    margin-bottom: 15px;
}

/*** Breadcrumb ***/
.woocommerce-breadcrumb {
	padding-top: 0.075rem;
    margin-bottom: 0.075rem;
}

.woocommerce-breadcrumb ul li::after {
	content: "";
    background-image: url(https://mbparts.top/wp-content/uploads/2025/11/chevron-small-grey.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 12px;
	color: var(--breadcrumb-color);
    width: 12px;
    height: 12px;
    display: inline-block;
	margin-inline: 0.075rem;
    vertical-align: middle;
    padding: 0 2px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);	
}

.product {
    --product-name-font-size-lg: 1.1rem;
    --product-name-font-size-xs: 1.0rem;
    --product-name-font-weight: 700;
}

.products .product-title {
    min-height: 1.0rem;
}

.product .product-title a {
	color: #3e3f43;
}

.products .product span.klb-product-brands {
    text-transform: none;
}

.single-product-wrapper .product .product-header {
	border-bottom: 1px solid rgb(var(--colors-gray-400));
	margin-bottom: 0.1rem;
}

a {
    text-decoration: none;
    color: rgb(var(--colors-primary-background));
}

body .klb-product-accordion-tab .woocommerce-Tabs-panel {
    background-color: #F9FFF8;
    padding: 25px;
}

/*** Hide flashing request form in single products loading ***/
.site-request-quote-holder {
	opacity:0;
	visibility: hidden;
}

.site-request-quote-holder.active {
    opacity: 1;
    visibility: visible;
}



/* Remove 'Stacking Context' traps from the product columns */
.product-detail-column, 
.product-body, 
.product-detail-inner,
.single-product-wrapper {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    perspective: none !important;
    /* Reset z-index to allow children to escape if possible */
    z-index: auto !important; 
}

/* Force the Popup Wrapper to the absolute top */
.site-request-quote-holder {
    z-index: 99999999 !important;
}

/* ************************* */
/*       MOBILE              */
/* ************************* */

/* Show the mobile product header on mobile/tablet (screens 991px and below) */
@media (max-width: 991px) {
	/* hide sorting on mobile */
	.sorting-wrapper .sorting-products {
	display: none;
	}
	.single-product-wrapper .product .single-product-tabs-wrapper .woocommerce-product-attributes tbody tr th {
    min-width: 7.5rem;
	}
}

/* 
 * Alternative breakpoint options - uncomment the one you prefer:
 */

/* Option 2: Show on screens 768px and below (tablet portrait and mobile) */
/*
@media (max-width: 768px) {
    .mobile-product-header {
        display: block;
    }
}
*/

/* Option 3: Show on screens 576px and below (mobile only) */
/*
@media (max-width: 576px) {
    .mobile-product-header {
        display: block;
    }
}
*/