/*

Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto

Author: P-THEMES

Author URI: https://www.portotheme.com/

Description: Porto Responsive WordPress + eCommerce Theme.

Version: 1.1

Template: porto

License: Commercial

License URI: http://themeforest.net/licenses/regular_extended

Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready

*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* footer mobile nimrod 2025.09.23 */
@media (max-width: 767px) {
  .elementor-element.elementor-element-00fb8f0.elementor-widget.elementor-widget-porto_social_icons {
    display: flex;
    justify-content: center;
  }
}
/* .mega-menu.menu-hover-line>li.menu-item:hover>a:before {
    background-color: #7bcc31 !important;
} */
.service-type:hover {
  background-color: #7bcc31 !important;
}
.custom-dots-style-1 .owl-dots .owl-dot:hover span,
.custom-dots-style-1 .owl-dots .owl-dot.active span {
  background: var(--porto-secondary-color) !important;
}
#side-nav-panel {
  background: var(--porto-primary-color) !important;
}

/* home page module szekcio house 2025.10.06 */
ul.module-home-containers {
  list-style: none;
  padding: 0px;
  text-align: left;
  padding-left: 10px;
}
/* .home-containers-container:hover{
   box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
} */

@media (max-width: 768px) {
  .container-model-subdiv > .e-child {
    flex: 1 1 42%; /* két elem egy sorban */
  }
}

/* homepage nimrod 2025.10.24 page-wrapper */
.page-wrapper-rsl {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

/* contact form contact page nimrod 2025.10.24 */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-grid .row {
  display: flex;
  gap: 20px;
}

/* Név és Email mezők azonos magasságúak, egy sorban */
.contact-form-grid .row label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #212529;
  font-size: 1rem;
}

.contact-form-grid label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #212529;
  font-size: 1rem;
}

.contact-form-grid input,
.contact-form-grid textarea {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Mesaj teljes szélesség */
.contact-form-grid textarea {
  resize: vertical;
}

/* Submit gomb teljes szélességű */
.contact-form-grid [type="submit"] {
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Mobilra minden mező teljes szélességű */
@media (max-width: 768px) {
  .contact-form-grid .row {
    flex-direction: column;
  }
}

/* contact form acceptance nimrod 2025.10.27 */
.wpcf7-form-control.wpcf7-acceptance label {
  display: flex;
  flex-direction: row;
}
.wpcf7-form-control.wpcf7-acceptance input {
  width: auto !important;
}

/* configurator form nimrod 2025.11.04 */
.configurator-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.configurator-steps .row {
  display: flex;
  gap: 20px;
}

/* Név és Email mezők azonos magasságúak, egy sorban */
.configurator-steps .row label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #212529;
  font-size: 1rem;
  padding-top: 15px;
}

.configurator-steps input,
.configurator-steps textarea {
  padding: 10px;
  border: 1px solid #7bcc31;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Mesaj teljes szélesség */
.configurator-steps textarea {
  resize: vertical;
}

/* Submit gomb teljes szélességű */
.configurator-steps [type="submit"] {
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Mobilra minden mező teljes szélességű */
@media (max-width: 768px) {
  .configurator-steps .row {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- Configurator table --- */
.configurator-form-grid .configurator-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: center;
}

.configurator-form-grid .configurator-table th,
.configurator-form-grid .configurator-table td {
  border: 1px solid #ebebeb;
  padding: 10px;
  vertical-align: top;
  color: #212529;
}

.configurator-form-grid .configurator-table thead th {
  background: #f6f6f6;
  font-weight: bold;
  text-transform: uppercase;
}

.configurator-form-grid .configurator-bg {
  background-color: #7bcc31;
}

.configurator-table img {
  margin-bottom: 5px;
}

/* --- Radio buttons --- */
.configurator-form-grid .configurator-table label {
  display: inline-block;
  background: #212529;
  color: #fff;
  padding: 10px;
  cursor: pointer;
}

.configurator-form-grid.configurator-table label:hover {
  background: #444;
}

/* --- Quantity selector --- */
.configurator-steps .initial-qty-block {
  text-align: center;
  margin-bottom: 30px;
}

.configurator-steps .qty-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.configurator-steps .qty-but a {
  display: inline-block;
  background: #212529;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  user-select: none;
}

.configurator-steps .qty-but a:hover {
  background: #444;
}

.configurator-steps .qty-input input {
  width: 100px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ccc;
  height: 45px;
}

/* section titles */
.section-title-configurator p {
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: 3px solid #7bcc31;
  color: #212529;
}
.section-title-configurator span {
  color: #7bcc31;
}
.configurator-bg-white {
  background-color: #ffffff !important;
  border: none !important;
}
.configurator-bg {
  background-color: #7bcc31 !important;
}
.configurator-bg p {
  color: #212529 !important;
  font-size: 1rem;
}
.row-feature .wpcf7-list-item-label {
  display: none !important;
}
.configurator-steps .label {
  font-size: 14px;
}
.configurator-steps .configurator-qty-row {
  display: flex;
  flex-direction: row-reverse;
}
.configurator-steps .initial-qty-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 650px;
  background-color: #7bcc31;
  color: #212529;
  padding: 10px;
}
.configurator-steps .initial-qty-block p {
  margin: 0px;
  font-size: 1rem;
  padding-right: 5px;
}
.configurator-form-grid .section-features .wpcf7-list-item-label {
  display: none !important;
}

.configurator-steps .row-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  align-items: start;
}
.configurator-steps .row-features .row-feature {
  border: #7bcc31 1px solid;
  padding: 10px;
}
.configurator-steps .row-features .row-feature p {
  margin: 0px;
  font-size: 1rem;
  color: #212529;
  display: inline-flex;
  width: 100%;
  align-items: center;
}
.configurator-steps .col-transport select.wpcf7-form-control.wpcf7-select {
  width: 100%;
  color: #212529;
  border: none;
  font-size: 1rem;
}
.configurator-steps .row-features .row-feature .row-feature-label {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
}
.configurator-steps .row-features .row-feature img {
  margin-right: 10px;
}

/* configurator 2025.11.05 */
.configurator-steps .mentions-title {
  color: #7bcc31 !important;
}
.configurator-steps .mentions {
  margin-top: 20px;
}
.configurator-steps .mentions b,
.configurator-steps .mentions p,
.configurator-steps .mentions li {
  color: #212529;
}

@media (max-width: 768px) {
  .configurator-steps .row-features {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* mobile verzio configurator 2025.11.05 */
@media (max-width: 768px) {
  .block-container-type {
    display: none;
  }
  .block-container-type-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
  }

  .block-container-type-mobile .container-card {
    border: 1px solid #212529;
    overflow: hidden;
    background: #fff;
  }

  .block-container-type-mobile .container-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-weight: bold;
  }
  .block-container-type-mobile .container-header p {
    margin: 0px;
  }

  .block-container-type-mobile .container-body {
    padding: 10px;
    font-size: 14px;
    color: #212529;
  }

  .block-container-type-mobile .container-footer {
    padding: 10px;
    text-align: center;
  }

  .block-container-type-mobile .container-footer label {
    display: inline-block;
    background: #212529;
    color: #fff;
    padding: 10px;
    cursor: pointer;
  }
  .block-container-type-mobile .container-footer .wpcf7-list-item-label{
    display: none !important;
  }
  .block-container-type-mobile .container-footer .label {
    font-size: 14px;
  }
  .configurator-steps .qty-but a {
    width: 25px;
    height: 25px;
    line-height: 25px;
  }
  .configurator-steps .qty-input input {
    width: 50px;
    font-size: 14px;
    height: 25px;
  }
}

.block-container-type-mobile {
  display: none;
}

/* mobile lightbox fix nimrod 2025.11.14 */
@media (max-width: 1024px) {
    body.admin-bar .dialog-type-lightbox {
        position: fixed;
    }
}
@media (max-width: 767px) {
  .share-links{
    display: flex;
    justify-content: center;
  }
}

/* configurator modositasok nimrod 2025.11.25 */
#progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 10px;
}

#progress-bar .step {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 90px;
}

#progress-bar .step span {
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  background: #e9ecef;
  color: #212529;
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 600;
}

#progress-bar .step.active span {
  background: #7bcc31;
  color: #212529;
}

#progress-bar .step.done span {
  background: #212529;
  color: #ffffff;
}

#progress-bar .step.active,
#progress-bar .step.done {
  color: #212529;
}

#progress-bar .step.done {
  cursor: pointer;
}

/* =============================
   STEP CONTENT PANEL
============================= */
.configurator-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.config-step {
  display: none;
}

.config-step.active {
  display: flex;
  flex-direction: column;
}

/* =============================
   NEXT / PREV BUTTON CENTER FIX
============================= */
.step-nav {
  display: flex;
  justify-content: center !important;
  margin-top: 30px;
}

.step-nav button,
.step-nav .wpcf7-submit {
  background-color: #212529;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 10px;
}

.step-nav button:hover,
.step-nav .wpcf7-submit:hover {
  background-color: #444444;
}

/* Ha van back + next egy lépésben */
.step-nav.has-back {
  justify-content: space-between !important;
}
.container-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 1000;
}

.container-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.container-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1001;
}

.container-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.container-popup .popup-inner {
  background: #ffffff;
  border-radius: 4px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  border: 2px solid #7bcc31;
}

.container-popup .popup-inner h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #212529;
}

.container-popup .popup-inner p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #212529;
}

.container-popup .popup-close {
  margin-top: 15px;
  background: #212529;
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
}

.container-popup .popup-close:hover {
  background: #444444;
}

/* ==========================================
   CONTAINER CARDS – Main layout
========================================== */

.container-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .container-cards-row {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ==========================================
   SINGLE CARD BASE
========================================== */
.container-card {
    border: 2px solid #7bcc31;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.container-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

/* ==========================================
   CARD HEADER (ikon + név + ár)
========================================== */
.container-header {
    padding: 20px;
    text-align: center;
    background: #7bcc31;
    color: #212529;
    border-bottom: 2px solid #7bcc31;
}

.container-header img {
    display: block;
    margin: 0 auto 8px;
}

.container-header h3 {
    font-size: 1.4rem;
    margin: 0 0 5px;
    font-weight: 700;
}

/* Fix magasság a headernek → minden kártya ugyanakkora */
.container-header {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================
   CARD BODY
========================================== */
.container-body {
    padding: 15px 20px;
    flex: 1;
}

.container-body ul {
    margin: 0 0 15px;
    padding-left: 18px;
    min-height: 200px;
}

.container-body li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #212529;
}

.more-btn {
    width: 100%;
    background: #212529;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: background .2s;
}

.more-btn:hover {
    background: #444;
}

/* ==========================================
   FOOTER: RADIO + választás gomb
========================================== */
.container-footer {
    padding: 15px;
    text-align: center;
    background: #7bcc31;
}

.container-footer label {
    background: #212529;
    padding: 10px 15px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
}

.container-footer label:hover {
    background: #444;
}

/* Contact Form 7 label eltüntetése */
.container-footer .wpcf7-list-item-label {
    display: none !important;
}

.container-footer .label {
    font-weight: 600;
    margin-left: 5px;
}

/* Rejtett eredeti radio */
input[type="radio"][name="radio-container-type"] {
    position: absolute;
    opacity: 0;
}

/* Pipás keret a label előtt */
.container-footer label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* Üres négyzet */
.container-footer label::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    display: inline-block;
    border-radius: 4px;
    margin-right: 8px;
    box-sizing: border-box;
}

/* KIVÁLASZTÁSKOR – pipával */
.container-footer input[type="radio"]:checked + .label,
.container-footer input[type="radio"]:checked ~ span,
.container-footer input[type="radio"]:checked ~ * {
    font-weight: 600;
}

/* PIPA — kulcs selector: label input:checked → label::before */
.container-footer label:has(input[type="radio"]:checked)::before {
    background: #7bcc31 url('data:image/svg+xml;utf8,<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') 
        no-repeat center center;
    border-color: #7bcc31;
}

.container-footer {
    cursor: pointer;
}

/*next-button step-1 nimrod 2025.11.26 */
.step-next.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* cf7 pipa dizajn nimrod 2025.11.26 */
/* ================================
   ZÖLD CHECKBOX DESIGN – ROW FEATURES
================================ */

/* Alap checkbox elrejtése */
.row-feature input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #7bcc31;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background: #fff;
    margin-right: 8px;
}

/* PIPA amikor ki van pipálva */
.row-feature input[type="checkbox"]:checked {
    background: #7bcc31;
    border-color: #7bcc31;
}

/* SVG pipa ikon */
.row-feature input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 10px;
    height: 16px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
}

/* ================================
   CART SUMMARY (Rezumat Comandă)
================================ */

.cart-summary-card {
    background: #ffffff;
    border: 2px solid #7bcc31;
    padding: 20px;
    margin: 25px 0;
}

.cart-summary-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    border-bottom: 2px solid #7bcc31;
    padding-bottom: 8px;
}

/* Egy sor */
.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #e7e7e7;
    font-size: 0.95rem;
}

.cart-line:last-child {
    border-bottom: none;
}

.cart-line span {
    color: #212529;
    font-weight: 500;
}

.cart-line strong {
    color: #212529;
}

/* Extras list formatting */
.cart-extras ul,
.cart-info ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
}

.cart-extras li,
.cart-info li {
    margin-bottom: 4px;
    color: #444;
}

/* Total sor kiemelése */
.cart-line.total strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
}

/* Megjegyzés/Információ blokk */
.cart-line.info span {
    font-weight: 600;
}

.cart-info {
    margin-top: 5px;
    color: #555;
    font-size: 0.9rem;
}

/* Mobil dizájn */
@media (max-width: 768px) {

    .cart-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cart-line.total strong {
        font-size: 1.4rem;
    }
}

/* utolso configurator title margin nimrod  */
.conf-obs-client {
    margin-top: 25px;
}

.wpcf7-form-control.wpcf7-acceptance input {
  min-width: 20px;
}

.file-upload-label {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.file-upload-label input[type="file"] {
  margin-top: 6px;
  padding: 8px;
  border: 2px solid #7bcc31;
  background: #fff;
  width: 100%;
  max-width: 350px;
}

/* Checkbox méret + zöld keret */
.page-id-5112 .wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #7bcc31 !important;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

/* Checked állapot → zöld */
.page-id-5112 .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #7bcc31;
    border-color: #7bcc31;
}

/* Pipát rajzolunk rá */
.page-id-5112 .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 0;
    left: 4px;
    color: white;
    font-size: 15px;
    line-height: 20px;
}

/* --- Mobile step bar fix --- */
@media (max-width: 480px) {
    #progress-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        text-align: center;
    }

    #progress-bar .step {
        width: 45%;
        flex-direction: column;
        font-size: 12px !important;
        line-height: 1.2;
        padding: 8px 0;
    }

    #progress-bar .step span {
        margin-bottom: 4px;
        display: inline-block;
    }
}

/* Gallery Custom nimrod 2026.03.11 */
.gallery-custom .elementor-gallery-title {
    background: #f2f2f2;
    padding: 10px 18px;
    border: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-custom .elementor-gallery-title:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.gallery-custom.elementor-gallery-title.elementor-item-active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.gallery-custom .elementor-gallery__titles-container {
  gap: 10px;
}