/* TriaBloom shop — phone layout first, desktop adds columns at 900px.
   Visual language matches a real landing page: hero, feature cards, product cards. */

/* Phone-only. Desktop keeps the original top bar and hero from style.css. */
@media (max-width: 899px) {
.top-bar__pause,
.top-bar__links {
  display: none;
}

.top-bar__track {
  animation: none;
  display: block;
  text-align: center;
  width: 100%;
}

.top-bar__item {
  display: none;
}

.top-bar__item:first-child {
  display: block;
  white-space: normal;
  font-size: 0.78rem;
  line-height: 1.35;
}

.desk-nav {
  display: none;
}

.site-header .container {
  gap: 0.5rem;
}

.hero {
  display: block;
  min-height: 0;
  padding: 0 0 1.25rem;
  background: #f7f4ef;
  text-align: center;
}

.hero picture {
  display: block;
  width: 100%;
}

.hero__bg {
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.hero__overlay,
.hero__shapes,
.hero__badge,
.hero__title,
.hero__subtitle {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding: 1rem 1rem 0;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.hero__ctas .btn {
  width: 100%;
  max-width: none;
  min-height: 52px;
  justify-content: center;
}
}

.home-points {
  padding: 1.25rem 0;
}

.home-points__grid {
  display: grid;
  gap: 0.75rem;
}

.home-point {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}

.home-point h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--text-dark);
}

.home-point p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.45;
}

.home-shop .section-cta .btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.product-grid,
.product-grid--store,
.product-grid--related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-card__hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card__image {
  display: block;
  aspect-ratio: 1;
  background: var(--cream-dark);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.75rem 0.85rem;
}

.product-card__name {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-weight: 700;
  color: var(--terracotta-dark);
}

.home-close {
  background: var(--text-dark);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.home-close h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin: 0 auto 1.25rem;
  max-width: 18ch;
  line-height: 1.2;
}

.home-close .btn {
  min-height: 52px;
  min-width: min(100%, 280px);
  justify-content: center;
}

.product-detail__grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-detail__image {
  max-width: none;
}

.product-detail__buy .btn,
#stripePayBtn,
.checkout-form .btn,
.contact-form .btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.product-detail__alt {
  margin: 0.75rem 0 0;
  text-align: center;
}

.product-detail__cart-link {
  background: none;
  border: none;
  color: var(--terracotta-dark);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}

.pay-other {
  margin-top: 1rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.75rem;
}

.pay-other summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.pay-other a {
  color: var(--terracotta-dark);
  font-weight: 700;
}

.pay-other p {
  margin: 0.5rem 0 0;
  color: var(--text-mid);
}

.pay-dock {
  display: flex;
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -8px 24px rgba(58, 48, 40, 0.08);
}

.pay-dock span {
  font-weight: 700;
  font-size: 1.1rem;
}

.pay-dock .btn {
  min-height: 48px;
  min-width: 48%;
  justify-content: center;
}

.has-pay-dock {
  padding-bottom: 5.5rem;
}

.has-pay-dock .cart-summary__go,
.has-pay-dock .checkout-submit {
  display: none;
}

.footer-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .desk-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
  }

  .desk-nav a {
    font-weight: 600;
    color: var(--text-mid);
  }

  .desk-nav a[aria-current="page"],
  .desk-nav a:hover {
    color: var(--terracotta-dark);
  }

  .mobile-toggle {
    display: none !important;
  }

  .hero {
    min-height: 82vh;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .hero__content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero__ctas {
    align-items: center;
  }

  .hero__ctas .btn {
    width: auto;
    min-width: 240px;
  }

  .home-points__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .product-grid--store,
  .product-grid--related {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .home-shop .section-cta .btn {
    width: auto;
  }

  .product-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .product-detail__image {
    max-width: 550px;
  }

  .pay-dock {
    display: none;
  }

  .has-pay-dock {
    padding-bottom: 0;
  }

  .has-pay-dock .cart-summary__go,
  .has-pay-dock .checkout-submit {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 899px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .top-bar {
    padding: 0.28rem 0.6rem;
  }

  .site-header .container {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  section {
    padding: 1.15rem 0;
  }

  .section-header,
  .section-header__subtitle,
  .section-subtitle {
    margin-bottom: 0.7rem;
  }

  .section-tag {
    margin-bottom: 0.2rem;
  }

  .section-title,
  h2 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    line-height: 1.2;
  }

  .section-header__subtitle,
  .section-subtitle,
  .custom-cta p,
  .local-band__item p,
  .about-snippet p,
  .layby-step p,
  .coming-soon-card__badge {
    display: none;
  }

  .local-band {
    padding: 0.25rem 0;
  }

  .local-band__item {
    padding: 0.45rem 0;
    gap: 0.55rem;
  }

  .local-band__title {
    font-size: 1rem;
    margin: 0;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .coming-soon-card {
    padding: 0.65rem 0.4rem;
    border-radius: 12px;
  }

  .coming-soon-card__emoji {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
  }

  .coming-soon-card__name {
    font-size: 0.85rem;
    margin: 0;
  }

  .product-grid,
  .product-grid--store,
  .product-grid--related {
    gap: 0.5rem;
  }

  .product-card__body {
    padding: 0.4rem 0.45rem 0.5rem;
  }

  .product-card__name {
    font-size: 0.82rem;
  }

  .layby-steps {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .layby-step {
    padding: 0.55rem 0.4rem;
  }

  .layby-step__icon {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }

  .layby-step h4,
  .faq-item__q {
    font-size: 0.9rem;
    margin: 0;
  }

  .faq-item__q {
    padding: 0.65rem 0.75rem;
  }

  .faq-list {
    gap: 0.35rem;
  }

  .section-cta {
    margin-top: 0.75rem;
  }

  .about-snippet__team {
    margin: 0.6rem 0;
  }

  .page-header {
    padding: 1.15rem 0.85rem;
  }

  .site-footer {
    padding: 1.25rem 0 0;
  }

  .footer-grid {
    gap: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .footer-desc {
    margin-bottom: 0.4rem;
  }

  .wave-divider {
    height: 36px;
    margin-top: -1px;
  }

  .wave-divider svg {
    height: 36px;
  }
}

@media (max-width: 899px) {
  .category-grid,
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .category-card {
    padding: 0.7rem 0.45rem 0.75rem;
    border-radius: 12px;
  }

  .category-card__emoji,
  .category-card__icon {
    font-size: 1.45rem;
    margin-bottom: 0.3rem;
  }

  .category-card__title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 0;
  }

  .category-card__desc,
  .category-card__description,
  .category-card__link,
  .category-card__count {
    display: none;
  }
}
