/* ===== SELLING (scoped) ===== */
.selling{
  background: rgba(43,32,26,.3);
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  border: 2px solid #000;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
}
.selling:hover{
  border: 3px solid rgba(46,55,70,.7);
  box-shadow: 0 0 10px var(--pink), 0 4px 8px rgba(0,0,0,.2);
  animation: pulseGlow 1.5s infinite alternate ease-in-out;
}

/* Box-Layout */
.sellbox{
  max-width: 100%;
  width: 850px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sellbox:hover{ background: rgba(43,32,26,.1); }

.sell-row{ display:flex; gap:20px; }

/* Text- und Bildboxen */
.txtbox{
  width: 75%;
  height: 220px;
  background: #3f5068;
  padding: 20px;
  border: 2px solid #000;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  word-wrap: break-word;
}
.txtbox[role="link"]{ cursor: pointer; }

.txtbox h1,.txtbox h2{
  font-size: clamp(14px,2vw,20px);
  margin: 5px 0;
  white-space: normal;
}

.jpgbox{
  width: 30%;
  height: 220px;
  background: #3f5068;
  padding: 20px;
  border: 2px solid #000;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.jpgbox img{
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  margin-top: 10px;
  opacity: .5;
  transition: opacity .2s ease, transform .2s ease;
}

/* ===== Glow bei Hover/Fokus auf der TXTBOX (nur im Selling-Scope) ===== */
@keyframes sellingPulse {
  0%   { box-shadow: 0 0 10px rgba(84,101,129,.35), 0 0 20px rgba(204,156,154,.28), 0 0 30px rgba(250,181,184,.22); }
  50%  { box-shadow: 0 0 15px rgba(250,181,184,.55), 0 0 30px rgba(204,156,154,.45), 0 0 45px rgba(84,101,129,.40); }
  100% { box-shadow: 0 0 20px rgba(84,101,129,.35), 0 0 30px rgba(204,156,154,.28), 0 0 40px rgba(250,181,184,.22); }
}

#selling-scope .sell-row.is-hover .jpgbox{
  animation: sellingPulse 1.5s infinite alternate ease-in-out;
}
#selling-scope .sell-row.is-hover .jpgbox img{
  opacity: 1;
  transform: translateY(-1px);
}

/* Desktop bleibt wie ist. Mobil: Boxen stapeln, Bild über Text oder umgekehrt */
@media (max-width: 980px){
  .sellbox{ width: 94%; }
  .sell-row{ gap: 14px; }
  .txtbox, .jpgbox{ height: auto; }
}
@media (max-width: 768px){
  .sell-row{
    flex-direction: column;       /* Stapeln */
    align-items: stretch;
  }
  .txtbox, .jpgbox{ width: 100%; }
  .jpgbox img{ max-height: 240px; }  /* verhindert zu hohe Bilder */
  .txtbox h1, .txtbox h2{ font-size: clamp(14px, 3.5vw, 18px); }
}

/* Hover->Glow auch per Touch (Focus) etwas großzügiger */
@media (hover: none){
  .jpgbox img{ opacity: .9; } /* etwas sichtbarer ohne Hover */
}

/* ----- Custom request reveal card (gleiche Optik wie deine Panels) ----- */
.custom-card{
  max-width: 980px;
  margin: 12px auto 0;
  padding: 22px;
  background: linear-gradient(180deg,#485363 0%,#4f5c6f 100%);
  border: 2px solid rgba(0,0,0,.65);
  border-radius: 18px;
  box-shadow:
    0 0 22px rgba(84,101,129,.35),
    0 0 44px rgba(204,156,154,.25),
    0 0 66px rgba(250,181,184,.18);
}

/* Grid */
.cr-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field{ min-width: 0; }
.field--full{ grid-column: 1 / -1; }

/* Labels & Inputs im Site-Look */
.cr-label{
  display:block; color:#f7d7d9; margin:6px 0 6px; letter-spacing:.2px;
}
.cr-input,
.cr-select{
  width:100%; box-sizing:border-box;
  padding:12px 14px;
  border-radius:14px;
  border:2px solid rgba(0,0,0,.55);
  background:rgba(0,0,0,.18);
  color:#ffe8e9;
  outline:none;
}
.cr-input::placeholder{ color:#cfd6de; opacity:.6; }

.cr-textarea{ resize:vertical; min-height:140px; }

.cr-select option,
.cr-select optgroup{
  background:#3f5068; color:#ffe8e9;
}
.cr-select option[disabled]{ color:#b6bdc7; }

/* Checkbox */
.cr-check{
  display:flex; gap:10px; align-items:center;
  padding:12px 14px; border-radius:14px;
  border:2px solid rgba(0,0,0,.55);
  background:rgba(0,0,0,.18); color:#ffe8e9;
}
.cr-check input{ transform:scale(1.2); margin:0; }

/* Feedback */
.cr-note{ color:#ffbcbc; text-align:center; margin-top:8px; min-height:22px; }

/* Responsive */
@media (max-width: 820px){
  .cr-grid{ grid-template-columns: 1fr; }
}
