.my-plant-page {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 54px;
}

.my-plant-hero {
  background: linear-gradient(135deg, rgba(24, 78, 54, .95), rgba(57, 105, 72, .88));
  color: #fff;
  border-radius: 26px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: 0 18px 48px rgba(20, 45, 30, .18);
  overflow: hidden;
  position: relative;
}

.my-plant-hero:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.my-plant-hero > div {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.my-plant-kicker {
  margin: 0 0 8px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.my-plant-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  color: #fff;
}

.my-plant-hero p:last-child {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
  opacity: .95;
}

.my-plant-panel {
  margin-top: 22px;
  background: #fff;
  border: 1px solid rgba(38, 75, 47, .12);
  border-radius: 24px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 12px 34px rgba(24, 50, 35, .10);
}

.my-plant-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.my-plant-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.my-plant-label {
  color: #27442f;
  font-weight: 800;
  font-size: .88rem;
}

.my-plant-field select,
.my-plant-field input[type="number"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(38, 75, 47, .24);
  border-radius: 14px;
  background: #fbfbf6;
  padding: 0 14px;
  color: #26342b;
  font-size: 1rem;
  outline: none;
}

.my-plant-field select:focus,
.my-plant-field input[type="number"]:focus {
  border-color: rgba(24, 78, 54, .65);
  box-shadow: 0 0 0 4px rgba(24, 78, 54, .10);
}

.my-plant-field-switch {
  justify-content: flex-end;
}

.my-plant-switch {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.my-plant-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.my-plant-slider {
  position: relative;
  display: inline-flex;
  flex: 0 0 56px;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  background: #d8dccf;
  transition: background .18s ease;
}

.my-plant-slider:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
  transition: transform .18s ease;
}

.my-plant-switch input:checked + .my-plant-slider {
  background: #184e36;
}

.my-plant-switch input:checked + .my-plant-slider:before {
  transform: translateX(24px);
}

.my-plant-switch-text {
  color: #34433a;
  font-weight: 650;
  line-height: 1.25;
}

.my-plant-budget-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-plant-currency {
  min-width: 26px;
  color: #27442f;
  font-weight: 800;
}

.my-plant-results {
  margin-top: 26px;
}

.my-plant-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.my-plant-results-head h2 {
  margin: 0;
  color: #203629;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.my-plant-count {
  color: #647266;
  font-size: .95rem;
  text-align: right;
}

.my-plant-status {
  padding: 22px;
  border: 1px dashed rgba(38, 75, 47, .28);
  border-radius: 18px;
  background: #fbfbf6;
  color: #526054;
  text-align: center;
}

.my-plant-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.my-plant-card {
  background: #fff;
  border: 1px solid rgba(38, 75, 47, .12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(24, 50, 35, .10);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.my-plant-image {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f4ed;
  overflow: hidden;
}

.my-plant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.my-plant-card:hover .my-plant-image img {
  transform: scale(1.04);
}

.my-plant-image span {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(24, 78, 54, .92);
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .75rem;
  font-weight: 800;
}

.my-plant-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.my-plant-card-title-row {
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: space-between;
}

.my-plant-card h3 {
  margin: 0;
  color: #203629;
  font-size: 1rem;
  line-height: 1.25;
}

.my-plant-sku {
  flex: 0 0 auto;
  background: #f1eadb;
  color: #604427;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: .72rem;
  font-weight: 800;
}

.my-plant-attributes {
  color: #627066;
  font-size: .85rem;
  line-height: 1.35;
}

.my-plant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.my-plant-meta span {
  background: #eef3e8;
  color: #314737;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: .78rem;
  font-weight: 750;
}

.my-plant-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.my-plant-price {
  color: #184e36;
  font-size: 1.05rem;
  font-weight: 900;
}

.my-plant-price:empty {
  display: none;
}

.my-plant-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  background: #184e36;
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.my-plant-button:hover {
  filter: brightness(1.08);
}

@media (max-width: 1100px) {
  .my-plant-filter-grid,
  .my-plant-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .my-plant-page {
    width: min(100% - 20px, 1180px);
    margin-top: 16px;
  }

  .my-plant-filter-grid,
  .my-plant-cards {
    grid-template-columns: 1fr;
  }

  .my-plant-results-head {
    align-items: start;
    flex-direction: column;
  }

  .my-plant-count {
    text-align: left;
  }

  .my-plant-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .my-plant-image {
    height: 100%;
    aspect-ratio: auto;
  }

}

.my-plant-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.my-plant-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(24, 78, 54, .18);
  border-top-color: #184e36;
  border-radius: 50%;
  display: inline-block;
  animation: myPlantSpin .75s linear infinite;
}

@keyframes myPlantSpin {
  to { transform: rotate(360deg); }
}

/* Status-Box wirklich ausblenden, auch wenn die Klasse display:flex setzt. */
.my-plant-status[hidden] {
  display: none !important;
}
