/**
 * Theme Name: Rotec Extra
 * Template:   Extra
 */

#main-header{
	background-color:	#FFFFFF;
}
#main-header::after {
    content: "";
    display: block;
    height: 10px; /* Adjust the thickness of the line */
    background-color: #4682b4; /* Adjust the color as needed */
    width: 100%; /* This makes the line stretch to the full container width */
}

.top-header {
	display: none;
}

#top-header {
	display: none;
}

.custom-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the start of the row */
    gap: 20px;
}

.custom-product {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid #eaeaea;
    padding: 15px;
    margin-bottom: 20px;
    width: calc(25% - 20px); /* Adjust width to ensure 4 products per row */
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.custom-product:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.custom-product a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 1;
    width: 100%;
}

.custom-product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.custom-product h2 {
    font-size: 1.2em;
    margin: 10px 0;
    flex-grow: 0;
}

.custom-price {
    color: #0071a1;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: auto; /* Push the price to the bottom */
    align-self: flex-start;
}

.custom-additional-info {
    font-size: 0.9em;
    color: #666;
    flex-grow: 1; /* Ensure the description grows to take available space */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 60px; /* Set a max height for the description */
}

@media (max-width: 1200px) {
    .custom-product {
        width: calc(33.333% - 20px); /* 3 products per row for medium screens */
    }
}

@media (max-width: 768px) {
    .custom-product {
        width: calc(50% - 20px); /* 2 products per row for small screens */
    }
}

@media (max-width: 480px) {
    .custom-product {
        width: 100%; /* 1 product per row for very small screens */
    }
}


.footer-custom-content {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 20px; /* Adjust as needed */
}

.footer-custom-column {
    width: 33%; /* Adjust if needed for your layout */
}

.footer-custom-column p {
    margin: 0 0 10px; /* Spacing between paragraphs */
    line-height: 1.6; /* Adjust for line height */
}


/* Container styling */
#filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#filter-form div {
    flex: 1 1 calc(33.333% - 40px);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#filter-form div label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#filter-form select, #filter-form input[type="range"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

#filter-form select:focus, #filter-form input[type="range"]:focus {
    border-color: #0073aa;
    outline: none;
}

#filter-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#filter-form button[type="submit"]:hover {
    background-color: #005f8a;
}

/* Adjust the flexbox layout for smaller screens */
@media (max-width: 768px) {
    #filter-form div {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    #filter-form div {
        flex: 1 1 100%;
    }
}

a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }


#payment-method-message {
    display: none;
}


.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background-color: #4682b4; /* Change to your desired shade of blue */
    color: white; /* White text */
    border: none; /* Remove border if needed */
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background-color: darkblue; /* Optional: Darker blue on hover */
}

#pagination-controls {
    display: flex;
    gap: 5px;
    justify-content: flex-start; /* Aligns the controls to the left */
    margin-top: 20px;
    padding-left: 10px; /* Optional: Add some padding if needed */
}


.page-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.page-button:hover {
    background-color: #0056b3;
}

.page-button.active {
    background-color: #0056b3;
    cursor: default;
}

.page-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#footer a {
    color: white !important; /* Ensure all links are white */
    text-decoration: none; /* Remove underline if necessary */
}

#footer a:visited {
    color: white !important; /* Ensure visited links stay white */
}

#footer a:hover {
    color: white; /* Maintain white color on hover */
}

.related .wc-gzd-additional-info.tax-info,
.related .wc-gzd-additional-info.shipping-costs-info {
    display: none !important;
}

/* Hide discount badges and regular prices in WooCommerce cart */
.wc-block-components-product-badge.wc-block-components-sale-badge,
.wc-block-components-product-price__regular {
    display: none !important;
}


.wc-block-components-radio-control{
    display: none !important;
}


.wc-block-components-product-metadata__description{
    display: none !important;
}

.wc-forward{
	background-color: rgb(252, 92, 5) !important;
	color: white !important;
}


@media only screen and (max-width: 768px) {
    .et-top-cart-total {
        display: none;
    }
}

.tagged_as{
	display: none;
}