/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
.video-container {position:relative;padding-bottom:56.25%;padding-top:0px;height:0;overflow:hidden;}
.video-container iframe, .video-container object, .video-container embed {position:absolute;top:0;left:0;width:100%;height:100%;}

.product-size li label span{width: 60px!important; padding: 0px 10px;}
.discounted-nornal-price{text-decoration: line-through;}
.product-size li label input:checked + span{
    background-color: #2250fc!important;
    border-color: #2250fc!important;
    color: #fff!important;
}

.post-item .post-item-description .post-meta-user{
    color: #C2C2C2;
    position: relative;
    top: -4px;
    font-size: 12px;
    margin-right: 8px;
}

.post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}

.post-item .post-item-description .post-meta-user a{
    
}

.single-post .post-item .post-item-description .post-meta-user{
    color: #777;
    font-size: 13px;
    margin-right: 16px;
    position: relative;
    top: -4px;
}
.single-post .post-item .post-item-description .post-meta-user i{
    margin-right: 4px !important;
}
.single-post .post-item .post-item-description .post-meta-user a{
    color: #777;
}

.alert .close {
    font-size: 20px; /* Méret beállítása */
    font-weight: bold;
    color: #fff; /* Fehér szín */
    background-color: transparent!important; /* Átlátszó háttér */
    border: none; /* Nincs keret */
    padding: 5px 10px; /* Térköz */
    cursor: pointer; /* Kéz kurzor */
    position: absolute; /* Pozicionálás */
    top: 5px; /* A gomb pozíciója */
    right: 10px; /* A gomb pozíciója */
}

.alert .close:hover {
    color: #000!important; /* Piros szín hover-re */
}

.cart-product-quantity .qty{
    outline: none;
}

.cart-product-quantity .minus:hover, .cart-product-quantity .plus:hover {
    background-color: #eee;
    border: 1px solid #eee;

}

.product-hot:has(+ .product-sale) {
    right: 60px; /* Példaérték, hogy jobban elcsússzon */
}
.custom-seperator{
    clear: both;
    height: 10px;
    width: 100%;
    margin: -10px 0px;
}

#top-basket-icon, #add-product-to-basket{
    background-image: linear-gradient(to bottom, #20CB4D, #4CB888);
    border:none;
}

.variation-navigation{
    margin-bottom: 0px;
}

.variation-ul{
    overflow: hidden;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.variation-ul li{
    float: left;
    margin-right: 10px;
}

.variation-ul li a{
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid #3c4043;
    border-radius: 10rem;
    color: #3c4043;
    font-size: 13px;
}

.variation-ul li a.active,
.variation-ul li a:hover{
    color: #2250fc!important;
    border: 2px solid #2250fc;
}

.conntected-product-img{
    display: block;
    line-height: 0px;
    background-position: 50% 50%!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    transition: all 0.5s ease; /* animáció a nagyításra */
    
}

.conntected-product-img:hover{

}

.bage-octa-index{
    font-size: 1rem!important;
}

.product-price-on-page{
    overflow: hidden;
}
.product-page-normal-price-lined{
    text-decoration: line-through;
}

.product-page-normal-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #244D92;
    display: inline-block;
    float: left;
}

.product-page-discounted-price{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #d6284b;
    display: inline-block;
    float: left;
}

.product-page-discount-badget{
    background: #d6284b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.14);
    padding: 4px 10px;
    margin: 0px 10px;
    font-family: "Poppins", sans-serif;
    float: left;
}

.product_subname_lang{
    font-weight: 600;
    color: #244D92;
    margin-bottom: 0;
}

.product-sale-off{
    background: #d6284b!important;
    border-radius: 0!important;
}

.product-sale{
    background: #d6284b!important;
}

.product-hot{
    background: #ffc300!important;
}

.product-status{
    padding: 5px 0px;
}
.product-status span.ready{
    color: #8abd1b;
    font-weight: bold;
}
.product-status span.out{
    color: #d90000;
    font-weight: bold;
}

/* Temék grid view*/


.grid-item .product .product-description .product-title h2 a{
    font-size: 1.75rem;
    color: #45B8EC!important;
}

.grid-item .product .product-description .product-title h2 a:hover{
    color: #10407E!important;
}

.grid-item .product .product-description .product-title{
    max-width: 100%;
}

.grid-item .product .product-description .product-title h2{
    line-height: 1.1em;
}

.grid-item .product .product-description  .product-price{
    width: 100%;
    text-align: left;
    float: none;
    clear: both;
    margin: 0;
}

.grid-item .product-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* vagy pl. height: 300px; ha nincs aspect-ratio támogatás */
  position: relative;
  overflow: hidden;
  background: #f9f9f9;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Minden kép pozícionálása középre */
.grid-item .product-image a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A képek ne lépjék túl a keretet */
.grid-item .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Csak az első kép legyen látható alapból */
.grid-item .product-image a:nth-child(1) {
  z-index: 1;
}

.grid-item .product-image a:nth-child(2) {
  z-index: 2;
  opacity: 0;
}

/* Hover hatás: a második kép fade-in */
.grid-item .product-image:hover a:nth-child(2) {
  opacity: 1;
}

.grid-item .product-image:hover a:nth-child(1) {
  opacity: 0;
}

.grid-item .product .product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 3;
}

.grid-item .product:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.grid-item .product:hover .product-overlay a{
    opacity: 1;
}

select.no-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

.custom-box{
    color: #B23F4E!important;
    
}
.custom-box h2{
    color: #B23F4E!important;
    
}
.custom-box span.lead{
    color: #B23F4E!important;
}