.content-footer {
  display: grid;
  -webkit-box-pack: center;
  justify-content: center;
  align-items: center;
  padding: 1rem 0px;
}

.content-footer img {
  width: 348px;
  height: 200px;
}

.content-header {
  margin-top: 3.8rem !important;
}

@media (max-width: 375px) {
  .content-header {
    margin-top: 3.8rem !important;
  }
}

@media (max-width: 300px) {
  ul.digital-cards li {
    width: 100%;
  }
}

/* Digital gift card List  */

.gift-card__block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 215px));
  grid-row-gap: 0;
  grid-column-gap: 3em;
  justify-content: center;
  padding: 0 3em;
  padding-bottom: 3em;
  width: 100%;
}

.giftcards-list__item-div {
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-gap: 1em;
  justify-items: center;
  background: white;
  border-radius: 5px;
  padding-bottom: 1em;
}

.giftcards-list__item_img {
  width: 200px;
  height: auto;
  user-select: none;
  border-radius: 5px;
  pointer-events: none;
  filter: drop-shadow(-1px 4px 3px rgba(50, 50, 0, 0.5));
}

.giftcards-list__item_description {
  display: grid;
  grid-template-rows: repeat(2, auto);
  text-align: center;
}

.giftcards-list__item_description p {
  color: #2d2d2d;
  font-size: 0.85rem;
}

.giftcards-list__item_description p.bold {
  font-family: var(--primary-bold-font), georgia, serif;
}

.giftcards-list__discount-tag-wrap {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
}

.giftcard-list__wrapper {
  margin: 0px auto;
  width: 1200px;
}

@media (max-width: 1200px) {
  .giftcard-list__wrapper {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .gift-card__block {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 545px) {
  .gift-card__block {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
@media (max-width: 456px) {
  .gift-card__block {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media (max-width: 329px) {
  .gift-card__block {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}

@media (max-width: 768px) {
  .giftcards-list__item_img {
    width: 100%;
    height: auto;
  }
}

/* Category List */

.linkbtn-list__wrapper {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .linkbtn-list__wrapper {
    width: calc(100vw - 1.1em);
  }
}
@media (max-width: 768px) {
  .linkbtn-list__wrapper {
    width: 100vw;
  }
}

::-webkit-scrollbar {
  display: none;
}
.scrolling-block__div-with-arrows {
  display: grid;
  gap: 0.5em;
  -webkit-box-align: center;
  align-items: center;
}
.scrolling-block__wrapper {
  overflow-y: hidden;
  overflow-x: scroll;
  scrollbar-width: thin;
  scrollbar-color: white white;
}

.scrolling-block__wrapper ::-webkit-scrollbar {
  width: 0rem;
  height: 0;
  right: 0rem;
}
.scrolling-block__wrapper ::-webkit-scrollbar-track {
  border: 0px solid white;
  background-color: white;
  opacity: 0;
  border-radius: 0px;
  margin: 0rem;
}
.scrolling-block__wrapper ::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 0px;
}

:root {
  --category_width: calc(1350px + 2em + 8em);
}

.linkbtn-list {
  width: var(--category_width);
  margin: 1em 0px;
  padding: 0.25em 1em;
  display: flex;
  -webkit-box-pack: start;
  justify-content: center;
}

.categories-btn {
  width: 150px;
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0.5em;
  font-size: 1em !important;
  color: var(--primary-color);
  font-family: var(--secondary-medium-font), georgia, serif;
  user-select: none;
  text-align: center;
}
.categories-btn:hover {
  color: var(--primary-color);
}

.categories-btn:not(:first-of-type) {
  margin-left: 1em;
}
.categories-btn.active {
  background: var(--primary-color);
  box-shadow: inset 0 0 1px 1px var(--primary-color);
  color: #fff;
}

body {
  font-size: 0.95rem;
}

/* Discount Tag CSS start */
.discount-tag__wrapper {
  position: relative;
  z-index: 2;
}
.dicount-tag__div-wrap {
  filter: drop-shadow(-1px 4px 3px rgba(50, 50, 0, 0.5));
}

.discount-tag__div {
  display: none;
  position: absolute;
  top: 1em;
  right: 0;
  background-color: #e94d55;
  -webkit-clip-path: polygon(10% 0%, 100% 1%, 100% 100%, 10% 100%, 0% 50%);
  clip-path: polygon(10% 0%, 100% 1%, 100% 100%, 10% 100%, 0% 50%);
  text-align: center;
  padding: 0 1em;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.discount-tag__div:hover {
  padding-right: 2em;
}

.discount-tag__text {
  color: #fff;
  font-family: var(--secondary-bold-font), georgia, serif;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .discount-tag__text {
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  .discount-tag__text {
    font-size: 0.6rem;
  }
}
/* Discount Tag CSS end */
