html {
  touch-action: pan-x pan-y;
  min-height: 100%; /* prevent pinch-zoom at page bottom */
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-right-radius: 0px;
}
/*@import "https://unpkg.com/open-props";
@import "https://unpkg.com/open-props/normalize.min.css";*/

.media-scroller {
  display: grid;
  gap: 2em;
  grid-auto-flow: column;
  padding-left: 2em;
  padding-right: 2em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.media-element {
  margin: auto;
  display: grid;
  grid-template-rows: min-content;
  max-width: 10em;
  margin-top: 2em;
  margin-bottom: 3em;
  border-radius: 8px;
  background: rgb(248, 249, 250);
  box-shadow: 2px 4px 22px 9px rgba(0, 0, 0, 0.22);
  -webkit-box-shadow: 2px 4px 22px 9px rgba(0, 0, 0, 0.22);
  -moz-box-shadow: 2px 4px 22px 9px rgba(0, 0, 0, 0.22);
}
.media-element > a > img {
  max-width: 10em;
  aspect-ratio: 16 / 13;
  object-fit: cover;
  border-radius: 8px 8px 0px 0px;
}
.media-element > a > h5 {
  text-align: left;
  font-size: medium;
  padding-top: 0.4em;
  padding-left: 0.6em;
}
.media-element > a > p {
  font-size: small;
  padding-left: 0.6em;
  text-align: left;
  color: rgb(27, 27, 27);
}
.media-element > a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.snaps-inline {
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 1rem;
}

.snaps-inline > * {
  scroll-snap-align: start;
}

/*-------------------------------Cards with pictures on the left------------------------------------------------*/
.media-element-left {
  margin: auto;
  display: flex;
  overflow: auto;
  max-height: fit-content;
  padding: 0em;
  margin-top: 1em;
  background: rgb(248, 249, 250);
}
.media-element-left > img {
  padding-top: 1em;
  max-width: 5em;
  max-height: 10em;
  object-fit: cover;
  float: left;
}
.media-text {
  margin-left: 0.8em;
}
.media-element-left > .media-text > h5 {
  padding-left: 0.5em;
  float: left;
  text-align: left;
  color: rgb(27, 27, 27);
}
.media-element-left > .media-text > p {
  padding-left: 0.5em;
  float: right;
  text-align: right;
  color: rgb(27, 27, 27);
}
/*-------------------------------cards for last search------------------------------------------------*/
.media-scroller-search {
  display: grid;
  gap: 1em;
  grid-auto-flow: column;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding: 2em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.media-element-search {
  margin: auto;
  display: flex;
  overflow: auto;
  max-height: 5em;
  width: 18em;
  border-radius: 0.3em;
  margin-top: 0em;
  margin-bottom: 0em;
  background: rgb(248, 249, 250);
  box-shadow: 2px 2px 26px -16px rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 2px 2px 26px -16px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: 2px 2px 26px -16px rgba(0, 0, 0, 0.9);
}
.media-element-search > img {
  margin: 1em;
  max-width: 3em;
  max-height: 3em;
  border-radius: 0.3em;
  object-fit: cover;
  float: left;
  aspect-ratio: 1/1;
}
.media-text {
  margin-left: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}
.media-element-search > .media-text > h5 {
  float: left;
  text-align: left;
  color: rgb(27, 27, 27);
}
.media-element-search > .media-text > p {
  float: left;
  text-align: left;
  line-height: normal;
  color: rgb(27, 27, 27);
}

/*-------------------------------cards for only text------------------------------------------------*/
.media-scroller-onlytext {
  gap: 0.7em;
  display: flex;
  overflow: auto;
  max-height: fit-content;
  padding: 0.7em;
  background: rgb(248, 249, 250);
}
.media-element-onlytext {
  margin-left: 1em;
  min-width: 11em;
  padding: 0.7em;
  background-color: rgb(248, 249, 250);
  border-radius: 0.8em;
  border-style: solid;
  border-color: rgb(0, 59, 149);
  border-width: 0.2em;
}
.media-element-onlytext-bgblue {
  margin-left: 1em;
  min-width: 11em;
  padding: 0.7em;
  border-radius: 0.8em;
  border-color: rgb(0, 59, 149);
  background-color: rgb(0, 59, 149);
  color: aliceblue;
  font-size: small;
}
.media-element-onlytext-bgblue > h5 {
  float: left;
  text-align: left;
  color: aliceblue;
  font-size: medium;
}
.media-element-onlytext > h5 {
  float: left;
  text-align: left;
  color: rgb(27, 27, 27);
  font-size: medium;
}
.media-element-onlytext > p {
  float: right;
  text-align: left;
  color: rgb(27, 27, 27);
  font-size: small;
}
/*-------------------------------cards for rating------------------------------------------------*/
.media-scroller-rating {
  display: grid;
  gap: 3em;
  grid-auto-flow: column;
  padding-left: 2em;
  padding-right: 2em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.media-element-rating {
  margin: auto;
  display: grid;
  gap: 0;
  max-width: 18em;
  margin-top: 1em;
  margin-bottom: 3em;
  padding: 1em;
  border-radius: 8px;
  border-width: 0.1em;
  border-style: solid;
  border-color: rgb(125, 125, 125, 0.2);
  background: rgba(255, 255, 255, 0.6);
}
.item1 {
  grid-row: 1;
  margin: auto;
}
.item1 > img {
  max-width: 4em;
  max-height: 4em;
  border-radius: 0.3em;
  object-fit: cover;
  float: left;
  aspect-ratio: 1/1;
}
.item2 {
  grid-row: 1;
  margin-top: 1em;
}
.item3 {
  margin: auto;
  grid-column: 1 / span 2;
  grid-row: 2;
}
.item4 {
  margin: auto;
  grid-column: 1 / span 2;
  grid-row: 3;
}
/*-------------------------------cards for discount------------------------------------------------*/
.media-scroller-discount {
  display: grid;
  gap: 1em;
  grid-auto-flow: column;
  padding: 2em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.media-element-discount {
  margin: auto;
  display: grid;
  grid-template-rows: min-content;
  overflow: auto;
  height: max-content;
  width: 18em;
  border-radius: 0.6em;
  border-style: solid;
  border-width: 0.15em;
  border-color: darkgreen;
  margin-top: 0em;
  margin-bottom: 0em;
  background: rgb(248, 249, 250);
}
.top-item {
  grid-row: 1;
  grid-column: 1 / span 2;
  background-color: rgb(241, 254, 246);
  color: rgb(67, 148, 99);
  text-align: center;
  vertical-align: middle;
  padding-top: 1em;
}
.left-item {
  grid-row: 2;
  margin: auto;
}
.left-item > img {
  max-width: 4em;
  max-height: 4em;
  border-radius: 0.3em;
  object-fit: cover;
  float: left;
  aspect-ratio: 1/1;
}
.right-item {
  margin-top: 1em;
  grid-row: 2;
}
.discounted {
  color: brown;
  text-decoration: line-through;
}
.discount {
  color: rgb(67, 148, 99);
  font-weight: bold;
}
.kártyatartó {
  display: flex;
  flex-direction: column;
  min-width: max-content;
  max-width: 10em;
  border: solid 0.1em rgb(84, 84, 84);
  background-color: white;
  padding: 0.5em;
  border-radius: 0.4em;
  margin-top: 2em;
}
.előresorolás {
  margin: auto;
  margin-bottom: 2em;
  vertical-align: middle;
}
#fejléc {
  margin: auto;
  padding-bottom: 2em;
  font-size: x-large;
  font-weight: bolder;
  flex: 1;
}
#premiumSVG {
  width: 12em;
  margin: auto;
  margin-bottom: 2em;
}
#ár {
  margin: auto;
  margin-bottom: 1em;
  vertical-align: middle;
  font-weight: bolder;
  font-size: xx-large;
}
#logo {
  aspect-ratio: 14/6;
  min-height: 2em;
  max-height: 2em;
}
@keyframes welcomeAnim {
  0% {
    top: 50%;
    left: 50%;
  }
  50% {
    top: 50%;
    left: 50%;
  }
  55% {
    opacity: 1;
  }
  100% {
    left: 70%;
    top: 0%;
    opacity: 0; /* Fade out at the end of the animation */
  }
}
#floatingMessage {
  vertical-align: middle;
  text-align: center;
}
.floatingAlert {
  z-index: 5;
  width: 25em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-name: welcomeAnim;
  animation-duration: 4s;
  animation-iteration-count: 1;
}
.radio-label {
  width: 15em; /* Adjust the width as needed */
}
.sticky-price {
  width: 7em;
  height: 3em;
  top: 5em;
  left: auto;
 
}
.sticky-price p{
  margin: 0;
}

.gif-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#gif-1{
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 10px;
}
#gif-2{
  max-width:100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 10px;
}
#filterOptionsSellerType {
  margin-left: auto;
  margin-right: auto;
  display: table;
}
#visibleMenu{
  display:block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 10000;
  width: 10em;
}
.uploadedImage{
  max-width: 9em;
  max-height: 9em;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: auto;
}
.btn-outline-customyellow{
  color: #ffe69c;
  border-color: #ffe69c;
}

.btn-outline-customyellow:hover{
  color: #ffe69c;
  background-color:  #ffe69c; /* Opcionális: hover hatás */
  border-color: #ffe69c;
}

.btn-outline-customyellow:checked{
  color: #ffe69c;
  background-color:  #ffe69c; /* Opcionális: hover hatás */
  border-color: #ffe69c;
}

.btn-check:checked+.btn-outline-customyellow{
  color: #ffe69c;
  background-color:  #ffe69c; /* Opcionális: hover hatás */
  border-color: #ffe69c;
}

/*-----------------------------------------------------------------------------------------------*/
.img-thumbnail{
  max-width: 100%;
  max-height: 6em;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: auto;
  flex: 1 1 1;
}
.main-image{
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: auto;
}
.lb-image {
  max-width: 100vw; /* A kijelző szélességének megfelelő maximális szélesség */
  max-height: 100vh; /* A kijelző magasságának megfelelő maximális magasság */
}
#logo{
  max-width: 40vw;
}

.border-lighter-warning {
  border-color: #ffe69c !important;
  border-width: 3px !important;
  border-style: solid !important;
}
.btn-customyellow{
  color: #ffe69c  ;
  background-color:  #ffe69c ;
  border-color: #ffe69c ;
}

.btn-customyellow:hover{
  color: #f8eabe ;
  background-color:  #f8eabe ; /* Opcionális: hover hatás */
  border-color: #f8eabe ;
}
.alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.alert-box {
  background-color: #f44336;
  color: white;
  padding: 1em;
  border-radius: 0.3em;
  text-align: center;
}