/*
Theme Name: oftex
Author: Mpieczonka
Description: oftex WordPress theme.
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme.
*/

html,
body {
    overflow-x: hidden ;
}

@media (min-width: 1025px) {

.hfe-nav-menu li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.hfe-nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background-color: #8C20AE;
    /* transform: translateX(-50%); */
    transition: width 0.3s ease;
}

.hfe-nav-menu li a:hover::after {
    width: 100%;
}

.hfe-nav-menu li.current-menu-item a::after,
.hfe-nav-menu li.current_page_item a::after {
    width: 100%;
}

}


/* Contact Form 7 – OFTEX style */

.wpcf7 form {
    max-width: 620px;
    font-family: "Lato", Sans-serif;
}

.wpcf7 label {
    font-size: 18px;
    font-weight: 500;
    color: #2b2b2b;
    display: block;
    margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
    transition: 0.2s ease;
    margin-top: 4px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #6a1b9a; /* OFTEX purple */
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

/* Checkbox */

.wpcf7 input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.wpcf7-list-item label {
    font-size: 15px;
    color: #000;
    display: flex;
    align-items: center;
}

/* Submit button */

.wpcf7 input[type="submit"] {
    background: #8C20AE;
    border: 2px solid #8C20AE !important;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #FFF;
    color: #8C20AE;
}

/* Validation messages */

.wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: -14px;
    margin-bottom: 12px;
}

.wpcf7-response-output {
    border-radius: 10px;
    font-size: 14px;
    padding: 10px;
}

.wpcf7-form-control.wpcf7-acceptance.optional .wpcf7-list-item {
    margin: 0 !important;
}


#breadcrumb a,
#breadcrumb {
    color: #FFF;
}

.oftex-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 16px;
    font-family: "Lato", Sans-serif;
}

.oftex-table tr {
    border-bottom: 1px solid #eee;
}

.oftex-table td {
    padding: 14px 18px;
}

.oftex-table td:first-child {
    text-align: left;
}

.oftex-table td:last-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    background: #8C20AE; /* Twój fiolet */
    border-radius: 0px;
    width: 180px;
}

#breadcrumb a {
    text-decoration: underline;
}
.oftex-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.oftex-breadcrumbs a {
    display: inline-flex;
    align-items: center;
}

.oftex-breadcrumbs a.home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.opinie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.opinia-box {
    padding: 50px;
    border-radius: 12px;
    background: #f7f7f7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.opinia-content {
    font-size: 19px;
    margin-bottom: 15px;
    Font-family: "Lato", Sans-serif;
}

.opinia-author {
    font-size: 20px !important;
    opacity: 0.7;
    color: #5E1675 !important;
    margin-top: 14px;
}

.opinia-rating {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1;
}

.eq-header.is-sticky {
	box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 0.14) !important;
}
.eq-header {
    width: 100%;
    transition: all 0.3s ease;
}

.eq-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


.oftex-breadcrumbs a.home::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;

    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'>\
        <path d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/>\
    </svg>");
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

