a {
background-color: transparent;
text-decoration: none;
color: #F01E00;
}
a:hover, a:active {
color: #F01E00;
text-decoration: none !important;
}
a,
a:visited {
text-decoration: none;
}
li {
list-style-type: none;
} select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M4.8 7.7l-2.9-3-1.2 1.2 4 4 4-4-1.2-1.2-2.9 3z"/></svg>');
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 12px 12px;
padding-right: 30px;
}
select {
background-color: white;
border: 1px solid #ededeb;
padding: 10px;
border-radius: 5px;
font-size: 16px;
color: #333;
cursor: pointer;
width: 200px;
box-sizing: border-box;
}
select:hover {
background-color: #f9f9f9;
}
h2 {
font-size: 1.3rem;
}
h3 {
font-size: 1.25rem;
}
.main-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.sidebar {
width: 300px;
display: flex;
flex-direction: column;
padding: 15px;
border: 1px solid #ededeb;
border-radius: 10px;
padding-right: 20px;
align-items: center;
background-color: #ededeb;
}
.product-categories-filter,
.brands-filter {
margin-bottom: 20px;
} .products-container {
display: flex;
flex-wrap: wrap;
flex: 1;
margin-left: 10px;
} .product {
margin: 5px;
padding: 10px;
border-radius: 0px;
border: none;
box-sizing: border-box;
flex: 1 1 30%;
} .product-categories {
list-style: none;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
border: 1px solid #ccc;
}
.product-category {
margin-bottom: 10px;
}
.product-category a {
color: #f01e00;
text-decoration: none;
font-weight: bold;
}
.product-category a:hover {
color: black;
} .sub-categories {
list-style: none;
padding: 0;
margin-left: 20px;
}
.subcategory {
margin-bottom: 5px;
}
.subcategory a {
color: #f01e00;
text-decoration: none;
}
.subcategory a:hover {
color: black;
} .product .title {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
} .product .price {
font-size: 16px;
color: #888;
margin-bottom: 10px;
} .product .add-to-cart-btn {
background-color: #F01E00;
color: white;
padding: 10px 20px;
border: 1px solid #F01E00;
cursor: pointer;
border-radius: 4px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 10px;
}
.product .add-to-cart-btn:hover {
background-color: #fff;
border: 1px solid #F01E00;
color: #F01E00;
}
.category-banners {
background-color: #f9f9f9;
padding: 40px 0;
text-align: center;
}
.category-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
}
.category-banner {
width: 15%;
margin: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: transform 0.2s;
overflow: hidden;
}
.category-banner:hover {
transform: scale(1.05);
}
.category-banner img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 0px;
}
.category-banner h3 {
font-size: 18px;
margin: 15px 0;
color: #333;
} .brands-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.brand {
width: 48%;
margin-bottom: 20px;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
border: 1px solid #ccc;
text-align: center;
}
.brand h3 {
margin-bottom: 10px;
color: #f01e00;
}
.brand img {
max-width: 100%;
height: auto;
} .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
color: #000;
} .custom-related-spare-parts {
margin-top: 30px;
display: flex;
flex-wrap: wrap;
gap: 20px; }
.custom-related-spare-parts h2 {
font-size: 1.5em;
margin-bottom: 20px;
width: 100%;
}
.spare-part {
width: calc(25% - 20px);
margin-bottom: 40px;
display: flex;
flex-direction: column;
}
.spare-part-image {
margin-bottom: 20px;
}
.spare-part-image img {
max-width: 100%;
height: auto;
}
.spare-part-details {
flex-grow: 1;
}
.spare-part-details h3 {
font-size: 1.2em;
margin-bottom: 10px;
}
.spare-part-details p {
margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.woocommerce-loop-product__title {
color: #000 !important;
}
.product .price {
margin: 10px 0px !important;
} .specifikace-tab {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.specifikace-tab th {
background-color: #f1f1f1; color: #333;
padding: 10px;
text-align: left;
}
.specifikace-tab td {
padding: 10px;
border: 1px solid #ddd;
}
.specifikace-tab tbody tr:hover {
background-color: #f9f9f9;
}
.specifikace-tab tbody tr:nth-child(even) {
background-color: #f9f9f9;
} .woocommerce div.product form.cart .button {
background-color: #F01E00;
color: #fff !important;
border-color: #F01E00;
} .woocommerce div.product form.cart .button:hover {
background-color: #DC1700;
border-color: #DC1700;
}
.woocommerce div.product form.cart {
margin-bottom: 2em;
display: flex;
}
.button {
display: inline-block;
padding: 10px 20px !important;
background-color: #fff;
border: 1px solid #F01E00;
color: #fff;
text-decoration: none !important;
border-radius: 5px !important;
transition: background-color 0.3s;
}
[type=submit], [type=button] {
border: 1px solid #F01E00 !important;
color: #F01E00 !important;
}
[type=submit]:hover, [type=button]:hover {
background-color: #F01E00 !important;
color: #fff !important;
}
.button:hover {
background-color: #F01E00;
color: #fff;
}
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt {
background-color: #F01E00;
color: #fff;
}
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover {
background-color: #000;
color: #fff;
} .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
margin: 10px;
}
.products-main {
display: flex;
padding: 30px 20px;
} .quote-popup, .modal {
display: none;
position: fixed;
z-index: 999; left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.quote-popup-content, .modal-content {
background-color: #fefefe;
color: #000;
border-radius: 5px;
padding: 20px;
width: 80%; max-width: 600px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.quote-popup-close, .close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
position: absolute;
top: 0px;
right: 20px;
}
.quote-popup-close:hover, .quote-popup-close:focus, .close:hover, .close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.quote-form label {
display: block;
margin-bottom: 10px;
}
.quote-form input[type="text"], .quote-form input[type="email"], .quote-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #000;
border-radius: 5px;
}
.quote-form textarea {
height: 100px;
}
.quote-submit-btn {
background-color: #000;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.quote-submit-btn:hover {
background-color: #333;
}
#quote-form textarea {
height: 200px; }
.spare-part {
width: calc(25% - 20px); margin-bottom: 40px;
display: flex;
flex-direction: column;
}
.custom-icons-container {
display: flex;
justify-content: space-around;
align-items: center;
margin: 50px 30px 50px 30px;
width: 100%;
}
.custom-icon {
flex: 1;
text-align: center;
}
.custom-icon i {
font-size: 40px;
color: #333;
margin-bottom: 10px;
}
.custom-icon p {
font-size: 14px;
color: #555;
margin-top: 5px;
}
.custom-icon img {
max-width: 250px;
height: auto;
}
.custom-icon svg {
width: 48px;
height: 48px;
margin-right: 8px;
vertical-align: middle;
}  .product-categories-sidebar {
width: 250px;
background-color: #f9f9f9;
padding: 15px;
border: 1px solid #ddd;
}
.accordion {
list-style: none;
padding: 0;
margin: 0;
}
.accordion-item {
margin-bottom: 10px;
}
.accordion-toggle {
display: block;
padding: 10px;
background-color: #e6e6e6;
text-decoration: none;
color: #333;
font-weight: bold;
border: 1px solid #ccc;
cursor: pointer;
position: relative;
}
.accordion-toggle .arrow {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
}
.accordion-toggle.active .arrow {
transform: translateY(-50%) rotate(180deg);
}
.accordion-submenu, .accordion-sub-submenu {
list-style: none;
padding-left: 0px;
display: none;
}
.accordion-submenu-item {
padding: 5px 0;
}
.accordion-submenu-toggle {
text-decoration: none;
color: #666;
padding: 5px 0;
display: block;
cursor: pointer;
}
.accordion-item.active .accordion-submenu {
display: block;
}
.accordion-sub-submenu-item {
padding: 5px 0;
}
.no-subcategory {
padding-left: 10px;
color: #666;
cursor: default;
}
.no-subcategory.category-item {
display: block;
cursor: pointer ;
}
a.no-subcategory.category-item {
color: #000;
}
a.no-subcategory.category-item:hover {
color: #fff !important;
}
.category-item {
color: black;
padding: 10px;
text-decoration: none;
}
.category-item.selected {
background-color: #F01E00;
color: white !important;
border-radius: 0px;
}
.category-item:hover {
background-color: #F01E00;
color: white;
}
@media (max-width: 1200px) {
.category-banner {
flex: 0 1 calc(20% - 20px);
}
}
@media (max-width: 992px) {
.category-banner {
flex: 0 1 calc(25% - 20px);
}
}
@media (max-width: 768px) {
.category-banner {
flex: 0 1 calc(33.33% - 20px);
}
.main-container {
flex-direction: column;
}
.sidebar {
width: 100%;
margin-bottom: 20px;
}
.products-container {
justify-content: flex-start;
}
.product {
flex: 1 1 calc(33.33% - 20px) !important;
min-width: 300px;
}
.spare-part {
width: 100%;
}
.custom-icons-container {
flex-direction: column;
}
.custom-icon {
margin-bottom: 10px;
}
.specifikace-tab {
display: block;
overflow-x: auto;
white-space: nowrap;
}
.specifikace-tab thead {
display: none;
}
.specifikace-tab tbody tr {
display: block;
margin-bottom: 10px;
width: 100%;
}
.specifikace-tab td {
display: block;
padding: 10px;
border: none;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.specifikace-tab td:nth-child(1) {
font-weight: bold;
border-bottom: 1px solid #ddd;
}
.specifikace-tab td:nth-child(2) {
text-align: right;
border-bottom: 1px solid #ddd;
}
}
@media (max-width: 576px) {
.category-banner {
flex: 0 1 calc(50% - 20px);
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.products-container {
justify-content: center;
}
.product {
flex: 1 1 calc(50% - 20px);
}
}
@media only screen and (max-width: 479px) {
.product {
flex: 1 1 calc(100% - 20px);
}
}
@media (max-width: 400px) {
.category-banner {
flex: 0 1 100%;
}
}