﻿/* Medusa shelf / ATC */
.shelf-empty { opacity: 0.75; max-width: 36rem; margin: 1.5rem 0; }

/* Flower PDP buy stack: In stock â†’ Size â†’ $$ â†’ ATC (tight under pill) */
.pdp-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.pdp-buy .stock-pill { margin: 0; }
.pdp-buy .pdp-purchase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0;
}
.pdp-buy-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.pdp-purchase { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 0.5rem; }
.pdp-price { font-weight: 700; font-size: 1.25rem; margin: 0; }
.size-chip.is-unavailable { opacity: 0.45; text-decoration: line-through; text-decoration-thickness: 1px; }
/* Selected sold-out size: grey outline, no lime (lime only means buyable) */
.size-chip.is-unavailable.is-selected { background: transparent; color: var(--fg); border-color: #9a9a9a; box-shadow: none; opacity: 0.75; }
/* Sold-out size selected: grey disabled buy button, never lime (light theme already greys disabled ATC) */
.pm-add-cart.is-sold-out:disabled { background: #2a2a2a; border-color: #3a3a3a; color: #9a9a9a; box-shadow: none; filter: none; transform: none; opacity: 1; }
.pm-add-hint { font-size: 0.875rem; opacity: 0.75; margin: 0; }

/* -  - strain info + flavor side by side -  - */
.pdp-sections-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pdp-sections-row {
    flex-direction: row;
    gap: 2.5rem;
  }
  .pdp-sections-row .pdp-section {
    flex: 1;
    min-width: 0;
    max-width: 50%;
  }
}

/* Cart line thumbs - square left of name/size/$$ */
.cart-line-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.cart-line-thumb {
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #141414;
  border: 1px solid #2a2a2a;
}
.cart-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-line-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}
.cart-line-main { min-width: 0; flex: 1; }
.cart-line-size {
  margin: 0 0 0.2rem;
  color: #9a9a9a;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Polish: text Remove link (no trash icon) */
.cart-line-remove {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #e53935;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cart-line-remove:hover {
  color: #ff5252;
  background: rgba(229, 57, 53, 0.1);
}
.cart-line-remove:disabled { opacity: 0.4; cursor: not-allowed; }

/* Back to Shop sits below checkout CTA (full width) */
a.cart-continue {
  text-decoration: none;
  box-sizing: border-box;
}

/* Flower page: Back to Shop above genetics */
.flower-back-shop {
  margin: 0 0 1rem;
}
.flower-back-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
