
@media (orientation: portrait) {
	body {
		background-image: url("../images/uniomobilestore.jpg");
		background-size: cover; /* Kitölti a képernyőt arányosan */
		background-position: center; /* Középre helyezi a képet */
		background-repeat: no-repeat; /* Nem ismétlődik */
		background-attachment: fixed; /* A kép fixen marad, nem gördül a tartalommal */
		margin: 0;
		height: 100vh;
		width: 100vw;
	}
  }
  
  @media (orientation: landscape) {
	body {
		background-image: url("../images/uniomobilestore.jpg"); 
		background-size: cover; /* Kitölti a képernyőt arányosan */
		background-position: center; /* Középre helyezi a képet */
		background-repeat: no-repeat; /* Nem ismétlődik */
		background-attachment: fixed; /* A kép fixen marad, nem gördül a tartalommal */
		margin: 0;
		height: 100vh;
		width: 100vw;
	}
  }

.bg-white{
	background-color: #000!important;
	color: #fff;
}

.variantsradio{
	display: none;
	padding-left: 5px;
}

.variantsbox_active{
	background-color: var(--main-blue)!important;
	color: #fff!important;
}

#fullbackgroundDark{
	position: fixed;
	z-index: 1000000;
	background-color: rgba(0,0,0,0.75);
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	display: none;
}
.agecontrollbg{
	position: fixed;
	z-index: 1000001;
	background-color: rgba(0,0,0,0.95);
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.agecontroll{
	margin: 100px auto;
	display: table;
	width: 500px;
	max-width: calc(100% - 40px);
	height: 100px;
	color: #000;
	text-align: center;
	background-color: #fff;
	padding: 20px;
	border: 3px solid #D79C4C;
	border-radius: 3px;
}

.agecontroll_buttons button:hover{
	background-color: #D79C4C;
}
.agecontroll_buttons button{
	display: inline-block;
	width: calc(50% - 22px);
	padding: 10px;
	border: 1px solid #888;
	color: #000;
}

.mngroup{
	cursor: pointer; 
	text-align: center; 
	padding: 0; 
	margin: 15px;
	min-width: 200px;
    width: 200px;
    height: 200px;
    vertical-align: top;	
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	overflow: hidden;
	position: relative;
}

.mngroup img{
	margin: 0 auto; 
	display: block; 
	width: 150px; 
	min-width: 150px; 
	opacity: 0;
}

.mngroup:hover{
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.mngroup label{
	text-transform: uppercase;
	margin: 0;
	padding: 8px 12px;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
}

.products_list img{
	margin: 0 auto 15px auto; 
	display: block; 
	width: 200px; 
	min-width: 200px;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.products_list label{
	display: block; 
	text-transform: uppercase;
	font-weight: 600;
	color: #333;
}

.products_list label.name{
	font-size: 16px!important;
	margin: 15px 0 10px 0;
	line-height: 1.4;
	color: #222;
}

#services .col label, #products_group .col label{
	font-size: 20px;
	font-weight: bold;
}

.products_list label span{
	font-size: 12px;
	padding-right: 10px;
	color: #666;
	font-weight: normal;
}

.products_list{
	text-align: center; 
	padding: 20px; 
	margin: 15px;
	max-width: 320px!important;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	border: 1px solid rgba(169, 9, 9, 0.1);
}

.products_list:hover{
	transform: translateY(-8px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
	border-color: var(--buttonBGcolor);
}

.products_list img{
	border-radius: 15px;
	transition: all 0.3s ease;
}

.products_list:hover img{
	transform: scale(1.05);
}

.row{
justify-content: center!important;
gap: 10px; /* Térköz az elemek között */
}
.kosar{
    position: fixed;
    bottom: 0;
    color: #000;
    background-color: var(--buttonBGcolor);
    padding: 10px;
    width: 120px;
    z-index: 1000000;
    display: table;
    zoom: 2;
    color: #fff!important;
}	

.szechenyi2020 {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100000;
    padding: 0;
    margin: 0;
}

#product #services .product_datas .product_rows{
	background-color: #ffffff!important; 
}

.variantsbox{
	background-color: #fff; 
	border-radius: 3px; 
	border: 1px solid #888; 
	margin: 3px; 
	display: block; 
	text-align: left;
	padding: 10px;
}

#services .col:hover .variantsbox,
#products_group .col:hover .variantsbox{
	background-color: #fff;
	color: #000;
}

.variantsbox:hover{
 	background-color: var(--main-blue)!important;
	color: #fff!important;
}

#pagelock{
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	z-index: 99999999;
}

#pagelock img{
	margin-top: calc(50vh - 100px);
	margin-left: calc(50vw - 100px);
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product_itemcart{
	
}

.product_datas{
	width: calc(100% - 295px);
	display: table;
}
.product_rows{
	text-align: left;
	/*background-color: #dedede;
	border-top: 1px solid #888;*/
	border-bottom: 1px solid #888;
	padding: 5px;
	display: table;
	font-size: 22px;
	width: 100%;
}

.product_name{
	display: table;
	float: right;
	width: calc(100% - 300px);
}

.product_name_label{
	display: table;
	float: left;
	width: 300px;
}

.product_img{
	width: 250px;
	float: left;
	margin: 0;
	margin-right: 10px;
	padding: 0px;
	background-color: #fff;
	border: 10px solid var(--buttonBGcolor);
}

.menuSumma, .menuSumma_items{
	font-size: 30px;
	text-align: right;
}
.menuSumma{
	font-weight: bold;
}

input.checkout, select.checkout{
	width: 100%;
}

.payamount{
	font-size: 30px;
	color: var(--buttonBGcolor);
	text-align: center;
}

.reqerror{
	background-color: #FF6666;
	color: white;
}

.zoneprice{
	width: 60px;
	text-align: right;
}

.zonename{
}

.checkout_button{
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px;
  /*
  border-radius: 1px;
  border-radius: 5px 5px 5px 5px;
  font-weight: bold;
  */
  background-color: #222222;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin-top: 30px;
}

.mennyisegopcio{
	float: right;
	margin: 5px;
  display: none;
}

.mennyisegopcio input{
	width: 40px;
	text-align: right;
}

.mennyisegopcio div{
	padding: 0;
	font-size: 30px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	border: 1px solid #dedede;
	width: 32px;
	background-color: var(--buttonBGcolor);
	color: #fff;
	border-radius: 10px;
	line-height: 30px;
}

#services .col.termek_opcio_active,
#products_group .col.termek_opcio_active{
	background-color: #000;
	color: #fff;
}

.termek_opcio_active2:hover .mennyisegopcio,.termek_opcio_active .mennyisegopcio{
	display: table;
}

.cart{
	display: inline-block;
}

.cartTable, .menuTable{
	width: 100%;
}
.cartTable,.cartTable tr, .cartTable tr td, .checkoutTable,.checkoutTable tr, .checkoutTable tr td, .menuTable, .menuTable tr, .menuTable tr td{
	text-align: left;
}

.cartTable, .checkoutTable, .menuTable {
  border-collapse: collapse;
  width: 100%;
}

.cartTable td, .cartTable th, .checkoutTable td, .checkoutTable th, .menuTable td, .menuTable th {
  border-top: 1px solid #ddd;
  padding: 8px;
}

.cartTable tr:nth-child(even),.checkoutTable tr:nth-child(even),.menuTable tr:nth-child(even){background-color: #f2f2f2;}

.cartTable tr:hover,.checkoutTable tr:hover,.menuTable tr:hover {background-color: #ddd;}

.cartTable th, .checkoutTable th, .menuTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--buttonBGcolor);
  color: white;
}
.cartTable td:nth-child(3), .cartTable td:nth-child(4), .checkoutTable td:nth-child(3), .checkoutTable td:nth-child(4), .menuTable td:nth-child(3), .menuTable td:nth-child(4) {
	text-align: right;
}

.menuTable{
	max-width: 1024px;
	margin: 20px auto; 
}

.checkoutTable{
	width: calc(50% - 40px);
	float: left;
	margin: 20px;
	 
}

.addcartitemsOptions, .product_numberOptions{
	zoom: 2;
}

.popup{
	display: table;
	position: fixed;
	top: -5000px;/*calc(20vh / 2);*/
	background-color: #fff;
	min-height: 80vh;
	height: 80vh;
	max-height: 80vh;
	border: 1px solid var(--buttonBGcolor);
	/*border-radius: 10px;*/
	width: 80vw;
  	right: 10vw;
  	margin-right: auto;
  	margin-left: auto;
	color: #000;
	/*font-weight: bold;*/
	padding: 5px;
	z-index: 1000001;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}

.torles{
	background-color: var(--buttonBGcolor)!important;
}

.popupmain{
	width: calc(100% - 20px);
	margin: 50px auto 10px auto;
	text-align: center;
	overflow: auto;
	max-height: 70vh;
}

.popupmain h1{
	font-size: 30px;
	display: inline-block;
	position: absolute;
	left: 10px;
	top: 5px;
	width: 100%;
	text-align: center;
	font-weight: bold;
	z-index: 1000001;
	padding-top: 3px;
}

.popupclose{
	font-size: 18px;
	border: 2px solid #dedede;
	border-radius: 20px;
	display: inline-block;
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 32px;
	text-align: center;
	font-weight: bold;
	background-color: var(--buttonBGcolor);
	color: #fff; 
	z-index: 1000002;
}

.alertmessage{
  pointer-events: none;
	display: table;
	position: fixed;
	top: -5000px;
	background-color: rgba(136, 136, 136, 0.8);
	min-height: 60px;
	height: 60px;
	max-height: 200px;
	border: 1px solid #000;
	width: 100%;
  right: 0;
  margin-right: auto;
  margin-left: auto;
	color: #FFffff;
	font-size: 28px;
	font-weight: bold;
	padding: 5px;
	z-index: 1000001;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	padding: 20px;
	text-shadow: 2px 1px 2px #000000;
	line-height: 35px;
	text-align: center;
}

.row {
    display: flex; /* Flexbox layout használata */
    flex-wrap: wrap; /* Lehetővé teszi, hogy a sor több sorba törjön szükség esetén */
    justify-content: center; /* Középre igazítás */
    align-items: stretch; /* Egyenlő magasság */
}

/* Csak a termék kártyákra vonatkozó col stílus */
#services .col, #products_group .col {
    flex: 0 0 auto; /* Fix szélességű oszlopok */
    /*width: 300px;*/ /* Fix szélesség megadása */
    padding: 20px;
    border: 1px solid rgba(169, 9, 9, 0.1);
    background-color: rgba(255,255,255,0.95);
    box-sizing: border-box; /* Tartsa meg a paddingot és a border-t */
    border-radius: 20px;
    margin: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#services .col:hover, #products_group .col:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--buttonBGcolor);
}

#services .col img, #products_group .col img {
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

#services .col:hover img, #products_group .col:hover img {
    transform: scale(1.05);
}

body.subgroup #services .container {
    background-color: rgba(255,255,255,0.9);
}

/* Modern responsive improvements */
@media (max-width: 768px) {
    .mngroup {
        width: 150px;
        height: 150px;
        margin: 10px 5px;
    }
    
    .products_list {
        max-width: 280px!important;
        margin: 10px 5px;
        padding: 15px;
    }
    
    #services .col, #products_group .col {
        width: 280px;
        margin: 10px 5px;
        padding: 15px;
    }
    
    #welcome_main {
        height: calc(100vw * 0.5) !important;
        max-height: 35vh !important;
        min-height: 150px !important;
    }
    
    .slider-image-container {
        height: calc(100vw * 0.5) !important;
        max-height: 35vh !important;
        min-height: 150px !important;
    }
    
    .slider-container {
        margin: 10px 0;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .mngroup {
        width: 120px;
        height: 120px;
        margin: 8px 3px;
    }
    
    .mngroup label {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .products_list {
        max-width: 250px!important;
    }
    
    #services .col, #products_group .col {
        width: 250px;
    }
    
    .addcartitems, .reszletek {
        font-size: 11px;
        padding: 6px 12px;
    }
}