@charset "utf-8";

section .sec-wrap {
  border-bottom: 1px solid var(--clr-border-200);
}

section:first-of-type .sec-wrap {
  padding-bottom: 0;
  border-bottom: none;
}

section:nth-last-of-type(2) .sec-wrap {
  padding-bottom: 50px;
  border-bottom: none;
}

.logo-text {
  position: relative;
  color: var(--clr-neutral-100);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.logo-text::before {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 178px;
  height: 110px;
  transform: translate(-50%, -50%);
  background: url("../img/pos-detail/title_shape.svg") no-repeat center/contain;
  content: "";
  z-index: -1;
}

.pos-full-card {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin-top: 40px;
  padding: 40px;
  border: 2px solid var(--clr-neutral-100);
  border-radius: 20px;
  box-shadow: var(--card-shadow-lg);
  background-color: var(--clr-green-200);
  gap: 20px;
  margin-inline: auto;
}

.pos-full-card h1 {
  color: var(--clr-neutral-900);
  font-size: 24px;
  font-weight: 500;
}

.pos-section {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-border-200);
}

.pos-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.title-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.title-container img {
  width: 25px;
  height: 25px;
}

.title-container p {
  margin: 0;
  color: var(--clr-primary);
  font-size: 18px;
  font-weight: 700;
}

.list-container {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  list-style-type: disc;
  gap: 10px;
}

.list-container li::marker {
  color: var(--clr-neutral-300);
  font-size: 12px;
}

/* Retail POS Standalone page */
.one-col-retails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 20px;
  padding-inline: 60px;
  justify-items: center;
}

.retail-row {
  display: contents;
}

.one-col-retails .logo-text,
.logo-text.restaurant {
  margin-top: 62px;
}

.one-col-retails .logo-text {
  margin-bottom: 48px;
}

.one-col-retails .product-grid-item {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 20px 40px;
  border: 1.5px solid var(--clr-primary);
  border-radius: 20px;
  background-color: var(--clr-neutral-100);
}

.pos-flex {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.one-row {
  margin-top: 82px;
}

/* Restaurant POS page */
.product-grid-container.one-col.restaurant {
  max-width: 1000px;
  margin: auto;
  margin-top: 20px;
}

.list-container.restaurant-list {
  padding-left: 20px;
}


/* Feature Comparison Highlights & Badges */
.pos-section.pos-section-disabled {
  opacity: 0.5;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  padding: 10px;
}

.title-container p.muted-text,
.list-container.muted-text {
  color: var(--clr-border-100);
}

.pos-section.pos-section-highlight {
  background: var(--card-gradient);
  border: 1.5px solid var(--clr-primary);
  border-radius: 10px;
  padding: 10px;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: auto;
  text-transform: uppercase;
  display: inline-block;
}

.badge-exclusive {
  background-color: var(--clr-primary);
  color: var(--clr-neutral-100);
}

.badge-grey {
  background-color: var(--clr-border-200);
  color: var(--clr-neutral-600);
}


@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .pos-flex {
    flex-direction: column;
  }
}

@media only screen and (max-width: 768px) {
  .logo-text {
    margin-bottom: 13.333vw;
    font-size: 4.103vw;
  }

  .logo-text::before {
    width: 31.795vw;
    height: 20vw;
  }

  .pos-full-card h1 {
    font-size: 4.615vw;
  }

  .title-container p {
    font-size: 4.103vw;
  }

  .pos-full-card {
    padding: 5.128vw;
    gap: 2.564vw;
  }

  .title-container img {
    width: 5.128vw;
    height: 5.128vw;
  }

  .one-row {
    margin-top: 11.538vw;
  }

  .one-col-retails {
    display: grid;
    margin-top: 5.128vw;
    grid-template-columns: 1fr;
    gap: 2.564vw;
    padding-inline: 5.128vw;
  }

  .one-col-retails .logo-text {
    margin-top: 6vw;
    margin-bottom: 7vw;
  }

  .retail-row> :nth-child(1) {
    order: 1;
  }

  .retail-row> :nth-child(2) {
    order: 2;
  }

  .pos-flex {
    flex-direction: column;
  }
}
