/* ==========================================
   Pizza Rush - Shop & Upgrade Modal Styles
   ========================================== */

.shop-modal-card {
  width: min(640px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 16px;
  text-align: left;
}

.shop-header {
  border-bottom: 1px solid #ffffff20;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.shop-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-title-row h2 { font-size: 20px; margin: 0; }
.shop-balance { font-size: 15px; font-weight: 700; color: var(--gold); }

.shop-tabs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.tab-btn {
  background: #00000045;
  border: 1px solid #ffffff20;
  color: var(--cream);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn.active { background: var(--gold2); border-color: var(--gold); color: #fff; }

.shop-grid { overflow-y: auto; flex: 1; padding-right: 4px; }
.shop-section-heading { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.75; margin-bottom: 6px; }
.shop-cards { display: flex; flex-direction: column; gap: 8px; }

.shop-card {
  background: var(--panel2);
  border: 1px solid #ffffff15;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-card-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.shop-card-icon.default-icon { background: #00000045; }
.shop-card-info { flex: 1; }
.shop-card-name { font-weight: 800; font-size: 14px; }
.lvl-tag { font-size: 11px; background: #00000040; padding: 1px 6px; border-radius: 6px; margin-left: 4px; font-weight: normal; }
.shop-card-desc { font-size: 12px; opacity: 0.75; line-height: 1.2; margin-top: 2px; }

.shop-buy-btn {
  background: var(--green);
  border: 0;
  border-radius: 8px;
  padding: 6px 14px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.shop-buy-btn:hover:not(:disabled) { filter: brightness(1.1); }
.shop-buy-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.owned-badge { background: #2f9e4435; color: #69db7c; border: 1px solid #2f9e4450; }
.max-badge { background: #fab00535; color: #ffd43b; border: 1px solid #fab00550; }
.day-lock-badge { background: #00000045; color: #ced4da; border: 1px solid #ffffff15; }
.shop-footer { margin-top: 12px; display: flex; justify-content: flex-end; border-top: 1px solid #ffffff15; padding-top: 10px; }
