/* [project]/apps/mercato/src/app/products/product-detail.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ink: #15171a;
  --muted: #6e7278;
  --line: #d8dce1;
  --blue: #0877d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, SF Pro Text, Helvetica Neue, Arial, sans-serif;
}

.page {
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 54px clamp(24px, 5vw, 76px) 72px;
  display: flex;
}

.topline {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
  display: flex;
}

.back {
  color: #535b65;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back:hover {
  color: var(--blue);
}

.brand {
  color: #6e7278;
  font-size: 13px;
  font-weight: 650;
}

.product {
  padding: clamp(32px, 5vw, 62px) 0 62px;
}

.product-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 28px;
  display: flex;
}

.identity {
  align-items: center;
  gap: 20px;
  min-width: 0;
  display: flex;
}

.icon {
  object-fit: cover;
  border-radius: 29px;
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  box-shadow: 0 1px 1px #00000014, 0 10px 24px #111a261a;
}

.eyebrow {
  color: var(--blue);
  letter-spacing: .075em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 760;
  display: block;
}

h1 {
  letter-spacing: -.052em;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: .98;
}

.status {
  color: #868b91;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
  display: flex;
}

.tick {
  color: #fff;
  background: #0a903d;
  border-radius: 50%;
  place-items: center;
  width: 11px;
  height: 11px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  display: inline-grid;
}

.tick--waiting {
  background: #f2b600;
  font-size: 9px;
}

.platforms {
  color: #969ba1;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  display: block;
}

.install {
  color: #fff;
  background: linear-gradient(#1596ff 0%, #0a84ff 100%);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  box-shadow: inset 0 1px #fff3, 0 1px 2px #0056b93d;
}

.install:hover {
  background: linear-gradient(#38a8ff 0%, #0878ec 100%);
}

.install[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .48;
}

.site-link {
  color: #fff;
  background: linear-gradient(#1596ff 0%, #0a84ff 100%);
  border-radius: 999px;
  flex: none;
  justify-content: center;
  align-self: center;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  box-shadow: inset 0 1px #fff3, 0 2px 5px #0056b93d;
}

.site-link:hover {
  background: linear-gradient(#38a8ff 0%, #0878ec 100%);
}

.site-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .42;
}

.body {
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(28px, 5vw, 62px);
  display: grid;
}

.body p {
  color: #3d4752;
  letter-spacing: -.025em;
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.48;
}

.body p + p {
  margin-top: 22px;
}

.body p.meta {
  margin-top: 18px;
}

.actions {
  margin-top: 32px;
}

.features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features-title {
  color: var(--blue);
  letter-spacing: -.052em;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: .98;
  display: flex;
}

.features-title:after {
  content: "";
  background: #e1e9f0;
  flex: 1;
  height: 1px;
}

.features li {
  color: #435260;
  letter-spacing: -.025em;
  min-height: 0;
  padding: 0 0 13px 48px;
  font-size: 18px;
  line-height: 1.48;
  position: relative;
}

.features li + li {
  padding-top: 13px;
}

.features li:before {
  color: #0877d1;
  content: "✓";
  text-align: center;
  background: #fff;
  border: 1.5px solid #1389eb;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 15px;
  font-weight: 800;
  line-height: 26px;
  position: absolute;
  top: 0;
  left: 0;
}

.features li + li:before {
  top: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  display: flex;
}

.footer-blog {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.footer-blog:hover {
  text-underline-offset: 4px;
  text-decoration: underline;
}

@media (max-width: 880px) {
  .body {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 650px) {
  .page {
    padding: 31px 20px 42px;
  }

  .brand {
    display: none;
  }

  .product {
    padding: 30px 0 42px;
  }

  .product-head {
    gap: 14px;
    padding-bottom: 22px;
  }

  .identity {
    align-items: flex-start;
    gap: 14px;
  }

  .icon {
    border-radius: 21px;
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }

  h1 {
    font-size: 31px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .site-link {
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
  }

  .body {
    gap: 28px;
    padding-top: 30px;
  }

  .body p {
    font-size: 18px;
  }

  .features-title {
    font-size: 31px;
  }

  .features li {
    min-height: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.body-copy {
  flex-direction: column;
  display: flex;
}

.stores {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 40px;
  display: flex;
}

.store-badge {
  border: 1px solid var(--line);
  min-height: 40px;
  color: var(--ink);
  letter-spacing: -.012em;
  background: none;
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  padding: 0 20px 0 16px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
  display: inline-flex;
}

.store-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f4f9ff;
}

.store-badge:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #8fc8ff;
}

.store-badge svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
}

.store-badge-name {
  display: block;
}

@media (max-width: 880px) {
  .stores {
    padding-top: 28px;
  }
}

@media (min-width: 881px) {
  .page {
    min-height: calc(100dvh - 1px);
    padding: 25px clamp(24px, 5vw, 76px) 19px;
  }

  .product {
    padding: 13px 0;
  }

  .icon {
    border-radius: 24px;
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
  }

  .product-head {
    padding-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(32px, 3.6vw, 44px);
  }

  .status {
    margin-top: 6px;
  }

  .body {
    gap: clamp(30px, 3.9vw, 60px);
    padding-top: 18px;
  }

  .body p {
    font-size: 17px;
    line-height: 1.47;
  }

  .body p + p {
    margin-top: 15px;
  }

  .body p.meta {
    margin-top: 13px;
  }

  .features-title {
    margin: 0 0 20px;
    font-size: clamp(32px, 3.6vw, 44px);
  }

  .features li {
    padding: 0 0 8px 38px;
    font-size: 17px;
    line-height: 1.45;
  }

  .stores {
    padding-top: 20px;
  }

  .footer {
    padding-top: 12px;
    font-size: 13px;
  }
}

@media (min-width: 881px) and (max-width: 1099px) {
  .page {
    min-height: calc(100dvh - 1px);
    padding: 22px clamp(24px, 3.5vw, 44px) 18px;
  }

  .product {
    padding: 14px 0;
  }

  .icon {
    border-radius: 22px;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
  }

  .product-head {
    padding-bottom: 16px;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(28px, 3.4vw, 38px);
  }

  .status {
    margin-top: 6px;
  }

  .body {
    gap: clamp(28px, 3.6vw, 44px);
    padding-top: 18px;
  }

  .body p {
    font-size: 16px;
    line-height: 1.45;
  }

  .body p + p {
    margin-top: 14px;
  }

  .body p.meta {
    margin-top: 12px;
  }

  .features-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.4vw, 38px);
  }

  .features li {
    padding: 0 0 7px 34px;
    font-size: 16px;
    line-height: 1.43;
  }

  .stores {
    padding-top: 18px;
  }

  .footer {
    padding-top: 10px;
    font-size: 13px;
  }
}

@media (min-width: 881px) and (max-height: 720px) {
  .page {
    min-height: calc(100dvh - 1px);
    padding: 20px clamp(24px, 3.5vw, 60px) 16px;
  }

  .product {
    padding: 12px 0;
  }

  .icon {
    border-radius: 19px;
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }

  .product-head {
    padding-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(26px, 3vw, 34px);
  }

  .status {
    margin-top: 5px;
  }

  .body {
    gap: clamp(24px, 3vw, 44px);
    padding-top: 16px;
  }

  .body p {
    font-size: 15.5px;
    line-height: 1.42;
  }

  .body p + p {
    margin-top: 12px;
  }

  .body p.meta {
    margin-top: 10px;
  }

  .features-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 34px);
  }

  .features li {
    padding: 0 0 6px 30px;
    font-size: 15.5px;
    line-height: 1.4;
  }

  .stores {
    padding-top: 16px;
  }

  .footer {
    padding-top: 9px;
    font-size: 13px;
  }
}

.stores .store-badge[data-pending="true"] {
  cursor: default;
  opacity: .45;
}

.stores .store-badge[data-pending="true"]:hover {
  border-color: var(--line);
  color: var(--ink);
  background: none;
}

