/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/*
 * CSS az egyedi címkével rendelhető termékek jelöléséhez
 * az egyedi_Cimke osztályt használva
 */


/* Alapvető stílusok a címkéhez, mobilon ez érvényesül (blokk szintű, de fixen lent/fent) */
.egyedi_Cimke {
    /* Alapértelmezett beállítások (megtartva az eredetiből) */
    border-top: 1px solid #ccc;
    padding-top: 15px;
    padding: 10px; /* Belső margó */
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: left;
    
    /* FIX POZÍCIONÁLÁS - ALAP */
    position: fixed; /* Rögzítés a képernyőhöz */
    right: 10px; /* 10px távolság a jobb szélétől */
    bottom: 10px; /* 10px távolság az aljától (gyakori mobil elhelyezés) */
    
    /* Méretek */
    width: 90%; /* Mobilon szélesebb */
    max-width: 350px; /* De korlátozva egy maximális szélességre */
    
    /* Fontos: A fixed elemek a tartalom felett lebegnek, ezért szükség lehet magas z-index-re */
    z-index: 1000; 
    
    /* Az eredeti margó beállítások már nem feltétlenül kellenek: */
    margin-top: 0; 
    margin-bottom: 0; 
    border-top: none; /* Általában a fixed elemeknél nem kell elválasztó vonal az oldal többi részétől */
}

/* 💻 Asztali nézet beállításai (pl. 992px felett) */
@media (min-width: 992px) {
    .egyedi_Cimke {
        /* Fix pozíció a jobb felső sarokban */
        top: 35%; /* 20px távolság a tetejétől */
        bottom: auto; /* Töröljük az alsó rögzítést */
        right: 25px; /* 20px távolság a jobb szélétől */
        
        /* Méretek */
        width: 300px; /* Fix szélesség */
        max-width: none; /* Nincs max. limit */
    }
}

/* --- Az eredeti bekezdés és ikon stílusok változatlanul hagyva --- */

.egyedi_Cimke p {
    font-size: 1.1em;
    font-weight: normal;
    color: #388e3c;
    margin: 0;
    line-height: 1.4;
}

.egyedi_Cimke p::before {
    content: '🏷️ ';
    display: inline-block;
    margin-right: 5px;
    font-size: 1.2em;
}

.elementor-widget-woocommerce-product-content table{width: auto;}

.single-product table td, .single-product table th {
    padding: 5px 10px 5px 10px !important;
	width: auto;
}