/* CoverBlock: Figma PlanoHero-New, "Visual Merchandising Software", the "What Does ... Cover" section (869d5bbhy) */

.vs-cover {
  padding: 2.8rem 0;
  margin-bottom: 3.5rem;
}

.vs-cover .section-text {
  max-width: 746px;
  margin: 0 auto 1.875rem;
  text-align: center;
}

.vs-cover .section-text .description {
  max-width: 720px;
  margin: 0.875rem auto 0;
  font-size: clamp(1.125rem, 1.0947rem + 0.1294vw, 1.375rem);
  line-height: 1.4;
  color: #333;
}

.vs-cover-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.875rem;
}

.vs-cover-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2.375rem;
  background: var(--grayscale-color-1, #fff);
  border: 1px solid #ffede5;
  border-radius: 25px;
  box-shadow: 0 4px 50px rgba(131, 144, 170, 0.08);
}

.vs-cover-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.vs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff3ea;
}

.vs-cover-number {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: #f9f8f7;
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
}

.vs-cover-card h3 {
  margin: 0;
  font-size: clamp(1.375rem, 1.3447rem + 0.1294vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  color: #222;
}

.vs-cover-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
}

.vs-cover-note {
  max-width: 640px;
  margin: 1.875rem auto 0;
  text-align: center;
  color: #6c757d;
}

.vs-cover-note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #222;
}

.vs-cover-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.vs-cover-note a {
  color: #ff6f00;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .vs-cover {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }

  .vs-cover-card {
    padding: 1.5rem;
  }
}

/* Page-level design edits for /visual-merchandising-software/ (869d5bbhy). They sit here because this file loads only
   on pages with the cover block; `main:has(.vs-cover)` keeps them off the shared banner and form blocks elsewhere. */

/* Desktop: "Contact sales" as wide as "Try for free" */
@media (min-width: 769px) {
  main:has(.vs-cover) .banner .buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  main:has(.vs-cover) .banner .buttons-container .second-btn {
    height: 100%;
    align-items: center;
  }
}

main:has(.vs-cover) .request-presentation .request-presentation-form {
  background: #f9f8f7;
}

main:has(.vs-cover) .request-presentation .request-presentation-form input:not([type="checkbox"]),
main:has(.vs-cover) .request-presentation .request-presentation-form .select-selected {
  background-color: var(--grayscale-color-1) !important;
}

/* Mobile design review (869d5bbhy) */
@media screen and (max-width: 768px) {
  /* Buttons about 250px wide */
  main:has(.vs-cover) .banner .buttons-container,
  main:has(.vs-cover) .free-trial .buttons-container {
    width: auto;
  }

  main:has(.vs-cover) .banner .buttons-container :is(.main-btn, .second-btn),
  main:has(.vs-cover) .free-trial .free-trial-content .main-btn {
    width: 250px;
    min-width: 0;
    max-width: 100%;
  }

  main:has(.vs-cover) .banner .buttons-container .main-btn {
    justify-content: space-between;
  }

  /* One size for every section title */
  main:has(.vs-cover) section.section-del h2,
  main:has(.vs-cover) section.section-del h2 span,
  main:has(.vs-cover) .free-trial .free-trial-content-text .cta-title {
    font-size: 26px;
  }

  /* Texts under the section titles */
  main:has(.vs-cover) section :is(.section-text .description, .section-description, .free-trial-description),
  main:has(.vs-cover) .free-trial .free-trial-content-text .free-trial-description,
  main:has(.vs-cover) .vs-results-text p {
    font-size: 16px;
  }

  /* 60px between all blocks: sections without their own background lose the vertical padding, every section gets
     the same bottom margin */
  main:has(.vs-cover) section.section-del {
    margin-top: 0;
    margin-bottom: 60px;
  }

  main:has(.vs-cover) section:is(.banner, .vs-cover, .retailer-merch, .vs-roles, .strategic, .vs-results, .free-trial) {
    padding-bottom: 0;
  }

  main:has(.vs-cover) section:is(.vs-cover, .retailer-merch, .vs-roles, .strategic, .vs-results, .free-trial) {
    padding-top: 0;
  }
}

/* Mobile design review (869d5bbhy): 16px between cards, 42px icons, 20px card padding (cover and roles cards) */
@media screen and (max-width: 768px) {
  .vs-roles-cards,
  .vs-cover-cards {
    gap: 1rem;
  }

  .vs-roles-card,
  .vs-cover-card {
    padding: 20px;
  }

  .vs-roles .vs-icon,
  .vs-cover .vs-icon {
    width: 42px;
    height: 42px;
  }

  .vs-roles .vs-icon img,
  .vs-cover .vs-icon img {
    width: 27px;
    height: 27px;
  }
}
