@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

*,
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif !important;
  background: radial-gradient(circle, #f9e8d9 0%, #f7b787 100%);
  overflow-x: hidden;
}
main {
  min-height: calc(100vh - 150px);
}
.scroll-to-top {
  background-color: var(--scroll-to-top);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 30px;
  right: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.3s all;
  visibility: hidden;
  z-index: 999;
}

.backto {
  background-color: var(--scroll-to-top);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: fixed;
  top: 80px;
  left: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.backto img {
  width: 15px;
  height: 15px;
  rotate: 270deg;
}
.scroll-to-top img {
  width: 15px;
  height: 15px;
}
.container {
  width: calc(100% - 30px);
  margin: 0 auto;
  padding: 0 15px;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  font-size: 32px;
  box-shadow: 0 0 50px -2px rgba(0, 0, 0, 0.4);
}
.admin-btn {
  background-color: #af3535;
  text-decoration: none;
  font-size: 17px;
  color: #ebe6d9;
  margin-right: 10px;
  padding: 0 10px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header-inner p {
  font-size: 14px;
}
.categories {
  padding: 10px 20px;
  margin-top: 30px;
  width: 100%;
}
.category-title {
  font-weight: 600;
  font-size: 20px;
  color: rgb(41, 18, 2);
}
.category-items {
  margin-top: 15px;
  overflow-x: auto;
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 15px;
}
.category-items::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 4px;
}

.category-items::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.5);
}
.category-items::-webkit-scrollbar {
  width: 2px;
  height: 5px;
}

.category-items::-webkit-scrollbar-thumb {
  background-color: #eb6440;
  border-radius: 20px;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  min-width: 150px !important;
  width: 150px !important;
  border-radius: 4px;
  cursor: pointer;
  border: 3px solid #eb6440;
  color: #3b1604;
  text-decoration: none;
}
.category-item:not(.active) {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.category-item:hover,
.category-item.active {
  background-color: #eb6440;
  border: none;
}
.category-item__image {
  width: 75px;
  height: 75px;
}

.category-item__title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

.language-dropdown {
  position: relative;
}
.language-dropdown button {
  font-size: 16px;
  display: flex;
  align-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  color: #ebe3d1;
}
.language-dropdown button img {
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border-radius: 50%;
  object-fit: cover;
}
.language-dropdown .language-dropdown__list {
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  font-size: 17px;
  padding: 7px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all;
  background-color: #af3535;
  width: 75px;
  padding: 6px;
}
.language-dropdown .language-dropdown__list.active {
  opacity: 1;
  visibility: visible;
  top: 100%;
}
.language-dropdown .language-dropdown__list ul {
  padding: 0;
}
.language-dropdown .language-dropdown__list ul li {
  border-radius: 3px;
  transition: 0.2s all;
}
.language-dropdown .language-dropdown__list ul li:not(:last-child) {
  margin-bottom: 5px;
}
.language-dropdown .language-dropdown__list ul li.active {
  background-color: #d85835;
}
.language-dropdown .language-dropdown__list ul li:hover {
  background-color: #eb6440;
}
.language-dropdown .language-dropdown__list ul li:hover a {
  color: #f1f5f9;
}
.language-dropdown .language-dropdown__list ul li a {
  display: block;
  padding: 6px;
  color: #f1f5f9;
  text-decoration: none;
}
.language-dropdown .language-dropdown__list ul li.active a {
  color: #f1f5f9;
}
.info-alert {
  background: #fbfac6;
  padding: 14px;
  border-radius: 4px;
  width: 100%;
  color: #707054;
  margin-top: 30px;
}

.footer {
  background-color: var(--background_footer);
  /* border-top: 1px solid #f3f3f3; */
  color: #000000;
  padding: 50px 0;
  text-align: center;
  margin-top: 40px;
}
@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}
@media (max-width: 800px) {
  .products-list {
    /* gap: 20px; */
    /* grid-template-columns: repeat(1, 1fr); */
    display: block;
  }
  .products-list .product-item:not(:last-child) {
    margin-bottom: 20px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1320px;
  }
}
@media (max-width: 680px) {
  .language-dropdown .language-dropdown__list {
    width: 100%;
    right: 0;
  }
}
@media (max-width: 992px) {
  .products-list {
    /* gap: 20px; */
    /* grid-template-columns: repeat(2, 1fr); */
    width: 100%;
    max-width: 100%;
  }
  .products-list .product-item {
    max-width: 100% !important;
  }
  .products-list .product-item img {
    width: 100%;
  }
}
@media (max-width: 550px) {
  .products-list {
    /* gap: 20px; */
    /* grid-template-columns: repeat(1, 1fr); */
    width: 100%;
    max-width: 100%;
  }
  .scroll-to-top {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 360px) {
  .product-item .product-item__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .product-item .product-item__top .product-price {
    margin-top: 10px;
  }
}

.skeleton:empty {
  position: relative;
  height: 290px;
  background-color: #ffffff;
  border-radius: 8px 8px 8px 8px;
  background-image: linear-gradient(#cccccc 10px, transparent 0),
    linear-gradient(#cccccc 30px, transparent 0),
    linear-gradient(#e0e0e0 10px, transparent 0),
    linear-gradient(#e0e0e0 200px, transparent 0);
  background-repeat: repeat-y;
  background-size: 120px 290px, 80px 290px, 200px 290px, 360px 290px;
  background-position: left 20px top 247px, left 300px top 233px,
    left 20px top 233px, left 20px top 20px;
}
.skeleton:empty:before {
  content: " ";
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 290px;
  -webkit-mask-image: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  -webkit-mask-repeat: repeat-y;
  -webkit-mask-size: 50px 290px;
  -webkit-mask-position: -20% 0;
  background-image: linear-gradient(rgba(102, 102, 102, 1) 10px, transparent 0),
    linear-gradient(rgba(102, 102, 102, 1) 30px, transparent 0),
    linear-gradient(rgba(102, 102, 102, 1) 10px, transparent 0),
    linear-gradient(rgba(102, 102, 102, 1) 200px, transparent 0);
  background-repeat: repeat-y;
  background-size: 120px 290px, 80px 290px, 200px 290px, 360px 290px;
  background-position: left 20px top 247px, left 300px top 233px,
    left 20px top 233px, left 20px top 20px;
  animation: shineForSkeleton 2s infinite;
}
@keyframes shineForSkeleton {
  to {
    -webkit-mask-position: 120% 0;
  }
}

/* NEXT */
:root {
  --purple: #603f8b;
  --aqua: #b4fee7;
  --violet: #a16ae8;
  --fuchsia: #fd49a0;
  --white: #eaeaea;
  --black: #222;
  --trueBlack: #000;
  /* --background_main:  */
  --background_footer: #eb6440;
  --card_box_shadow: #f7b787;
  --card_background: #eb6440;
  --card_title_background: rgba(63, 63, 70, 0.75);
  --card_title_text: #e2e8f0;
  --scroll-to-top: #f7b787;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
}

.cards {
  display: grid;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card_image {
  display: flex;
  height: 370px;
  box-shadow: 0 50px 100px 0 var(--card_box_shadow);
}

.card_image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--card_background);
  border-radius: 5px 25px 5px 50px;
  box-shadow: 0 10px 5px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s linear, box-shadow 0.2s;
}
/* 
.card_text:focus,
.card:focus {
  outline: 2px dashed var(--aqua);
} */

/* .card:focus,
.card:hover {
  transform: scale(1.01);
} */

.card_content {
  padding: 0.5rem 1rem 1rem;
  color: var(--white);
}

.card_title {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: auto;
  color: var(--card_title_text);
  padding: 0.5rem;
  border-radius: 5px 0 0 5px;
  transform: rotate(-3.3deg);
  transform-origin: left top;
  font-family: Georgia, Times, serif;
  font-weight: 600;
  font-size: 1.325rem;
  postition: relative;
  overflow: hidden;
  z-index: 1;
  background-color: var(--card_title_background);
  animation: 0s 0s fly-in 0 reverse both;
}

@media (min-width: 535px) {
  .card_title {
    animation: 0.5s 0.25s fly-out 1 both;
  }
}

.card:focus .card_title,
.card:hover .card_title {
  animation: 0.5s ease-in 0s fly-in 1 both;
}

.card_text {
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica,
    Helvetica Neue, Arial, sans-serif;
  line-height: 1.5;
  text-size-adjust: 0.2px;
  padding: 0 1rem;
}

.card_text p:first-of-type:first-letter {
  font-size: 1.8em;
  font-family: Georgia, Times, serif;
  margin-right: 0.05em;
}

@media (min-width: 480px) {
  .card_text {
    overflow: auto;
    max-height: 20rem;
    scrollbar-width: thin;
    scrollbar-color: white;
  }

  .card_text::-webkit-scrollbar {
    width: 5px;
  }

  .card_text::-webkit-scrollbar-track {
    background: var(--violet);
  }

  .card_text::-webkit-scrollbar-thumb {
    background-color: var(--aqua);
  }
}

.card_text strong {
  color: var(--aqua);
}

.upcharge {
  position: relative;
  font-weight: 600;
  background-color: var(--black);
  padding: 0.5rem 0.75rem;
  color: var(--trueBlack);
  border-radius: 0 10px;
  z-index: 0;
  overflow: hidden;
}

.upcharge::after,
.upcharge::before {
  content: "+";
  display: block;
  line-height: 0;
  font-size: 3rem;
  position: absolute;
  color: var(--purple);
  z-index: -1;
  opacity: 0.3;
}

.upcharge::before {
  left: 0;
  top: 0.5rem;
}

.upcharge::after {
  right: 0;
  bottom: 1.25rem;
}

.note {
  display: block;
  text-align: center;
  padding: 0.5rem;
  font-weight: 900;
  background-image: linear-gradient(
    -45deg,
    transparent 10%,
    var(--aqua) 10.5%,
    var(--aqua) 90%,
    transparent 90.5%
  );
  color: var(--black);
  font-size: 1.3em;
  font-style: italic;
  margin-top: 1rem;
}

@keyframes fly-in {
  0% {
    top: 0;
    right: 0;
    font-size: 1.325rem;
  }

  25% {
    top: 0;
    right: -200%;
    font-size: 1.325rem;
  }

  26% {
    font-size: 2rem;
  }

  100% {
    top: 2rem;
    right: 0;
    font-size: 2rem;
  }
}

@keyframes fly-out {
  0% {
    top: 2rem;
    right: 0;
    font-size: 2rem;
  }

  50% {
    top: 0;
    right: -200%;
    font-size: 1.325rem;
  }

  100% {
    top: 0;
    right: 0;
    font-size: 1.325rem;
  }
}

.product-title {
  color: rgb(54, 25, 3);
  margin: 19px 0;
  font-size: 21px;
  font-weight: 600;
}

.titlecard {
  font-size: 40px;
  font-weight: 700;
  background: -webkit-linear-gradient(rgb(68, 56, 2), rgb(59, 32, 2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PRODUCT PAGE */
.prod_img {
  width: 100%;
  border-radius: 0 0 50px 50px;
}

.prod_title_div {
  text-align: center;
  justify-content: center;
}
.prod_title {
  font-size: 50px;
  font-weight: 600;
  padding: 25px 0 20px 0;
}
.prod_main_desc {
  padding-left: 20px;
}

.prod_desc {
  color: #5b6361;
  font-size: 15px;
  padding: 10px 10px 0 0;
}

.prod_price {
  right: 10px;
  display: flex;
  justify-content: end;
  font-weight: 700;
  font-size: 20px;
  margin: 10px;
}

.options {
  margin-left: 20px;
  list-style-type: disclosure-closed;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 500;
}
.price-box-index {
  background-color: #f7b787;
  padding: 10px;
  border-radius: 15px;
}

.price-box-product {
  background-color: #eb6440;
  padding: 10px;
  border-radius: 15px;
}
li::marker {
  color: #832911;
  font-size: 1.3rem;
}

.category-p{
  align-items: center;
  justify-content: center;
    max-width: 90vh;
  margin-top: 10px;
}