


/* ==== Buttons ==== */
.button-primary {
  --btn-bg: #2ad4c0;
  --btn-fg: #16161a;
  --btn-border: #2ad4c0;
  --btn-radius: 4px;
  --btn-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 272px;               
  min-height: var(--btn-height);
  padding: 8px 0 0 0;          
  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;

  font-family: "Calibre-bold", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.218px;

  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease, background-color .15s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

.button-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.button-primary:focus-visible {
  outline: 3px solid #0aaea3;
  outline-offset: 2px;
}

.button-primary[disabled],
.button-primary.is-disabled {
  opacity: .6;
  pointer-events: none;
}

.button-primary--auto { width: 100%; }

@media (max-width: 480px) {
  .button-primary { font-size: 20px; }
}

/* Hero Section */
.marketplace-hero {
  position: relative;
  height: 80vh !important;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__frame {
	width: 100%;
  	border-radius: var(--radius-md);
  	overflow: hidden;
 	box-shadow: var(--shadow-md);
}

.marketplace-before-after .container {
    max-width: 1312px;
    margin: 0 auto;
}

.marketplace-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.has-ipad-frame.no-shadow {
	box-shadow: none;
}

.marketplace-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .marketplace-hero__background {
    object-position: top center; 
  }
}


.marketplace-hero__identify {
    font-family: "Calibre-Bold", sans-serif;
    font-size: 32px;
    color: #00B09B;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .marketplace-hero__identify {
        font-size: 24px;
    }
}

.marketplace-hero__title {
  font-family: "Calibre-bold";
  font-weight: 700;
  font-size: 72px;
  line-height: 1.1;
  color: #ffffff;
  text-align: center;
  max-width: 1050px;
  margin: 0 auto 24px;
}

@media (max-width: 1024px) {
  .marketplace-hero__title {
    font-size: 56px;
  }
}

.media-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* When framing: we will inline aspect-ratio from PHP, e.g. 2048/1536 */
}

.media-frame__screen {
	position: absolute;
  	top:    calc(var(--frame-inset-top, 0%)    - var(--frame-bleed, 0%));
  	right:  calc(var(--frame-inset-right, 0%)  - var(--frame-bleed, 0%));
  	bottom: calc(var(--frame-inset-bottom, 0%) - var(--frame-bleed, 0%));
  	left:   calc(var(--frame-inset-left, 0%)   - var(--frame-bleed, 0%));
  	border-radius: var(--frame-screen-radius, 0);
  	overflow: hidden;
  	z-index: 1; /* under the bezel overlay */
}

@media (max-width: 480px) {
  .media-frame__screen {
    top:    calc(var(--frame-inset-top-mobile, 0%)    - var(--frame-bleed-mobile, 0%));
  	right:  calc(var(--frame-inset-right-mobile, 0%)  - var(--frame-bleed-mobile, 0%));
  	bottom: calc(var(--frame-inset-bottom-mobile, 0%) - var(--frame-bleed-mobile, 0%));
  	left:   calc(var(--frame-inset-left-mobile, 0%)   - var(--frame-bleed-mobile, 0%));
  	border-radius: var(--frame-screen-radius-mobile, 0);
  }
}

.media-frame__screen > img,
.media-frame__screen > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;     /* cover the screen area */
}

/* The iPad bezel overlay */
.media-frame__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  object-fit: fill;
  z-index: 2;
}

.marketplace-hero__subtitle {
  font-family: "Calibre-semibold";
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .marketplace-hero__subtitle {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .marketplace-hero__title {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -0.5px;
  }

  .marketplace-hero__subtitle {
    font-size: 20px;
    line-height: 20px;
  }
}

.marketplace-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Before & After Section */

.marketplace-before-after {
  display: flex;
  justify-content: center;
  padding: 80px 0px;
}

@media (max-width: 768px) {
	.marketplace-before-after {
	  padding: 15px 0px;
	}
}

.before-after-media-wrapper,
.before-after-image-wrapper {
  width: 100%;
  max-width: 1312px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto; 
}

.before-after-media-wrapper .before-after__media,
.before-after-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.before-after-media-wrapper video.before-after__media {
  object-fit: cover;     
  background: #000;     
}


/* Company Story Section */
.marketplace-company-story {
  padding: 0 0px 80px;
  background-color: #ffffff;
}

.marketplace-company-story .container {
  max-width: 1312px;
  margin: 0 auto;
}

.company-story__marker {
  width: 80px;
  height: 6px;
  background-color: #00CEC9;
  margin-bottom: 32px;
}

.company-story__title {
  font-family: "Calibre-bold";
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  color: #232329;
  letter-spacing: 0.65px;
  margin-bottom: 24px;
  text-align: left;
}

.company-story__subheading {
  font-family: "Calibre-bold";
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #232329;
  letter-spacing: 0.29px;
  margin-bottom: 32px;
  text-align: left;
}

.company-story__description {
  font-family: "Calibre-semibold";
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.29px;
  color: #232329;
  margin-bottom: 48px;
  text-align: left;
  max-width: 1312px;
}

@media (max-width: 1024px) {
  .company-story__title {
    font-size: 56px;
    line-height: 56px;
    margin-bottom: 12px;
  }
  .company-story__subheading,
  .company-story__description {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .company-story__title {
    font-size: 40px;
    line-height: 40px;
	margin-bottom: 12px;
  }
	
  .company-story__subheading {
    font-size: 20px;
    line-height: 20px;
	margin-bottom: 12px;
  }
	
  .company-story__description {
    font-size: 20px;
    line-height: 1.19;
	margin-bottom: 16px;
  }
	
  .marketplace-company-story .btn-primary,
  .marketplace-pricekit .btn-primary {
    margin-top: 12px;
  }
}

@media screen and (max-width: 767px) {
    .btn-primary {
        width: 70% !important;
        text-align: center !important;
        padding: 8px 0 0 0 !important;
    }
}

/* Manufacturers Section */
.marketplace-manufacturers {
  padding-bottom: 80px;
  background-color: #ffffff;
}

.marketplace-manufacturers .container {
  max-width: 1312px;
  margin: 0 auto;
}

.manufacturers-header {
  margin-bottom: 64px;
}

.section-marker {
  width: 80px;
  height: 6px;
  background-color: #00CEC9;
  margin-bottom: 32px;
}

.manufacturers-title {
  font-family: "Calibre-bold";
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  color: #232329;
  letter-spacing: 0.65px;
  margin-bottom: 24px;
  text-align: left;
}

.manufacturers-subtitle {
  font-family: "Calibre-semibold";
  font-size: 32px;
  font-weight: 600;
  color: #232329;
  line-height: 1.5;
  letter-spacing: 0.29px;
  max-width: 1312px;
  text-align: left;
}

.manufacturers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.manufacturer-card {
  width: 100%;
  aspect-ratio: 416 / 280;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.manufacturer-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.manufacturer-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .manufacturers-title {
    font-size: 56px;
    line-height: 56px;
    margin-bottom: 8px;
  }

  .manufacturers-subtitle {
    font-size: 24px;
    margin-bottom:8px;
  }
}

@media (max-width: 480px) {
  .manufacturers-title {
    font-size: 40px;
    line-height: 40px;
	margin-bottom: 12px;
  }

  .manufacturers-subtitle {
    font-size: 20px;
    line-height: 20px;
	margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .manufacturers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 10px;
  }

  .manufacturer-card {
    padding: 20px;
    aspect-ratio: 4 / 3;
  	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px; 
  }

  .manufacturer-card img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
  }
}


@media (max-width: 320px) {
  .manufacturers-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .manufacturer-card {
    aspect-ratio: auto;
    padding: 16px;
  }

  .manufacturer-card img {
    max-width: 100%;
  }
}


/* Services Section */
.marketplace-services {
  padding: 0 20px 80px;
  background-color: #ffffff;
}

.marketplace-services .container {
  max-width: 1312px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 64px;
}

.services-title {
  font-family: "Calibre-bold";
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  color: #232329;
  letter-spacing: 0.65px;
  margin-bottom: 24px;
  text-align: left;
}

.services-subtitle {
  font-family: "Calibre-semibold";
  font-size: 32px;
  font-weight: 500;
  color: #232329;
  line-height: 1.5;
  letter-spacing: 0.29px;
  max-width: 1312px;
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  width: 100%;
  max-width: 416px;
  height: 394px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card__image {
  background-color: #f2f2ef;
  height: 280px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__title {
  height: 114px;
  padding: 24px 32px;
  font-family: "Calibre-bold";
  font-size: 32px;
  font-weight: 700;
  color: #232329;
  letter-spacing: -0.75px;
  line-height: 36px;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .services-title {
    font-size: 56px;
    line-height: 56px;
    margin-bottom:12px;
  }

  .services-subtitle {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .service-card__title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .services-title {
    font-size: 40px;
    line-height: 40px;
	margin-bottom: 12px;
  }

  .services-subtitle {
    font-size: 20px;
    line-height: 1.19;
	margin-bottom: 16px;
  }

  .service-card__title {
    font-size: 20px;
    line-height: 20px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .service-card {
    max-width: 100%;
    height: 156px;
    aspect-ratio: 4 / 3;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  }

  .service-card__image {
    height: 106px;
    background-color: #f2f2ef;
  }

  .service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-card__title {
    font-size: 16px;
    padding: 12px;
    line-height: 1.2;
    height: auto;
  }
}

/* Sales Enablement Section */
.marketplace-sales {
  padding: 0 20px 80px;
  background-color: #ffffff;
}

.marketplace-sales .container {
  max-width: 1312px;
  margin: 0 auto;
}

.sales-header {
  margin-bottom: 64px;
}

.sales-title {
  font-family: "Calibre-bold";
  font-size: 72px;
  font-weight: 700;
  color: #232329;
  letter-spacing: 0.65px;
  line-height: 72px;
  margin-bottom: 24px;
  text-align: left;
}

.sales-subtitle {
  font-family: "Calibre-semibold";
  font-size: 32px;
  font-weight: 500;
  color: #232329;
  line-height: 1.4;
  letter-spacing: 0.29px;
  max-width: 1312px;
  text-align: left;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.sales-card {
  background-color: #ffffff;
  width: 100%;
  aspect-ratio: 416 / 280;          
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
}

.sales-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.sales-card__link-wrapper {
  display: flex;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.sales-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;                    
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.sales-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;              
  display: block;
}

.sales-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: #ffffff;
}

@media (max-width: 480px) {
  .sales-title {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 12px;
  }
  .sales-subtitle {
    font-size: 20px;
    line-height: 1.19;
    margin-bottom: 16px;
  }
  .sales-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }
  .sales-card {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .sales-card__image {
    padding: 10px;                 
  }
}

@media (max-width: 1024px) {
  .sales-title { font-size: 56px; line-height: 56px; margin-bottom: 12px;}
  .sales-subtitle { font-size: 24px; line-height: 1.2; margin-bttom: 16px;}
}


/* Banner Section */
.marketplace-sales-banner {
  display: flex;
  justify-content: center;
  padding: 0 20px 80px;
}

.marketplace-sales-banner img {
  width: 100%;
  max-width: 1312px;
  height: auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.sales-banner-media-wrapper {
  width: 100%;
  max-width: 1312px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.sales-banner-media-wrapper .sales-banner__media {
  display: block;
  width: 100%;
  height: auto;
}

.sales-banner-media-wrapper video.sales-banner__media {
  object-fit: cover;
  background: #000; 
}


@media (max-width: 1024px) {
  .sales-title {
    font-size: 56px;
  }
  .sales-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .sales-title {
    font-size: 40px;
    line-height: 40px;
  }
  .sales-subtitle {
    font-size: 20px;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .sales-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .sales-card {
    aspect-ratio: 4 / 3;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .sales-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

/* PriceKit Section */
.marketplace-pricekit {
  padding: 0 20px 80px;
  background-color: #ffffff;
}

.marketplace-pricekit .container {
  max-width: 1312px;
  margin: 0 auto;
  text-align: left;
}

.pricekit-title {
  font-family: "Calibre-bold";
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  color: #232329;
  letter-spacing: 0.65px;
  margin-bottom: 24px;
}

.pricekit-subtitle {
  font-family: "Calibre-bold";
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #232329;
  letter-spacing: 0.29px;
  margin-bottom: 24px;
}

.pricekit-description {
  font-family: "Calibre-semibold";
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  color: #232329;
  letter-spacing: 0.29px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .pricekit-title {
    font-size: 56px;
    line-height: 56px;
    margin-bottom: 12px;
  }
  .pricekit-subtitle,
  .pricekit-description {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .pricekit-title {
    font-size: 40px;
    line-height: 40px;
	margin-bottom: 12px;
  }

  .pricekit-subtitle {
    font-size: 20px;
    line-height: 20px;
	margin-bottom: 12px;
  }
	
  .pricekit-description {
    font-size: 20px;
    line-height: 1.19;
	margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .marketplace-hero,
  .marketplace-before-after,
  .marketplace-company-story,
  .marketplace-manufacturers,
  .marketplace-services,
  .marketplace-sales,
  .marketplace-sales-banner,
  .marketplace-pricekit {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

@media (min-width: 1025px) {
  /* Heading */
  .manufacturers-title,
  .services-title,
  .sales-title,
  .pricekit-title,
  .company-story__title {
    line-height: 72px; /* == font-size */
  }

  /* Subheading */
  .manufacturers-subtitle,
  .services-subtitle,
  .sales-subtitle,
  .pricekit-subtitle,
  .company-story__subheading {
    line-height: 38px; /* == font-size */
  }

  /* Paragraph */
  .pricekit-description,
  .company-story__description {
    line-height: 38px; /* == font-size */
  }
}

@media (min-width: 1025px) {
  /* Title → Subtitle */
  .manufacturers-title,
  .services-title,
  .sales-title,
  .pricekit-title,
  .company-story__title {
    margin-bottom: 12px;
  }

  /* Subtitle → Paragraph */
  .manufacturers-subtitle,
  .services-subtitle,
  .sales-subtitle,
  .pricekit-subtitle,
  .company-story__subheading {
    margin-bottom: 12px;
  }

  /* Paragraph → Button */
  .pricekit-description,
  .company-story__description {
    margin-bottom: 24px;
  }