/* The Card Exchange · live storefront additions (loaded after style.css and experience.css) */

/* Header: plain links plus one bordered call to action */
header nav > a:not(.bag) {
  padding: 8px 2px;
}
header nav .bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
header nav .bag svg {
  width: 18px;
  height: 18px;
}

/* Header call button: full number on desktop, "Call us" on phones.
   Undo the old bag-count badge styling that .bag span inherits. */
header nav .bag span.cta-long,
header nav .bag span.cta-short {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  color: inherit;
  border-radius: 0;
  white-space: nowrap;
}
header nav .bag span.cta-short {
  display: none;
}
.hero-note span {
  white-space: nowrap;
}
.nowrap {
  white-space: nowrap;
}
.hero-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.panel .button.full + .button.full {
  margin-top: 10px;
}
.partner-cta {
  display: inline-block;
  margin-top: 18px;
}

.world-text {
  font-size: 34px;
  color: var(--world-color);
}

/* Uniform product tiles: fixed-height visual, two-line title, price row pinned to the bottom */
.product {
  display: flex;
  flex-direction: column;
}
.product .product-visual {
  flex: none;
  height: 250px;
  min-height: 0;
}
.product > h3 {
  margin: 14px 16px 4px;
  font-size: 16px;
  line-height: 1.3;
  min-height: calc(2 * 1.3em);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product > .product-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product > .product-bottom {
  margin-top: auto;
  padding-top: 12px;
  gap: 8px;
}
.product .price {
  flex: none;
}
.product .grade-pill {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  flex: 0 1 auto;
}

/* Styled product card used when a product has no photo */
.product-visual {
  padding: 14px;
}
.product-visual .box-art {
  height: 100%;
  min-height: 0;
}
.box-art {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: 6px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  color: var(--ink);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--box-color) 55%, #fff) 0%,
    color-mix(in srgb, var(--box-color) 18%, #faf8ef) 60%,
    #faf8ef 100%
  );
  border: 1px solid color-mix(in srgb, var(--box-color) 40%, #d7ddcd);
  box-shadow:
    inset 0 0 0 6px #faf8ef,
    inset 0 0 0 7px color-mix(in srgb, var(--box-color) 50%, #d7ddcd);
  overflow: hidden;
}
.box-art small {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #4e5a52;
}
.box-art > span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.1;
  letter-spacing: -0.4px;
  overflow-wrap: break-word;
  padding-right: 10px;
}
.box-art img {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 54px;
  height: auto;
  opacity: 0.9;
}
.box-photo {
  max-width: 100%;
  max-height: 222px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-visual:has(.box-photo) {
  background: #fffdf7;
}
.detail-art.product-visual {
  min-height: 420px;
  padding: 30px;
}
.detail-art.product-visual:has(.box-photo) {
  padding: 16px;
}
.detail-art .box-art {
  min-height: 360px;
}
.detail-art .box-art > span {
  font-size: clamp(22px, 3vw, 36px);
}
.detail-art .box-art img {
  width: 80px;
}
.detail-art .box-photo {
  max-height: 480px;
}
.detail .button.full {
  margin-top: 6px;
}
.detail .button.full + .button.full {
  margin-top: 10px;
}
.button svg {
  width: 18px;
  height: 18px;
}

/* Shop filters, compact three-column row */
.filters.compact {
  grid-template-columns: 2fr 1fr 1fr;
}
.filters.compact label:first-child {
  grid-column: auto;
}

/* Locations */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.location-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 6px;
  padding: 28px;
}
.location-card.soon {
  border-top-color: var(--yellow);
  background: #faf8ef;
}
.location-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 14px;
}
.status-pill {
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--green);
  color: #fff7d6;
}
.location-card.soon .status-pill {
  background: var(--yellow);
  color: var(--ink);
}
.location-card h2 {
  margin: 0 0 8px;
}
.location-card address {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 14px;
}
.hours td {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.hours td:last-child {
  text-align: right;
  font-weight: 600;
}
.location-card .actions {
  margin-top: 16px;
}
.location-card .notice {
  margin-top: 10px;
  margin-bottom: 8px;
}
.wrap-tight .adventure {
  margin-bottom: 40px;
}

/* Contact */
.contact-method h3 a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
}
@media (min-width: 721px) and (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .filters.compact {
    grid-template-columns: 1fr;
  }
  .product .product-visual {
    height: 200px;
  }
  .product .box-photo {
    max-height: 172px;
  }
  .product > h3 {
    margin: 12px 10px 4px;
    font-size: 14px;
    -webkit-line-clamp: 3;
    min-height: calc(3 * 1.3em);
  }
  .product > .product-meta {
    font-size: 11px;
  }
  .product .grade-pill {
    max-width: 55%;
  }
  .box-art {
    min-height: 170px;
    padding: 16px 14px 14px;
  }
  .box-art > span {
    font-size: 15px;
  }
  .box-art img {
    width: 40px;
    top: 12px;
    right: 12px;
  }
  .detail-art.product-visual {
    min-height: 300px;
  }
  .detail-art .box-art {
    min-height: 260px;
  }
  .detail-art .box-art > span {
    font-size: 26px;
  }
}

/* Phone header: four items in one even row */
@media (max-width: 720px) {
  header nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 6px 3%;
    font-size: 12px;
  }
  header nav > a:not(.bag) {
    flex: 1 1 0;
    min-height: 38px;
    padding: 6px 0;
    white-space: nowrap;
  }
  header nav .bag {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    gap: 5px;
  }
  header nav .bag svg {
    width: 15px;
    height: 15px;
  }
  header nav .bag span.cta-long {
    display: none;
  }
  header nav .bag span.cta-short {
    display: inline;
  }
}

/* Small label beside the location ("Pop Up Shop") */
.label-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.trust .label-pill {
  margin-left: 6px;
}

/* "What's next" teaser */
.teaser {
  padding-bottom: 60px;
}
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.teaser-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.teaser-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.teaser-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.teaser-list b {
  color: var(--green);
}
.teaser-cta h3 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.teaser-cta .button,
.teaser-cta .preview-tag {
  margin-top: 6px;
}
.teaser-cta p + p {
  margin-top: 14px;
}
@media (max-width: 720px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .label-pill {
    font-size: 9px;
    padding: 3px 6px;
  }
}
