/*
 Theme Name:   Techex Child
 Theme URI:    https://rrdevs.net/demos/wp/techex
 Description:  Child theme for Techex
 Author:       rrdevs
 Author URI:   https://rrdevs.net
 Template:     techex
 Version:      1.0.0
 Text Domain:  techex-child
*/

/* Import parent theme styles */
@import url("../techex/style.css");

.cf7-live-error {
  display: block;
  color: #e63946;
  font-size: 13px;
  margin-top: 4px;
}
input.wpcf7-not-valid, textarea.wpcf7-not-valid {
  border-color: #e63946 !important;
}
/* ///////////////////////////////////////////////// */
/* services-detail-page-dynamic-sidebar */
.sidebar {
    width: auto;
    height: 850px;
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 20px;
}

.sidebar::-webkit-scrollbar {
    width: 3px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c94a4a;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #b03838;
}

.category {
    margin-bottom: 25px;
}

.category-header {
    font-family: 'Circular Std', 'Arial', sans-serif;
    background: linear-gradient(135deg, #d64444 0%, #c94a4a 100%);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.category-header:hover {
    background: linear-gradient(135deg, #c94a4a 0%, #b03838 100%);
}

.toggle-arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    transition: transform .3s;
}

.toggle-arrow.collapsed {
    transform: rotate(-90deg);
}

.products {
    max-height: 500px;
    overflow: hidden;
    transition: max-height .3s;
}

.products.hidden {
    max-height: 0;
}

.product-item {
    font-family: 'Circular Std', 'Arial', sans-serif;
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    background: #fff;
    border-left: 3px solid #6b6b6b;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
}

.product-item:hover {
    background: #f0f0f0;
    border-left-color: #d64444;
    transform: translateX(5px);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .1);
    color: #d64444;
}

.product-item::before {
    content: '➜';
    color: #d64444;
    font-weight: bold;
    margin-right: 8px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: bold;
    color: #d64444;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d64444;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.rr-addons-breadcrumbs li:has(a[href*="/category/uncategorized"]) {
    display: none !important;
}

.rr-addons-breadcrumbs li:has(a[href*="/category/uncategorized"])
+ .rr-addons-breadcrumbs-separator {
    display: none !important;
}