/*
 Theme Name: Woostify Child
 Theme URI: https://woostify.com/
 Description: Woostify WordPress theme example child theme.
 Author: Woostify
 Author URI: https://woostify.com/
 Template: woostify
 Version: 2.4.4
*/
@media (min-width: 992px) {
  .woostify-nav-menu-widget .sidebar-menu-bottom {
    display: block;
  }
/*   .woostify-container, .site-boxed-container #view, .site-content-boxed-container .site-content {
    max-width: 1430px !important;
  } */
}

@media (min-width: 1025px) {
  .woostify-nav-menu-widget .sidebar-menu-bottom {
    display: none;
  }
}
.page-header .entry-title {
	font-size: 50px;
	font-weight: bold;
}
.woostify-breadcrumb .item-bread {
	font-size: 14px;
}

/* Technical Details Table Styling */
.woocommerce-product-attributes {
    border-collapse: collapse;
    width: 100%;
    margin-top: 15px;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
}

.woocommerce-product-attributes th {
    background-color: #2b3682; /* Cantrex Blue */
    color: #fff;
    width: 30%;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
}

.woocommerce-product-attributes td {
    color: #333;
    font-size: 13px;
}

.woocommerce-Tabs-panel--additional_information h2 {
    display: none; /* hide duplicate title above the table */
}

.woocommerce-product-details__short-description {
	padding: 20px 0;
}
.woocs_price_code {
	color: #2b3682;
	font-weight: bold;
}
/* Align WooCommerce variation clear button properly */
.single-product .reset_variations {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  margin-left: 0px;
  padding: 6px 12px;
  border: 1px solid #2b3682;
  border-radius: 4px;
  font-size: 14px;
  color: #2b3682;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  top: 10px; /* moves it slightly up to align with dropdowns */
}

.single-product .reset_variations:hover {
  background: #f5f5f5;
  color: #000;
  border-color: #999;
}

/* --- TECHNICAL DETAILS TABLE --- */
/* ===== Cantrex - Technical Details Section ===== */
.cantrex-tech-details {
  margin-top: 40px;
}
.cantrex-heading {
  background: #0b2c67;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 15px;
  margin-bottom: 0;
  border-radius: 2px 2px 0 0;
}
.cantrex-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cantrex-table th,
.cantrex-table td {
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  text-align: left;
  font-size: 15px;
}
.cantrex-table th {
  width: 35%;
  background: #f8f9fa;
  font-weight: 600;
}
.cantrex-note {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  padding-left: 5px;
}
.cantrex-description {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
/* Hide Add to Cart overlay on image */
.loop-add-to-cart-on-image {
    display: none !important;
}

/* Keep quickview + wishlist visible */
.loop-add-to-cart-on-image .woostify-quick-view-btn,
.loop-add-to-cart-on-image .yith-wcwl-add-to-wishlist {
    display: inline-block !important;
}
.no-transform .animated-meta .tinv-wraper.tinv-wishlist {
	display: none;
}
.woocommerce ul.products li.product:not(.product-category) .add_to_cart_button,
.woocommerce ul.products li.product:not(.product-category) .added_to_cart {
	margin-right: 10px;
}
.quick-view-with-icon {
	background-color: #2b3682;
}
.quick-view-with-icon .woostify-svg-icon {
	color: #fff;
}
.product-loop-image-wrapper .tinv-wraper .tinvwl_add_to_wishlist_button {
	background-color: #2b3682;
	color: #fff;
}

/* Category Content Style */
/* ATTRIBUTES GRID */
.cantrex-attributes {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.cantrex-attr-row {
    display: flex;
    column-gap: 40px;
    margin-bottom: 4px;
}

.cantrex-attr-row .attr-item {
    min-width: 120px;
}
.product-loop-wrapper .cantrex-short-desc {
	display: none;
}
.product-loop-meta.no-transform {
	display: none;
}

.button .woostify-svg-icon {
	margin-right: 6px !important;
}

/* Keep topbar visible before scroll */
.woostify-header-template-builder-inner:not(.active) .elementor-element-adf3487 {
    display: flex !important;
}

/* Hide topbar after sticky becomes active */
.woostify-header-template-builder-inner.active .elementor-element-adf3487 {
    display: none !important;
}
.woostify-header-template-builder,
.woostify-header-template-builder-inner,
.woostify-header-template-builder-inner.active {
    position: relative;
    z-index: 999999 !important;
}

/* Add soft shadow to sticky header */
.woostify-header-template-builder-inner.active {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	z-index: 999999 !important;
}
/* Hide Woostify slider arrows on mobile */
@media (max-width: 767px) {
    .tns-controls {
        display: none !important;
    }

    .tns-controls button,
    .tns-controls [data-controls="prev"],
    .tns-controls [data-controls="next"] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* =========================================
   Cantrex MVV - Split Background Section
========================================= */

.cantrex-mvv-wrap {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(to right, #111b3d 0%, #111b3d 50%, #f3f3f3 50%, #f3f3f3 100%);
}

/* Left half image */
.cantrex-mvv-wrap::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    background:
        linear-gradient(rgba(15, 30, 70, 0.76), rgba(15, 30, 70, 0.76)),
        url("PASTE-YOUR-FACTORY-IMAGE-URL-HERE");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Right half solid background */
.cantrex-mvv-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #f3f3f3;
    z-index: 1;
}

/* Inner boxed content */
.cantrex-mvv-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* Left content area */
.cantrex-mvv-left {
    width: 38%;
    min-height: 650px;
    padding: 60px 35px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}


/* Blue angled strip on left block */
.cantrex-mvv-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -75px;
    width: 160px;
    height: 100%;
    background: #283682;
    transform: skewX(-12deg);
    z-index: 1;
}

.cantrex-mvv-left > * {
    position: relative;
    z-index: 2;
}

/* Right content area */
.cantrex-mvv-right {
    width: 62%;
    padding: 20px 0 20px 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

/* Left typography */
.cantrex-mvv-label .elementor-heading-title {
    color: rgba(255,255,255,0.55) !important;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.cantrex-mvv-title .elementor-heading-title {
    color: #ffffff !important;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
}

.cantrex-mvv-desc,
.cantrex-mvv-desc p {
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1.75;
}

/* Cards */
.cantrex-mvv-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #ffffff;
    padding: 32px 36px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.cantrex-mvv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.11);
}
.cantrex-mvv-card .elementor-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #283682;
    color: #ffffff;
    font-size: 24px;
}

.cantrex-mvv-card .elementor-heading-title {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}
.cantrex-mvv-card .elementor-widget-text-editor,
.cantrex-mvv-card .elementor-widget-text-editor p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #555555;
}

.cantrex-mvv-card ul {
    margin: 0;
    padding-left: 20px;
}

.cantrex-mvv-card ul li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.65;
    color: #555555;
}

.cantrex-mvv-card.is-highlighted {
    border-left: 5px solid #283682;
}


/* Tablet */
@media (max-width: 1024px) {
    .cantrex-mvv-wrap {
        padding: 60px 20px;
        background: #f3f3f3;
    }

    .cantrex-mvv-wrap::before,
    .cantrex-mvv-wrap::after {
        display: none;
    }

    .cantrex-mvv-inner {
        flex-direction: column;
    }

    .cantrex-mvv-left,
    .cantrex-mvv-right {
        width: 100%;
    }

    .cantrex-mvv-left {
        min-height: 500px;
        background:
            linear-gradient(rgba(15, 30, 70, 0.72), rgba(15, 30, 70, 0.72)),
            url("PASTE-YOUR-FACTORY-IMAGE-URL-HERE");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .cantrex-mvv-left::after {
        display: none;
    }

    .cantrex-mvv-right {
        padding: 30px 0 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cantrex-mvv-wrap {
        padding: 45px 15px;
    }

    .cantrex-mvv-left {
        min-height: 430px;
        padding: 40px 22px;
    }

    .cantrex-mvv-title .elementor-heading-title {
        font-size: 34px;
    }

    .cantrex-mvv-label .elementor-heading-title,
    .cantrex-mvv-label {
        font-size: 20px;
    }

    .cantrex-mvv-card {
        flex-direction: column;
        padding: 24px 20px;
    }

    .cantrex-mvv-card .elementor-heading-title {
        font-size: 24px;
    }

    .cantrex-mvv-card .elementor-widget-text-editor,
    .cantrex-mvv-card .elementor-widget-text-editor p,
    .cantrex-mvv-card ul li {
        font-size: 15px;
    }
}