.woo-cat-sidebar-viewer {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 10px;
    font-family: Tahoma, sans-serif;
    min-height: 400px;
}

.sidebar-producto {
    width: 25%;
    background-color: #000;
    color: #FF5C00;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 700px;
}

.product-detail {
    width: 75%;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
	min-height: 810px;
}

@media screen and (max-width: 768px) {
    .woo-cat-sidebar-viewer {
        flex-direction: column;
    }

    .sidebar-producto,
    .product-detail {
        width: 100%;
    }

    .product-detail {
        border-left: none;
        border-top: 1px solid #ccc;
    }
}

.category-title {
    cursor: pointer;
    font-weight: bold;
    margin: 5px 0;
    padding: 6px 8px;
    border-left: 5px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

.category-title .toggle {
    float: right;
    font-weight: bold;
    color: #FF5C00;
}

.category-title.active {
    border-left: 5px solid #FF5C00;
}

.product-list {
    display: none;
    padding-left: 15px;
    
    margin-left: 10px;
}

.product-item {
    cursor: pointer;
    padding: 4px 8px;
    margin: 3px 0;
    border-left: 5px solid transparent;
    color: #FF5C00;
    position: relative;
    font-size: 16px;
    list-style: none;
}

.product-item.active {
    border-left: 5px solid #FF5C00;
    border: 1px solid #FF5C00;
    background-color: rgba(255, 92, 0, 0.1);
    color: #FF5C00;
    border-left: 5px solid #ff5c00;
}

.product-title h2{
    font-size: 18px;
    margin-bottom: 15px;
	color:#FF5C00;
	font-weight: 900;
	
}
.product-title .wc-comming-soon{
	font-size: 52px;
	color:#FF5C00;
	font-weight: 900;
	margin-left: 150px;
	margin-right: 150px;
}
.product-gallery img {
    margin: 5px;
    display: inline-block;
}

.loader-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #FF5C00;
    border-radius: 50%;
    border-top: 2px solid #000;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-description {
    font-size: 16px;
	color:#FF5C00;
}

.category-children {
    margin-left: 15px;
    display: none;
}
.category-list{
    list-style: none;
}
@media screen and (max-width: 600px) {
    .woo-cat-sidebar-viewer {
        flex-direction: column;
    }

    .sidebar-producto,
    .product-detail {
        width: 100%;
    }

    .product-detail {
        border-left: none;
        border-top: 1px solid #ccc;
    }
	product-title .wc-comming-soon{
		margin-left: 0;
		margin-right: 0;
	}
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .woo-cat-sidebar-viewer {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-producto {
        width: 40%;
    }

    .product-detail {
        width: 60%;
        border-left: none;
        border-top: none;
    }
}
.product-gallery img.selected {
    border: 2px solid #ff5c00;
    box-sizing: border-box;
}
.woo-cat-container{
	    width: auto;
        max-width: 100%;
}

.product-pdf-download a:hover{
     color:#fff !important;
}

.product-short-description {
    color: #FF5C00;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
}

@media screen and (min-width: 1980px) and (max-width: 3999px) {
	.sidebar-producto {
		width: 13%;
	}
	.product-detail {
		width: 87%;
	}
	.product-title h2 {
		font-size: 36px;
	}
}

@media screen and (min-width: 4000px) and (max-width: 9999px) {
	.sidebar-producto {
		width: 5%;
	}
	.product-detail {
		width: 95%;
	}
	.product-title h2 {
		font-size: 36px;
	}
}

@media screen and (min-width: 200px) and (max-width: 770px) { 
	.product-title{
		display:block;
	}

}
@media screen and (min-width: 1080px) and (max-width: 9999px) { 
	.product-title{
		display:flex;
	}
	.product-title .wc-comming-soon{
		margin-left: 20vw;
		margin-right: 20vh;
	}
	
}
@media screen and (min-width: 1300px) and (max-width: 9999px) { 
	.x-trains-image-cat{
			margin-left: 10vw !important;
	}
	.product-title .wc-comming-soon{
		margin-left: 30vw;
		margin-right: 20vh;
	}
}
.x-trains-question-mark{
   font-size: 720px;
    font-weight: 600;
    color: #ff5c00;
    background-color: #fff;
    text-align: center;
    margin-top: -400px;
}

@media screen and ( max-width: 799px) { 
	.x-trains-question-mark{
	    font-size: 240px;
		font-weight: 600;
		color: #ff5c00;
		background-color: transparent;
		text-align: center;
		margin-top: 0;
	}
	.product-detail {
		    min-height: auto !important;
	}
}

/************

cart **/


#wcxt-cart-icon-wrapper {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
}
/*
#wcxt-floating-cart-icon {
    background-color: #ff5c00;
    color: #fff;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.wcxt-cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #ff5c00;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}*/

#wcxt-floating-cart-icon {
	position: fixed;
    top: 40%;
    right: -30px; 
    width: 120px;
    height: 44px;
    background-color: #ff5c00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    transition: right 0.3s ease;
}

/* When page loads, add .active to trigger animation */
#wcxt-floating-cart-icon.active {
    transform: translateX(0);
    opacity: 1;
}

#wcxt-floating-cart-icon i {
    font-size: 20px;
}
#wcxt-floating-cart-icon:hover {
    right: 8px; /* slides in on hover */
}
.wcxt-cart-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #fff;
    color: #ff5c00;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
}

#wcxt-cart-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 370px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
#wcxt-cart-slider.visible {
    transform: translateX(0);
}
.wcxt-cart-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
}
.wcxt-close-cart {
    cursor: pointer;
    font-size: 22px;
    color: #aaa;
}
.wcxt-cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}
.wcxt-cart-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.wcxt-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.wcxt-cart-details {
    flex: 1;
}
.wcxt-cart-details strong {
    display: block;
    margin-bottom: 5px;
}
.wcxt-cart-price {
    color: #ff5c00;
    font-weight: bold;
}
.wcxt-qty-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}
.wcxt-qty-controls button {
    background: #ff5c00;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
}
.wcxt-qty-controls input {
    width: 35px;
    text-align: center;
    border: 1px solid #ccc;
    height: 28px;
}
.wcxt-remove-item {
    cursor: pointer;
    color: #888;
    font-size: 20px;
}
.wcxt-cart-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
}
.wcxt-cart-subtotal {
    font-size: 16px;
    margin-bottom: 15px;
}
.wcxt-checkout-btn {
    background: #ff5c00;
    color: #fff;
    padding: 10px 15px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    text-decoration: none;
}
.wcxt-continue-btn {
    text-align: center;
    display: block;
    color: #333;
    font-size: 14px;
}
.wcxt-message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 2001;
    opacity: 0.95;
}
.wcxt-message-box.success {
    background: #28a745;
}
.wcxt-message-box.error {
    background: #dc3545;
}
/* Container overlay inside slider */
#wcxt-cart-slider .wcxt-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* light-dark overlay */
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner inside the overlay */
#wcxt-cart-slider .wcxt-loader::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 4px solid #fff;
    border-top-color: #ff5c00;
    border-radius: 50%;
    animation: wcxt-spin 0.6s linear infinite;
}
@keyframes wcxt-spin {
    to { transform: rotate(360deg); }
}
.wcxt-empty-msg {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #777;
}


.lang-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.spinner-lang {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top: 4px solid #ff5c00;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.x-trains-product-image-section img{
	  width: 100%;
      height: auto;
      max-height: 680px;
      object-fit: cover;
      display: block;
      margin: 0 auto;
}
.woocommerce-request-quote {
	margin-top: 14px;
}
.woocommerce-request-quote .req-quote-btn {
	padding: 12px;
	background-color: red;
    color: white;
    font-weight: 300;
}

#quote-pop-up {
    display: none; /* Hide the modal initially */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 9999; /* Ensure the modal appears above other content */
    display: none; /* Keep it hidden initially */
    justify-content: center;
    align-items: center;
    /* Flexbox to center the content */
}

.popup-content {
    background: white;
    width: 80%; /* Adjust the width of the modal (you can customize this) */
    max-width: 600px; /* Set a maximum width for the modal */
    margin: auto;
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.close-btn {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-btn:hover {
    background-color: #cc0000;
}
@media (min-width: 1080px) {
  .category-help {
    max-width: 600px !important;
    height: auto !important;
    margin-left: 150px !important;
    margin-top: 400px !important;
  }
}
